Pages: 12

  2008-02-03 04:39:50

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

[b]Live Preview:[/b] [url=http://profiles.friendster.com/shakiro][sub]drink me[/sub][/url] [b]Print Screen:[/b] [img]http://h1.ripway.com/shakiro214/affiliates/ipod.JPG[/img] =| I wouldn't recommend

[b]Live Preview:[/b] [url=http://profiles.friendster.com/shakiro][sub]drink me[/sub][/url] [b]Print Screen:[/b] [img]http://h1.ripway.com/shakiro214/affiliates/ipod.JPG[/img] =| I wouldn't recommend this for profiles that have double boxes in either IE or FF. Better to fix that problem 1st before attempting at this one. [b]Step 0[/b] - Save a backup file of your current js. This is just common sense, but I'll mention it anyway :D :thumbsup: [b][u]NOW BEGIN THIS 4-STEP TUTORIAL[/u][/b] [b]Step 1[/b] - these are the variables & functions you'll need. copy & paste them in your js: <">edit your playlist in this part of the shuffle function: [quote]mtv = new Array(); mtv[0]="http://www.youtube.com/v/[b]BpmGUJqK7-Y[/b]&autoplay=1"; mtv[1]="http://www.youtube.com/v/[b]HA9ffaWRsn8[/b]&autoplay=1"; mtv[2]="http://www.youtube.com/v/[b]vc6vs-l5dkc[/b]&autoplay=1";[/quote] replace the bold, with your choice of youtube video ids [b]Step 2[/b] - Put the following code in an onload handler <">[b]Step 3[/b] - add this variable to your profile using onload handler & addBox: <">this part depends on the kind of addBox function you use. It might look like this: [quote]var embedder="blahblahblah... "</span><br><br></form></div>"; [b]addBox("RIGHT","Lame Title",embedder,"embedder","2");[/b][/quote] [b]Step 4[/b] - immediately after your addBox for this, use function shuffle(); and use it inside the onload handler -example- [quote]var sndbox="blahblahblah... "</span><br><br></form></div>"; addBox("RIGHT","Lame Title",sndbox,"sndbox","2"); [b]shuffle();[/b] ...[/quote] if the instructions seems too difficult, here's Steps 2-4 in a premade setTimeout example. You can use this. It has it's own addBox function :retard: <">[b]notes:[/b] * The sound may disappear in IE when switching back & forth from full screen while a video is playing. To bring back the sound, simply click on an area on the progress bar or click reload. * To have a semi-transparent fullscreen like mine, simply add the following to the style attribute found on the td in the [b]liar[/b] variable [quote]filter:alpha(opacity=90);-moz-opacity:0.9;[/quote] [b]credits: me[/b] [img]http://h1.ripway.com/shakiro/69.gif[/img] yay! and the... [img]http://img524.imageshack.us/img524/1418/101625ns.gif[/img] [b]hammer of justice![/b] :cool: :thumbsup:

Pages: 12

Board footer

© 2024 F Talk

Current time is 12:20

[ 12 queries - 0.022 second ]
Privacy Policy