SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Nov 2003
    Location
    London
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question JavaScipt Mozilla problem

    I'm currently experiencing a problem using ANY (!) JavaScript in Mozilla - nothing seems to be working. For example (from p2 of JavaScript 101 - Part 1):

    javascriptpenWindow('/examples/js101/seefirst.html',400,200);

    Causes the following error: openWindow is not defined.

    I've also tried various other JavaScript examples and everything returns an error.

    I'm tried two different PCs running Win2K and tried Mozilla 1.4 and 1.5. I've already checked that JavaScript is enabled for Navigator.

    Anybody have any ideas?

    Many thanks,
    - Chris

  2. #2
    SitePoint Member
    Join Date
    Nov 2003
    Location
    São Paulo, Brazil
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ChrisCobb
    I'm currently experiencing a problem using ANY (!) JavaScript in Mozilla - nothing seems to be working. For example (from p2 of JavaScript 101 - Part 1):

    javascriptpenWindow('/examples/js101/seefirst.html',400,200);

    Causes the following error: openWindow is not defined.

    I've also tried various other JavaScript examples and everything returns an error.

    I'm tried two different PCs running Win2K and tried Mozilla 1.4 and 1.5. I've already checked that JavaScript is enabled for Navigator.

    Anybody have any ideas?

    Many thanks,
    - Chris
    The method for opening a new window is: open('/examples/js101/seefirst.html',400,200)

    You can also write: window.open('/examples/js101/seefirst.html',400,200)

  3. #3
    SitePoint Member
    Join Date
    Nov 2003
    Location
    London
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Danne - so it's SitePoint at fault not me. That makes my happier!

    I guess I'm using some older JavaScript syntax that isn't supported in Mozillia.

    Thanks again!
    - Chris


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
  •