Pages: 12345

  2008-03-17 15:49:27

switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: this will lessen if not totally resolve those codes conflicting issues.. [color=red][b]tricks number 1: good for those who have multiple ONLOAD function[/b][/color] this is the oldest compiling tric

for those who have a problem ... [b]with loader plus wvm[/b].. since this 2 script has onload function do the ff... just compile ur codes like this... eg: [quote]scriptFolder = 'ROOT FOLDER URL HERE' scripts = new Array() scripts[0] = 'loader.js' scripts[1] = 'tracker.js' scripts[2] = 'scrollsubnav.js' scripts[3] = 'scrollphoto.js' scripts[4] = 'reposition.js' scripts[5] = 'addbox.js' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)}[/quote] sample just refresh the page: http://profiles.friendster.com/64508247# the loader i use is the one i posted here oki... for IE only... no need for css injects since the loader got one already...

Last edited by switpotato (2008-03-17 15:50:37)

Pages: 12345

Board footer

© 2024 F Talk

Current time is 11:21

[ 12 queries - 0.019 second ]
Privacy Policy