Results 1 to 3 of 3

Thread: Can't get this JavaScript to work in Chrome and IE

  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't get this JavaScript to work in Chrome and IE

    Hi. I'm pretty new at JavaScript, and i got a really big problem with this script that i got from your site:

    http://www.dynamicdrive.com/dynamici...witchmenu2.htm

    ..

    I can't get it to work in IE or Chrome. When i open it in Chrome, it just won't do what it's supposed to do. It is read from a separate .js file. I'm aware that it could be a really simple mistake, and that im just really stupid, but i really need this to work in every major used browser.

    I hope you understand my problem.

    Thanks in advance!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Is this a problem with the demo page? If not, then we will need to see your page in order to help.
    Also, this was posted in the wrong section and has been moved to the Dynamic Drive Scripts Help section.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    The menu.htm in the distribution archive doesn't work locally in Chrome, but the demo page on Dynamic Drive does. So I assume it needs to be live for Chrome.

    However, both work fine in IE, so you may have broken something. Does it work for you in any browser?

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

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
  •