Hi,
I need to make links onclick and not using href,
i.e., I need:
<a href="#" onclick="function(text)">
The function activated on clicking the link, is
opening a new window with the link, but when closing the new window or minoring it, it shows the opener page as
if I chose target to be top. I guess that's what href="#"
does.
I want the page to stay scrolled as it was before choosing the link, and not moving to the top of the page.
Calling the function directly from the href is making me problems when using NS:
(<a href="javascript:function('text')">). It looks for the a page with the name of the function.
<a href="function('text')"> is not good to NS as well.
<a href="javascript:void(0)" is not good because I don't want "javascript:void(0)" to be shown on the status bar when clicking the link.
I tried it all(I hope not ALL), but found no answer.
Help anyone???
THANKS
I need to make links onclick and not using href,
i.e., I need:
<a href="#" onclick="function(text)">
The function activated on clicking the link, is
opening a new window with the link, but when closing the new window or minoring it, it shows the opener page as
if I chose target to be top. I guess that's what href="#"
does.
I want the page to stay scrolled as it was before choosing the link, and not moving to the top of the page.
Calling the function directly from the href is making me problems when using NS:
(<a href="javascript:function('text')">). It looks for the a page with the name of the function.
<a href="function('text')"> is not good to NS as well.
<a href="javascript:void(0)" is not good because I don't want "javascript:void(0)" to be shown on the status bar when clicking the link.
I tried it all(I hope not ALL), but found no answer.
Help anyone???
THANKS