File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 2057
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: 61218
    
  66

Add target="_blank" to the anchor tag.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
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: 61218
    
  66

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: 2057
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?