PDA

View Full Version : Question re: DHTML Slide Show Script



jkessler
11-28-2007, 06:45 PM
1) Script Title:
DHTML Slide Show Script

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex14/dhtmlslide.htm

3) Describe problem:
I am using this slide show script on my page but it's conflicting w/another script I'm using for a vertical, dropdown menu... The slideshow works fine but the menu no longer does - what could be the problem? Is there a specific order I should be putting these in?

###

Here's my intro code for reference:

<script type="text/javascript" src="/menu/newwindow.jsp"src="/menu/cssverticalmenu.js">

/***********************************************

* CSS Vertical List Menu- by JavaScript Kit (www.javascriptkit.com)
* Menu interface credits: http://www.dynamicdrive.com/style/csslibrary/item/glossy-vertical-menu/
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more

***********************************************/

</script>

<script type="text/javascript">

/***********************************************
* DHTML slideshow script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var photos=new Array()
var photoslink=new Array()
var which=1

(right above is where the slideshow script starts)

###

Any help would be appreciated...

Thanks! :o)

ddadmin
11-29-2007, 12:25 AM
Looking at the other script's source (http://www.javascriptkit.com/script/script2/verticalmenu.shtml), I don't see any conflict between the two. Are you sure that's indeed the source of the problem? Please post a link to the page on your site that contains the problematic script so we can check it out.

jkessler
11-29-2007, 04:28 PM
I cannot provide a URL because it's still being built and is kept on an internal server... All I can say is, the menu works on all the pages but this one - as soon as I added the slide show script, it stopped working... :mad:

help! anyone?

jscheuer1
11-29-2007, 06:04 PM
<script type="text/javascript" src="/menu/newwindow.jsp"src="/menu/cssverticalmenu.js">

That looks invalid, or at least like a problem to me. It should be something like:


<script type="text/javascript" src="/menu/cssverticalmenu.js">

jkessler
11-29-2007, 06:12 PM
DOH! thank you, thank you, thank you... the extra coding is from another page, where the slideshow isn't used...

you made my day! :-)