PDA

View Full Version : swiss army not defined code error



a1i.c
07-17-2007, 01:54 PM
1) Script Title: Swissarmy

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/swissarmy/index.htm

3) Describe problem:
http://alichristie.info/trips/venice/untitled.htm.

I have set up the second show (I hope)
I have an error message
Line 133
Char 1
Error: Ďinter_slidesí not difined

Donít know why itís wrong.

Any help would be great.

jscheuer1
07-17-2007, 02:03 PM
It's not. However, inter_slide() is defined. In other words, you have a typo. It should be:


<script type="text/javascript">
new inter_slide(slides)
</script>

not:


<script type="text/javascript">
new inter_slides(slides)
</script>

There could also be other problems.

a1i.c
07-17-2007, 02:50 PM
Thanks jscheuer1.

It's difficult to see when there is only a little thing wrong. Sorted now. The reason for the error is a replace all on the word slide.**Didn't notice it had changed that one too.:D