Current location: Hot Scripts Forums » General Web Coding » JavaScript » i want to open another window using link tag


i want to open another window using link tag

Reply
  #1 (permalink)  
Old 11-24-06, 03:09 AM
java_ace java_ace is offline
New Member
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
i want to open another window using link tag

hii

how do i open another window using the link .
i tried the following

<a href= onClickgo=window.open(http:/localhost:8080/reg/Avail.jsp,'new','left=20,top=20,width=500,height=5 00,toolbar=1,resizable=0'); go.focus()>");

but its not going to that page..
need help its urgent


java_ace
Reply With Quote
  #2 (permalink)  
Old 11-24-06, 03:50 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Code:
<a href="#" onclick="window.open('http://localhost:8080/reg/Avail.jsp', 'new', 'left=20, top=20, width=500, height=500, toolbar=1 ,resizable=0');">link text</a>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a link in a window in another window, which is already open. andr345 JavaScript 1 06-15-06 03:25 AM
how to open a picture in a new window korro JavaScript 5 05-25-06 01:24 PM
Six Sites Exchanging Links! - PR3+ Web Hosting, Web Design, Entertainment & Career coffeecoder General Advertisements 0 10-10-05 12:52 AM
Xml / Dom / Css Mark_SC.SE JavaScript 0 06-29-05 08:05 AM
How can I open links in original window? GS300 JavaScript 3 05-30-04 08:37 AM


All times are GMT -5. The time now is 11:21 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.