Results 1 to 3 of 3

Thread: swiss army not defined code error

  1. #1
    Join Date
    Oct 2006
    Location
    Nottingham, england
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation swiss army not defined code error

    1) Script Title: Swissarmy

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...army/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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It's not. However, inter_slide() is defined. In other words, you have a typo. It should be:

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

    Code:
    <script type="text/javascript">
    new inter_slides(slides)
    </script>
    There could also be other problems.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2006
    Location
    Nottingham, england
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •