Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-04-2005, 12:46 AM   PM User | #1
mvuser
New to the CF scene

 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mvuser is an unknown quantity at this point
Unhappy Multiple Slide Shows on same page

I found a pretty cool script on this site ealier ref:

http://www.fond-regards.com/Slidesho...leWindows.html (final result)
http://www.codingforums.com/archive/index.php/t-23361 (forum)

I am a newbie and my deadline is tomorrow. I was trying to use the script to do something similar.
I need at least 11 slide shows on the same page. but the script doesn't seems to work. What Am I doing wrong? see page http://www.segelpodiatry.com/slideshowpage.html. (this is a not the images that I would be using for the final product - it's just to make the troubleshooting easier.)

Thank for your help

Last edited by mvuser; 03-04-2005 at 03:50 AM..
mvuser is offline   Reply With Quote
Old 03-04-2005, 08:00 AM   PM User | #2
codegoboom
Regular Coder

 
Join Date: Aug 2004
Location: codegoboom@yahoo.com
Posts: 999
Thanks: 0
Thanked 0 Times in 0 Posts
codegoboom is an unknown quantity at this point
Quote:
Originally Posted by mvuser
What Am I doing wrong?
Besides forgetting to describe the problem, I'm not sure... but maybe you should try using like-URL's:

Code:
var slide1 = new  SlideShow('location',3000,30); 
slide1.setPics("segel-concept2_12.gif","images/services.jpg"); 


<img  name="location" src="images/segel-concept2_12.gif" width="164"  height="35" border="1">
__________________
*this message will self destruct in n-seconds*
codegoboom is offline   Reply With Quote
Old 03-04-2005, 12:48 PM   PM User | #3
mvuser
New to the CF scene

 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mvuser is an unknown quantity at this point
Each of the 11 images is supposed to rotate from the image called
images/segel-concept2_12.gif" to "images/services.jpg"

var slide2 = new SlideShow(home',3000,30);
slide2.setPics("images/segel-concept2_12.gif","images/services.jpg">

var slide 3....-11

<body onLoad="slide1.runSlideShow('slide1');slide2.runSlideShow('slide2');...">

Last edited by mvuser; 03-04-2005 at 12:54 PM..
mvuser is offline   Reply With Quote
Old 03-04-2005, 01:06 PM   PM User | #4
codegoboom
Regular Coder

 
Join Date: Aug 2004
Location: codegoboom@yahoo.com
Posts: 999
Thanks: 0
Thanked 0 Times in 0 Posts
codegoboom is an unknown quantity at this point
OK... so, did it work at one point and then fail somewhere along the way to adding eleven count, or did you not start with a working script?

Try finding the point at which it breaks...
__________________
*this message will self destruct in n-seconds*
codegoboom is offline   Reply With Quote
Old 03-04-2005, 03:38 PM   PM User | #5
mvuser
New to the CF scene

 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mvuser is an unknown quantity at this point
another example

The code is working fine on this page
http://www.fond-regards.com/Slidesh...pleWindows.html

here is another example with my 11 slide shows not working.

http://www.sollittoassociates.com/features3.php

Only the first one is working I use php include to call each individual property (see code of one of them below)
<? include("intownedgartown.shtml"); ?>
<? include("westchopwaterviews.shtml"); ?>
<? include("deepbottom.shtml"); ?>
<? include("historicwilliamstreet.shtml"); ?>
<? include("westtisbury.shtml"); ?>
<? include("capecountry.shtml"); ?>
<? include("incomeproducer.shtml"); ?>
<? include("serenewesttisbury.shtml"); ?>
<? include("vineyardhills.shtml"); ?>
<? include("minuteswesttisbury.shtml"); ?>


code:
<table width="560" border="0">
<tr>
<td colspan="2">
<div align="center"><img src="images/hdiv.jpg" width="558" height="34"><br>
<b class="strong">IN-TOWN EDGARTOWN</b><span class="strong"><b><br>
</b></span></div>
</td>
</tr>
<tr>
<td>
<div align="center"><img src="images/features/intown-edg/house.jpg" width="250" height="179" border="1"></div>
</td>
<td>
<div align="center"><img name="intownedgartown" src="images/features/intown-edg/shed.jpg" width="250" height="179" border="1"></div>
</td>
</tr>
<tr>
<td colspan="2"><span class="text"><br>
Located at #56 South Water Street, this stately 1835..
</td>
</tr>
</table>


internet explorer error is "document.images[...] style' is null or not an object line 44 char4"
mvuser is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:20 PM.


Advertisement
Log in to turn off these ads.