This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to make a link inside an iframe, go to another webpage entirely? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "how to make a link inside an iframe, go to another webpage entirely?" Watch "how to make a link inside an iframe, go to another webpage entirely?" New topic
Author

how to make a link inside an iframe, go to another webpage entirely?

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
hello,

may i ask for comments?

how is it done to make a link inside an iframe, go to another webpage entirely? and not go to another webpage inside the iframe.....i want to go to another page entirely

when i made a link inside the iframe, when i clicked it, it did go to the webpage, but it was inside the iframe, ...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56185
    
  13

Add target="_blank" to the anchor tag.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
thanks Bear,

it started a new instance of the browser and opened the new webpage on it,

how about opening the new webpage, on the same browser where the iframe is?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56185
    
  13

target="_top"

An HTML Reference might be a good idea for you to have handy.
[ August 06, 2005: Message edited by: Bear Bibeault ]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
thanks!

yes i need to brush up on html and javascript, as jsp development would be almost impossible without them
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make a link inside an iframe, go to another webpage entirely?
 
Similar Threads
IFrames and understanding third party cookies
escaping an iframe
escaping an iframe
Session timeout page inside iframe
How to select the link thru the javascript