E

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

· 2006-05-11 (목) 10:50:27 · 2806
<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,188건
+
제목 글쓴이 날짜 조회
10-09-25 조회 2,734
10-09-19 조회 2,771
10-09-15 조회 2,768
10-09-15 조회 4,172
10-09-15 조회 3,404
10-09-15 조회 2,500
10-09-07 조회 3,621
10-08-27 조회 4,075
10-06-11 조회 4,260
10-05-31 조회 2,499
10-02-27 조회 5,018
10-02-09 조회 3,766
09-10-10 조회 7,351
09-03-19 조회 3,216
09-02-09 조회 3,485
09-02-09 조회 4,543
08-11-01 조회 2,924
08-09-29 조회 4,573
08-09-26 조회 3,521
08-09-26 조회 3,595
08-09-26 조회 2,730
08-09-26 조회 3,774
08-09-26 조회 3,501
08-09-26 조회 4,266
08-09-18 조회 3,596
08-09-09 조회 3,240
08-08-28 조회 2,784
08-07-06 조회 3,552
08-05-21 조회 4,716
08-05-13 조회 4,550
08-04-17 조회 4,929
08-02-19 조회 3,549
08-01-18 조회 3,855
08-01-10 조회 3,829
07-10-22 조회 3,660
07-10-09 조회 4,318
07-10-03 조회 3,527
07-07-06 조회 4,221
07-07-06 조회 4,434
07-07-06 조회 4,040
07-06-28 조회 3,584
07-06-05 조회 3,588
07-06-05 조회 4,131
07-05-30 조회 3,301
07-05-02 조회 3,690
07-04-15 조회 5,162
07-04-11 조회 3,640
07-04-05 조회 3,937
07-03-31 조회 3,160
07-03-31 조회 4,136
07-03-30 조회 3,743
07-03-24 조회 4,009
07-03-22 조회 3,668
07-03-12 조회 4,419
07-02-16 조회 3,283
07-02-14 조회 5,173
07-02-10 조회 4,005
07-02-09 조회 4,393
07-01-19 조회 4,057
07-01-16 조회 4,986
06-12-16 조회 5,852
06-11-30 조회 3,607
06-11-25 조회 3,714
06-10-15 조회 5,078
06-09-26 조회 5,324
06-09-26 조회 5,435
06-09-22 조회 4,288
06-09-21 조회 3,554
06-09-21 조회 3,653
06-09-02 조회 3,494
06-08-08 조회 5,124
06-07-20 조회 3,743
06-07-17 조회 3,372
06-07-13 조회 4,193
06-07-11 조회 3,488
06-07-11 조회 3,496
06-07-11 조회 3,857
06-06-29 조회 6,077
06-06-19 조회 6,468
06-06-02 조회 3,521
06-05-24 조회 5,005
06-05-14 조회 7,787
06-05-08 조회 3,913
06-02-02 조회 5,470
05-12-16 조회 4,523
05-12-05 조회 5,173
05-06-28 조회 4,130
05-04-11 조회 4,081
05-04-11 조회 4,261
05-04-11 조회 3,328
05-03-13 조회 3,228
05-03-12 조회 4,306
04-12-08 조회 7,786
04-12-01 조회 5,203
04-11-28 조회 3,379
04-11-28 조회 3,218
04-08-05 조회 5,633
04-08-05 조회 4,983
04-08-05 조회 5,593