Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to set CreateLink command to make the linked page opened in another window.

Thread Tools

How to set CreateLink command to make the linked page opened in another window.

Wootaek Choi
Posts: n/a
I want to create a link dynamically with CreateLink command.
like below..
but the Problem is that the link is opened the same frame.
is there any way to make the link be opened in another brower window?

<script language="javascript">
function linktest(){
document.selection.createRange().execCommand('Crea teLink');

link test... new liked page should be opened in new window
<a class='MIME' href="javascript:linktest()">linktest</a>
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Refreshing parent page from a child page opened as a modal dialog boxOptions Bali ASP .Net 0 10-31-2008 09:57 PM
Detecting which page opened current page, how? Jeff ASP .Net 2 05-28-2007 07:30 AM
Page load of the parent page called twice when a modal dialog is opened from a button click of the user control on the parent page Samy ASP .Net 2 08-15-2005 03:30 PM
Accidentaly opened I-Bagle - and then opened virus vault ?? Morph Computer Information 2 02-01-2005 03:43 AM