SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    window.open() not working in IE

    I have a quick function that opens a small help popup window and it works fine in everything but IE.
    When I try to load it in IE i get "error on page" in the status bar of the parent window.
    What am I doing wrong?
    Code JavaScript:
    function grammarPopUp(loc)
    {
     window.open('grammar/'+loc+".html", "Grammar Help", "status=0, height=400, width=400, resizable=0",0);
    }

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    The name "Grammar Help" is the problem.
    it's not supposed to be a human readable name, but instead a suitable variable name

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ooooooooooooooooooooooooooooooooooooooooooooo
    Thanks!

  4. #4
    I'm not a human
    Join Date
    Aug 2006
    Location
    India
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there any other list of words which are not to be denoted?

    If yes, please post it ..

    should keywords also not to be denoted?
    Regards,
    Vijay
    Follow me on twitter @vijaycbe
    World Holiday Calander || My Cricket Blog

  5. #5
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Yes, you should keep away from keywords too.

    Microsoft has information about the open method that tells you about other special values that can be used.


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
  •