Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

issues with my cross fade slideshow :( 1

Status
Not open for further replies.

vr100

Technical User
Jun 18, 2010
9
0
0
US
I have an "jpeg slideshow" on a HTML page created using Javascript. It works fine in Firefox, Chrome & Safari but loads slowly in Seamonkey and does not load at all in Internet Explorer. The slideshow does have 46 images .... Is that a problem ?


Here is the page on the website:
Here is the code with the Javascript enabled "jpeg slideshow":


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Victor Rossi - Private Label and Couture</title>
<style type="text/css">
body { background-color:#FFF; margin-top:0; margin-left:0;
/*bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" */
}
p { color:#808080; font-size:medium;
/*font color= size=3 */
}
td {color:#808080; }
#center{text-align:center; font-weight:bold;}
#table {position:absolute; margin-left:25%;
}
#menu, #logo {text-align:center; }
#menu {font-weight:bold; }
#img {height:400px; width:auto; }
</style>
<script type="text/javascript" src="<script type="text/javascript" src="</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1",
dimensions: [700, 400],
imagearray: [
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
["],
],
displaymode: {type:'auto', pause:500, cycles:0, wraparound:false},
persist: false,
fadeduration: 500,
descreveal: "ondemand",
togglerid: ""
})
</script>
</head>
<body >
<center>
<img id="display" src="VR-logo.jpg" width="157px" height="33px"><br>
<b>
<a href="home.htm">Home</a> |
<a href="catalog.htm">Catalog</a> |
<a href="gallery.htm">Fashion Gallery</a> |
<a href="size.htm">Size Chart</a> |
<a href="media.htm">In the Media</a> |
<a href="about.htm">About Us</a> |
<a href="contact.htm">Contact</a>
</b>
<p><hr width=50%><p>
<table cellspacing=0 cellpadding=0 width="702" border=0>
<tr>
<td valign=top>
<id="center"><b>Victor Rossi has evolved from its custom couture design roots into one of the world's most reliable design houses, private label
manufacturers and global sourcing agents. Our combination of innovation, stellar craftsmanship, exceptional customer and client care are our hallmarks.</b>
<div id="fadeshow1"></div>
<p><hr width=25%><p>
</td></tr>
<tr><td align=center>
<FORM METHOD=POST ACTION="<b><font color=#808080 size=3>Join the Victor Rossi mailing list !</b></font><br>
<table border=0>
<tr><td><font color=#808080>name:<BR>
e-mail: <BR></td>
<td><INPUT size=27 name="name"><br>
<INPUT size=27 name="e-mail"></font></td></tr>
<tr><td colspan=2 align=center><INPUT type=submit value="Submit to Victor Rossi">
<INPUT NAME=subject TYPE=HIDDEN VALUE="e-mail list">
<input type="hidden" name="required_fields" value="name,e-mail">
<input type="hidden" name="next_url" value="</FORM>
</td></tr>
</table>
</td></tr>
</table>
</center>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --><!-- Counter/Statistics data collection code --><script language="JavaScript" src=" language="javascript">geovisit();</script><noscript><img id="display" src=" alt="setstats" border="0" width="1" height="1"></noscript>
 
Assuming your issue is just with IE8, remove the "," after your last image, and it should work there.

Code:
...
		["[URL unfurl="true"]http://www.victorrossi.com/44.jpg"[/URL]],
		["[URL unfurl="true"]http://www.victorrossi.com/45.jpg"[/URL]],
		["[URL unfurl="true"]http://www.victorrossi.com/46.jpg"[/URL]][COLOR=yellow red][b],[/b][/color]
],
displaymode: {type:'auto', pause:500, cycles:0, wraparound:false},
persist: false,
fadeduration: 500,

...

By the way: I got the tip from a thread over at Dynamic Drive the publishers of the Fade script:

As far as Seamonkey goes, it is possible its having trouble with the many images. Try removing some, and see if it loads any faster.



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Thanks Vacunita !

I tend to always add / delete a comma somewhere or accidentally add / delete a [.

thanks ! It works now in all browsers :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top