image marquee thing.., sort of like that, doesnt work |
image marquee thing.., sort of like that, doesnt work |
Apr 19 2005, 06:30 AM
Post
#1
|
|
![]() Apr 24 '05* 1000 posts! ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,184 Joined: Oct 2004 Member No: 56,049 |
here's how its written on my xanga.. it doesnt work!
plz help. |
|
|
|
![]() |
Apr 20 2005, 12:07 AM
Post
#2
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 |
this is why..
keep your main focus on the bold parts. QUOTE <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <script> titleContent = 'Pictures'; moduleContent = '<script type='text/javascript'> // image slideshow by micron // for more xanga scripts and help go to createblog.com // set slideshow speed in seconds var speed = 2; // set transition duration in seconds (only for ie 5.5+) var duration = 1; // set transition effect (only for ie 5.5+) var transition = 'progid:DXImageTransform.Microsoft.Fade(Duration='+duration+')'; var images = new Array(); // url to your images images[0] = 'http://mpg.cc/thomas-bday-party/thomas-bday-003_large.jpg'; images[1] = 'http://mpg.cc/lori-randompics/sat-soccer-017_large.jpg'; images[2] = 'http://mpg.cc/lori-randompics/picture-191_large.jpg'; images[3] = 'http://mpg.cc/lori-randompics/scan0005_large.jpg'; images[4] = 'http://mpg.cc/lori-randompics/us_large.jpg'; images[5] = 'http://mpg.cc/lori-randompics/bangkok-trip-024_large.jpg'; // do not edit anything below this line var preload = new Image(); for (var i = 0; i < images.length; i++) { preload[i] = new Image(); preload[i].src = images[i]; } document.write('<img src='+preload[0].src+' name="slideShow">'); var j = 0; function run() { if (document.all) { document.images.slideShow.style.filter=transition; document.images.slideShow.filters[0].Apply(); } document.images.slideShow.src = preload[j++].src; if (document.all) { document.images.slideShow.filters[0].Play(); } if (j == images.length) { j = 0; } setTimeout('run()', speed * 1000); } </script> <body onload='run()'> <!-- end code provided by createblog.com -->'; sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent) sub.insertAdjacentHTML('beforeBegin','<BR>'); </script> <!-- end code provided by createblog.com --> it's like saying the apstrophe's are quotes, and since there are more, the code seems to think it ends at the first apstrophe it sees. QUOTE moduleContent = '<script type='text/javascript'> The bolded part is what it sees the module content is. And the rest, they're just unneeded and there so it messes up the quotes. so try using quotation marks for the image links and that.. |
|
|
|
bad_girl image marquee thing.. Apr 19 2005, 06:30 AM
niez_cho What do you mean it doesn't work?
The pics don... Apr 19 2005, 06:42 AM
YaWeaveIzOnFiyah You probably have a module that doesn't suppor... Apr 19 2005, 05:14 PM
shortvi3tlaydee which script is that extra module or extra right m... Apr 19 2005, 10:12 PM
bad_girl huh?? i have no clue wt that meant.. do u think ne... Apr 20 2005, 04:23 AM
fishcake-y A.) Does that slideshow even work anymore? It util... Apr 20 2005, 09:37 AM
bad_girl i dont know.. arghh. maybe i should give up? will ... Apr 22 2005, 04:42 AM![]() ![]() |