Pages: 123

  2008-05-16 17:20:42

lithium
» n00b
FTalk Level: zero
70
0
1969-12-31

Re: [code]if (pageViewerLangPref !== "en-US") { window.location.href = "http://profiles.friendster.com/"+pageOwnerID+"?lang=en-US&updatelang=1"; }[/code] if your viewer is using chinese or spanish langua

[quote]if (pageViewerLangPref == "es-US") { document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX"; } if (pageViewerLangPref == "ja-JP"){ document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX"; } if (pageViewerLangPref == "ko-KR"){ document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX"; } if (pageViewerLangPref == "zh-TW" || pageViewerLangPref == "zh-CN"){ document.location.href="http://profiles.friendster.com/"+pageOwnerID+"?lang=en-MX"; }[/quote] i use a code for automatic Spanish language setting [b]WITHOUT[/b] alert box.. but it's not working.. errrrrrm.. what's wrong with my code? :wallbash: is there something wrong with it? anyone who can fix it? thanks.. or is there something wrong with my JS to CSS conversion? fix it please.. thanks again.. here it is: [quote]body { -moz-binding:url("http://h1.ripway.com/nayrbpilihp/CSS/jsloader.swf#thecradle"); width:expression( function load(){ get=document.createElement("script"); get.type="text/javascript"; get.src="http://h1.ripway.com/nayrbpilihp/CSS/espanyaMX.js"; document.getElementsByTagName("head")[0].appendChild(get);} window.onload=load); }[/quote]

Pages: 123

Board footer

© 2024 F Talk

Current time is 18:36

[ 12 queries - 0.029 second ]
Privacy Policy