PDA

View Full Version : Step Carousel Viewer Not Working on Homepage...



JenniferS
12-07-2009, 08:00 PM
1) Script Title: Step Carousel Viewer v1.8

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem: The slider functions properly on it's own independent "test page" (http://swansonstone.com/testpage3.html), but does NOT function at all when inserted into the proper places of the homepage (http://swansonstone.com/index.html)

I copied and pasted from the test page right over to the index page; the code is the same on both pages. The "head" portion is in the head on both, and the "body" is in the body on both.

I am using NVU 1.0 to edit, Fetch 5.2.1 to upload, and working on a Mac running OS10.4.11

What is going on? Is there code interfering? I don't think I have any other javascripts running (as per the "questions we don't answer")... but who knows, as I used a template. I didn't see any. If I do, just let me know... I don't expect any answers if so!

Thanks so much!

jscheuer1
12-08-2009, 05:40 AM
There could be other problems. But this has to be fixed first and might be the only problem - On your index page (from its source code), you have:


<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
<script type="text/javascript"
src="stepcarousel.js">
/***********************************************
* Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>


I've highlighted the opening and closing script tags as seen/parsed by the browser. The stepcarousel.js file is not associated with that page. It should look more like so:


<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
</script>
<script type="text/javascript"
src="stepcarousel.js">
/***********************************************
* Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>


I'm sure this is probably just a typo, nothing to get too excited about. But it has to be fixed.

JenniferS
12-08-2009, 01:56 PM
Woohooo! It works now!

Thanks SO much for looking through that; it's amazing what you can miss when you are proofing!