Pages: 1123456789101112..12

  2008-02-22 00:37:00

shakiro214
» FTalkGeek
FTalk Level: zero
1188
0
1969-12-31

Re: [b]Permission to start a new thread granted[/b] :D :thumbsup: tnx xave [quote=xavierkym]Ow. Okei. But anyway, just make a new thread bro. =| My internet is so slow at this moment.. I think because s

[b]@xjOhncarLOx[/b] =| on merging the 2 onload handlers into one, try this... the functions [b]embed[/b] and [b]vslide[/b] both contain codes that need onload handler. take the codes inside the brackets {...codes...} of [b]function vslide[/b] and put it into the brackets {...here...} of [b]function embed[/b]. now delete [b]function vslide() {}[/b] since it is now empty. In the following example your vslide codes are just below your [b]function embed()[/b] codes =) the js will execute from the 10 second [b]setTimeout[/b] placed at the end. [b]-combined handler example-[/b] <">if the timeout is what makes your js work, then I think it should be safe to remove the this part: [quote]if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};[/quote] I hope that helps ;)

Last edited by shakiro214 (2008-02-22 00:38:58)

Pages: 1123456789101112..12

Board footer

© 2024 F Talk

Current time is 06:01

[ 12 queries - 0.025 second ]
Privacy Policy