AJAX Forums

what html code do a put on a link when user click on it pops up a new windows?

This is a discussion on what html code do a put on a link when user click on it pops up a new windows? within the XHTML and CSS forums, part of the Beginners AJAX category; right now i created a website which has 4 frames: header, table of content, main and footer. when user click on a click..it will remain in just the frame ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 05-25-2007, 07:17 PM   #1 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 seafood10 is on a distinguished road
what html code do a put on a link when user click on it pops up a new windows?

right now i created a website which has 4 frames: header, table of content, main and footer. when user click on a click..it will remain in just the frame main. but i want it to open it up a new windows instead. how do i do it? what html codes do i need to put in for those links?btw..im using frontpage 2003. thx in advance.
__________________
seafood10 is offline   Reply With Quote
Old 05-25-2007, 10:56 PM   #2 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 Eric V is on a distinguished road
This is done using the 'target' attribute in an tag. The 4 possible values for this attribute are blank, parent, self, and top. blank always opens a new window, self always opens in the current window or frame, parent opens in the parent frame, (if any, otherwise as self,) and top opens in entire browser window, even if there are frames.For your problem, to open in a new window, your link should look like thisNote: I'm not sure why, but the 'accepted' way to do this is to include an underscore before the target value... I will look more into this, but write your a tag like the above example.)
__________________
Eric V is offline   Reply With Quote
Old 05-26-2007, 03:11 PM   #3 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 toddly1 is on a distinguished road
In your tag, this is the window that will pop openIn the tag, this is the link they click on to open the new window: LINK
__________________
toddly1 is offline   Reply With Quote
Old 05-27-2007, 09:57 AM   #4 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 notsosuremt is on a distinguished road
Here are a couple of answers for you. Lets do the Frontpage answer first. 1. Select the text you want to hyperlink (or the link you want to edit) and choose Insert > Hyperlink. 2. In the Edit Hyperlink dialog box find Target Frame: and click the Change Target Frame button. The Target Frame dialog box offers a list of common targets, or you can enter your own. For a new window select New Window and you'll see _blank appear in the Target Setting box. 3. Click OK twice and it's done.If you want to edit the HTML yourself, it is simply a matter of adding an additional attribute to the link's code.Here's the code for a link to Mylink to open in a new page...Visit Mylink today!Adding the TARGET attribute to a hyperlink lets you dictate where the linked page opens. To open a new page use target="_blank"































www.fontstuff.com
__________________
notsosuremt is offline   Reply With Quote
Reply

Bookmarks


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

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
What's the code to link to a higher folder in HTML? Denair Cowboy XHTML and CSS 1 06-19-2007 12:00 PM
how to link a flash file in html? samselva66 XHTML and CSS 1 05-14-2007 10:59 AM
I need the html code for posting a picture as a link.? misskitty6432 XHTML and CSS 3 05-04-2007 04:21 AM
link code to my own website Kaviarasu XHTML and CSS 1 05-03-2007 11:19 PM
I need the code, case problem 1, tutorial 12 HTML, XHTML, and Dynamic HTML third... ebizartistry XHTML and CSS 0 04-04-2007 08:14 PM


All times are GMT -4. The time now is 08:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com