Log In · Register

 
 
Closed TopicStart new topic
image marquee thing.., sort of like that, doesnt work
bad_girl
post 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.
 
gelionie
post Apr 19 2005, 06:42 AM
Post #2


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



What do you mean it doesn't work?
The pics don't show up or what?
 
YaWeaveIzOnFiyah
post Apr 19 2005, 05:14 PM
Post #3


most definitely.
****

Group: Member
Posts: 284
Joined: Feb 2005
Member No: 103,416



You probably have a module that doesn't support HTML..which also doesn't support Javascript either. You should use a custom module script from the script section.

Look & Feel -


Web Stats -
 
shortvi3tlaydee
post Apr 19 2005, 10:12 PM
Post #4


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



which script is that extra module or extra right module?
 
lovescream
post Apr 20 2005, 12:07 AM
Post #5


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
post Apr 20 2005, 04:23 AM
Post #6


Apr 24 '05* 1000 posts!
******

Group: Member
Posts: 1,184
Joined: Oct 2004
Member No: 56,049



huh?? i have no clue wt that meant.. do u think neone could help me type out the script n what i got wrong.. please?
 
talcumpowder
post Apr 20 2005, 09:37 AM
Post #7


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



A.) Does that slideshow even work anymore? It utilizes the set timeout function.
B.) That module will only support adjacent HTML.
C.) I suggest you use this module or replace all your modules.
[ http://www.xanga.com/home.aspx?user=kaiyot...363&direction=p ]
 
bad_girl
post Apr 22 2005, 04:42 AM
Post #8


Apr 24 '05* 1000 posts!
******

Group: Member
Posts: 1,184
Joined: Oct 2004
Member No: 56,049



i dont know.. arghh. maybe i should give up? will it never work again?
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: