Javascript not working on Mac, works on PC


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Javascript not working on Mac, works on PC

  1. #1
    Jane L Guest

    Javascript not working on Mac, works on PC


    I have a webpage that opens up a new window(when you click on an image) and
    displays an image in that new window. It works fine on PC's, but on Mac the
    new window pops up with nothing in it. Both are using Internet Explorer v5+.
    Javascript IS turned on. Why doesn't it work on Mac?
    Want to see? Click on any of the first top three images at www.coreyography.com/jane
    I'd appreciate any feedback. Thanks.

  2. #2
    Michael Q. Gautier Guest

    Re: Javascript not working on Mac, works on PC


    When I use to develop ecommerce applications that had to work cross browser,
    I could usually nail down JavaScript problems to a few causes:

    Using/not using semi-colons (can't remember which since it was over a year
    ago).

    Not using the fully qualified syntax (e.g. window.document versus document
    or window).

    I've generally found it helpful in the past to write JavaScript that complies
    more with the Netscape model and avoid features that don't work equally on
    both browsers. I later migrated to using browser detection and writing script
    specific to the DOM.

    The reference I used most of the time was JavaScript: The Definitive Guide
    By David Flanagan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center