E

사용자 웹브라우저의 디폴트 언어에 따라 리다이렉트 시키기

· 2006-05-11 (목) 10:50:27 · 2872
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;

/*-------------------------------------------------------------
Netscape instructions:
In Netscape, find the language you want to redirect by going to

Edit Menu --> Preferences...

Then click the '+' box next to 'Navigator' and click 'Languages'
Click 'Add' then find the languages you want and add them below.

---------------------------------------------------------------

Microsoft Internet Explorer instructions:
In MSIE, find the language you want to redirect by going to

Tools Menu --> Internet Options...

Then click the 'Languages' button near the bottom of the page.
Click 'Add' then find the languages you want and add them below.

-------------------------------------------------------------*/

if (language.indexOf('en') > -1) document.location.href = 'English.html';
else if (language.indexOf('nl') > -1) document.location.href = 'dutch.html';
else if (language.indexOf('fr') > -1) document.location.href = 'french.html';
else if (language.indexOf('de') > -1) document.location.href = 'german.html';
else if (language.indexOf('ja') > -1) document.location.href = 'japanese.html';
else if (language.indexOf('it') > -1) document.location.href = 'italian.html';
else if (language.indexOf('pt') > -1) document.location.href = 'portuguese.html';
else if (language.indexOf('es') > -1) document.location.href = 'Spanish.html';
else if (language.indexOf('sv') > -1) document.location.href = 'swedish.html';
else if (language.indexOf('zh') > -1) document.location.href = 'chinese.html';
else
document.location.href = 'English.html';
// End -->
</script><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
06-05-01 조회 3,073
06-05-01 조회 3,065
06-05-01 조회 3,224
06-05-01 조회 4,373
06-05-01 조회 4,232
06-04-30 조회 4,053
06-04-30 조회 3,720
06-04-29 조회 3,810
06-04-29 조회 3,472
06-04-29 조회 3,526
06-04-29 조회 2,731
06-04-29 조회 3,410
06-04-29 조회 3,782
06-04-29 조회 3,772
06-04-29 조회 4,080
06-04-29 조회 3,915
06-04-29 조회 2,835
06-04-29 조회 2,951
06-04-29 조회 3,907
06-04-28 조회 3,299
06-04-28 조회 5,163
06-04-28 조회 3,692
06-04-28 조회 3,481
06-04-28 조회 4,681
06-04-28 조회 4,310
06-04-28 조회 3,428
06-04-27 조회 4,223
06-04-27 조회 3,417
06-04-26 조회 4,292
06-04-26 조회 4,668
06-04-25 조회 6,382
06-04-25 조회 4,287
06-04-25 조회 4,247
06-04-25 조회 3,877
06-04-25 조회 3,587
06-04-25 조회 3,878
06-04-25 조회 3,625
06-04-25 조회 3,713
06-04-25 조회 3,499
06-04-25 조회 3,859
06-04-25 조회 4,154
06-04-24 조회 4,430
06-04-24 조회 8,228
06-04-24 조회 6,339
06-04-24 조회 3,606
06-04-24 조회 6,325
06-04-24 조회 4,289
06-04-22 조회 3,643
06-04-22 조회 3,338
06-04-20 조회 4,755
06-04-20 조회 4,092
06-04-19 조회 4,448
06-04-19 조회 4,035
06-04-19 조회 4,614
06-04-18 조회 3,930
06-04-18 조회 4,645
06-04-18 조회 3,585
06-04-17 조회 5,227
06-04-17 조회 4,492
06-04-14 조회 5,297
06-04-13 조회 4,646
06-04-13 조회 4,243
06-04-13 조회 4,487
06-04-12 조회 3,576
06-04-11 조회 3,943
06-04-09 조회 3,449
06-04-08 조회 4,829
06-04-03 조회 5,855
06-03-30 조회 4,889
06-03-29 조회 2,851
06-03-27 조회 3,917
06-03-25 조회 3,550
06-03-24 조회 3,714
06-03-23 조회 5,603
06-03-21 조회 3,720
06-03-17 조회 4,258
06-03-17 조회 4,112
06-03-15 조회 4,760
06-03-15 조회 4,720
06-03-14 조회 2,960
06-03-11 조회 3,331
06-03-06 조회 3,917
06-03-06 조회 3,559
06-03-06 조회 5,518
06-03-06 조회 4,441
06-03-05 조회 5,224
06-03-04 조회 3,735
06-03-03 조회 3,590
06-03-03 조회 4,049
06-03-01 조회 3,553
06-02-24 조회 3,844
06-02-24 조회 3,559
06-02-23 조회 4,246
06-02-22 조회 2,769
06-02-22 조회 4,073
06-02-22 조회 3,375
06-02-22 조회 3,280
06-02-22 조회 3,374
06-02-19 조회 3,720
06-02-19 조회 3,192