|
-
April 29th, 2000, 02:03 PM
#1
Window.open()
Hello,
How to open a new window using window.open() in the onclick event of a hyperlink. When i am using, it is changing the parent window's page and opening a new window. How to open a new window without changing the parent window's page. I have written as,
<a href"" onclick=window.open("cc.htm","location=no,menubar=no,toolbar=no")
bye,
anand
-
April 30th, 2000, 12:53 PM
#2
Re: Window.open()
Umm... I always thought this was a Java forum, but that's not Java, but anyways I think I can help.
Try adding a "return true;" statement to the tag, which would make the tag look like this:
<a href="" onclick="window.open("cc.htm", "location=no, menubar=no, toolbar=no"); return true;">
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|