Pages: 1

  2008-07-11 10:35:50

Refresh/Reload
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

Credits::thumbsup: :arrow: Cradle - for the linker :arrow: Lordheinz, Shirow, marfillaster, etc. - for WVM :arrow: Switpotato - for conversion of CSS to js :arrow: Shakiro214- for dual codes for FF a

hmm it's more like to load different js extension ayt? one for IE and one for Fx like podo's post... (i'm also using one) but the best part in it is that you can randomly load different js extension/layout for each browser... am i right? heheh that's a nice trick by shakiro then!! \m/ =D and thanx for posting it m0g0l... :thumbsup: and if i'm right... just a suggestion... better add that you can put different js extension/layouts on each to fully use the concept of the codes... [b]EX:[/b] lagann = new Array(); lagann[0]="http://h1.ripway.com/username/fs/linker/IElayout[b]1[/b].js"; lagann[1]="http://h1.ripway.com/username/fs/linker/IElayout[b]2[/b].js"; lagann[1]="http://h1.ripway.com/username/fs/linker/IElayout[b]3[/b].js"; coz you can just use podo's codes if you're just going to use only one js extension for IE and also only one for FX ... podo's code [quote]var podo = document.createElement("script"); var browser=navigator.appName; var mic="Microsoft Internet Explorer"; if (browser==mic){ podo.type = "text/javascript"; podo.src = "INSERT UR IE URL HERE"; document.getElementsByTagName("head")[0].appendChild(podo); } else { podo.type = "text/javascript"; podo.src = "INSERT UR FIREFOX URL HERE"; document.getElementsByTagName("head")[0].appendChild(podo); }[/quote] or what i'm using... [quote]if (navigator.appName == "Microsoft Internet Explorer") { var IEscript = document.createElement("script"); IEscript.type = "text/javascript"; IEscript.src = "INSERT UR IE URL HERE"; document.getElementsByTagName("head")[0].appendChild(IEscript); } else { var FXscript = document.createElement("script"); FXscript.type = "text/javascript"; FXscript.src = "INSERT UR FIREFOX URL HERE"; document.getElementsByTagName("head")[0].appendChild(FXscript); }[/quote] just a suggestion bro coz i think the codes trick is very cool!! :eh: :D

Last edited by Refresh/Reload (2008-07-11 11:16:58)

Pages: 1

Board footer

© 2025 F Talk

Current time is 23:02

[ 12 queries - 0.016 second ]
Privacy Policy