|
-
Oct 18th, 2011, 04:49 PM
#1
Thread Starter
New Member
Webviewer and Javascript
Hi,
How do I open a new window in my webbrowser1 object on my form?
For example, navigating to <a href="http://www.google.com">GOOGLE</a> is fine.
However, the link: <A HREF="javascript:newwindow()" >New popup</a> will open in IE. Can I force the link to open in me webbrowser, and a new instance of, instead of going to IE?
Here is the JS code:
<SCRIPT language="JavaScript">
<!--hide
function newwindow()
{
window.open('mypage.htm','jav','width=300,height=200,resizable=yes');
}
//-->
</SCRIPT>
Any help would be much appreciated.
Blueevo.
Tags for this Thread
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
|