#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    167
    Rep Power
    14

    javascript incorrect in Netscape


    Hi all,

    Can anyone tell me what is causing the javascript on these pages to fail in netscape? The mouseovers were done in Dreamweaver, and the findPractice function was written by me. I can understand me getting the code wrong (do it frequently!) but I haven't had any problems with DW code in Netscape before.

    All works fine in IE... as usual...

    http://www.anz-dental.com/new0601/index.htm

    Thanks,

    Jen
  2. #2
  3. T-Shirt Tragic
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    886
    Rep Power
    321
    Hi Jen,
    On line 6 you have this :-
    <!C-
    I think it's supposed to be <!--
    In IE5 on mac the page shows nothing at all.. If I view source I can see all the source but absolutely nothing appears on the page. I'd say for sure it's the typo in the HTML comment on line six.
  4. #3
  5. T-Shirt Tragic
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    886
    Rep Power
    321
    just noticed another error too.. not only is there a typo on line six where you open an HTML comment but there's no closing comment tag just before the closing script tag either..
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    167
    Rep Power
    14

    Thumbs up great thanks heaps!


    Yup, that's got it! Thanks heaps.

    If you don't mind, Jonathan, I'd be very gratefull if you could take another look at it with a mac and let me know if that's fixed the problem.

    Cheers,

    Jen
  8. #5
  9. T-Shirt Tragic
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    886
    Rep Power
    321
    works great on mac in IE5, NS4 and mozilla.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    New Zealand
    Posts
    167
    Rep Power
    14

    awesome!


    you're a star. Thanks very much

    Jen

IMN logo majestic logo threadwatch logo seochat tools logo