Link not working in Netscape...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sihnstarr

    Link not working in Netscape...

    I have a pop-up window that contains a chart with a list of links.
    When the link is clicked, it is supposed to close the pop-up window and
    navigate to the page selected from the pop-up in the parent window.
    This works in IE but not in Netscape 7, 4 or Firefox.

    Here is a sample of the link code:

    <a href="blah.asp" class="otherlin ks_sm" target="parentC ontent"
    onMouseUp="java script:self.clo se();">The Link</a>

    I did read that Netscape and Mozilla based browsers have a problem with
    using onMouseUp on anything but form field objects. Is there a
    workaround for this?

  • Lee

    #2
    Re: Link not working in Netscape...

    sihnstarr said:[color=blue]
    >
    >I have a pop-up window that contains a chart with a list of links.
    >When the link is clicked, it is supposed to close the pop-up window and
    >navigate to the page selected from the pop-up in the parent window.
    >This works in IE but not in Netscape 7, 4 or Firefox.
    >
    >Here is a sample of the link code:
    >
    ><a href="blah.asp" class="otherlin ks_sm" target="parentC ontent"
    >onMouseUp="jav ascript:self.cl ose();">The Link</a>
    >
    >I did read that Netscape and Mozilla based browsers have a problem with
    >using onMouseUp on anything but form field objects. Is there a
    >workaround for this?[/color]

    The link is activated by the mouse click, which is the mouse button going down
    and then back up again. You're telling the window to close as soon as that
    button comes up. The fact that it works in IE is a fluke of their
    implementation.

    onclick="setTim eout('self.clos e()',100);retur n true"

    might work.

    Comment

    Working...