473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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="otherlinks_sm" target="parentContent"
onMouseUp="javascript:self.close();">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?

Jul 23 '05 #1
1 1126
Lee
sihnstarr said:

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="otherlinks_sm" target="parentContent"
onMouseUp="javascript:self.close();">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?


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="setTimeout('self.close()',100);return true"

might work.

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Marco | last post by:
I made an html-page with this line in it: <A HREF="http://www.bla.com" onClick="javascript:window.close()" target="moeder">link</A> It works very well in Internet Explorer, but in Netscape 7...
1
by: Mat | last post by:
How can I detect when a link has been clicked but the new page is still in the process of loading? The document.location.href property still displays the current location (understandably) not the...
1
by: Justin | last post by:
Ok here is working code in IE, <td ID="TD1" width="478" height="553" background="images/GUYONDOC.JPG" valign="top">. . . </td> <a href="texana.htm"...
3
by: Craig | last post by:
Hi, What I'm trying (quite poorly) to do is make it so when a link is clicked the text inside a div or p changes. I've tried numerous things, most of which work in IE but none of which work in...
14
by: Brandon Hoppe | last post by:
I'm trying to change the src of an ilayer in the parent document from a link inside the ilayer. I'm not able to get it to work. All that happens is Netscape 4 crashes. This is for Netscape 4 only....
1
by: Alex Peng | last post by:
I have the following code. For IE 6, I can get link one and link two in two separated lines, but not in Netscape 7. I try to set display:block for A.ccMenu; however, the hyperlink excess ccMenuBox...
2
by: schieco | last post by:
The following code always prints the debug lines inside the conditional if statement before and after the alert statement when the session has timed out, but the alert and redirect only appear/work...
2
by: Silas | last post by:
Hi. This Link Description script is driving me crazy. The first URL below is the script exactly as I got it from javascriptsource.com, which works fine. But as soon as I replace the linktext with...
21
by: news.btinternnet.com | last post by:
I can do this in IE myLink.click(); //Invoking the handler as if the user had clicked on the link themselves. I need to be able to do the same in Netscape Navigator, can anyone help ?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.