Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML HTML Link
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
HTML Link
1 Answer(s)      4 years and 2 months ago
Posted in : HTML


How do I create a link that opens a new window?


Advertisement
View Answers

November 2, 2010 at 5:24 PM


Hi,

Start with a normal HTML link (possibly one that opens in a new window as described in the answer to the previous question). Then use the ONCLICK attribute to open a window with the desired appearance for those readers with JavaScript supported and enabled.

     <a href="example.html" target="popup"
     onclick="window.open('example.html', 'popup', 
'width=300,height=150'); return false">View window</a>

Thanks.



Related Tutorials/Questions & Answers:
HTML link
HTML link  How do I create a link
HTML Link
HTML Link  How do I create a link that opens a new window
Advertisements
Html image link
Html image link  How do I link an image to something
HTML link code.
HTML link code. Description : It is also called hyper link. HTML provides...;/title> </head> <body> <h1>Example of HTML Link... we wants to visit. Syntax : <a href="index.jsp" >Link Code<
HTML - Image link code.
HTML - Image link code. Description : HTML image link is a combination of two HTML tags. One is anchor and another is image tag.  Image tag image...;h1>Example of HTML Link code.</h1> <p>Please visit
Link from html to jsp - Development process
Link from html to jsp   Hi, Can u send me code. when i click html link button , control should go to jsp page wat i mentioned in view... Friend, To give link from html page to jsp, you have to run the jsp page.After
How to parse an HTML link and display whole content, in iPhone?
How to parse an HTML link and display whole content, in iPhone?  I want to display whole content of any HTML link in a textview. I searched so many links , i could only get page titles or some part of the HTML page. But I could
link
the link the table is displayed and other links were hidden if i want to click the next link i have to refresh the page instead i want to do is when i click the link the table should display and again when i click the link the table should
link
link  hey frnds can anyone plz tell me how can i store my videos as link in my database and can retrive the video using servlet by clicking on to that link .it may be confusing sorry about that and if someone can than plz help me
LINK
LINK  Thank you friend.cant we use single click instead of double click and also for four link u has given the example but i have 14 links in that case wat i should do
link
link  how can we give hyperlinks on data retrieved from the database and when a particular option is clicked it should be saved in another database and details related to that link should be diaplay and stored in the database
LINK
LINK  I have four links which link to a table,if i click one link... i want to ask is when i click the link the table is displayed and other links were hidden if i want to click the next link i have to refresh the page instead i
Html
Html  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
Link on Image
Link on Image  HTML link question mark Image can anyone please suggest how can i link the question mark image in HTML?   <p> <a class="mainLinks" href="#">Currency Converter&nbsp;<img src
mfmailComposeViewController link
mfmailComposeViewController link  Is there any way to get a hyperlink on email text using mfmailComposeViewController in my iPhone application?   To get link on the text, you need to make it HTML enable
Hypertext link
Hypertext link  What is a Hypertext link
Hypertext link
Hypertext link  hii, What is a Hypertext link?   hello, A Hypertext link is a special tag that links one page to another page or resource. If you click the link, the browser jumps to the link's destination
Link to a website
Link to a website  I have created a mobile application.Now I want to insert a link to a website so that when mobile user selects that link he is directed to that website
HTML
HTML  How do we create a link? What are the three types of form tags in HTML
Hypertext link
Hypertext link  hello,, What is a Hypertext link?   hii, A hypertext link is a special text that perform the linkage between two web page. <a href="www.roseindia.net">roseindia site</a>
position of a link
position of a link the table appears at the bottom i want it to be display at the top pls help me.Each link if i click it should display in the same position
attaching a link
attaching a link  I want the program code for , creating an application form and it is attached to our code, by clicking on this link, the form should be open
JavaScript link
JavaScript link...; In this section, you will learn about the text property of Link object in JavaScript. JavaScript's Link object has the property text which allow the user to get the text
Display alert box on clicking link
Display alert box on clicking link In this tutorial, we will display alert box to prompt message using jQuery. In the below program , html page contains a "a href" link. On clicking this link ,a alert box prompt message
html
; For more information, visit the following link: HTML Tutorials...html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes
php a href link
php a href link  i guess... we can write the href in a similar way as in html to create a link
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
 

 

 

DMCA.com