• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add target="_blank" to the anchor tag.
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!

yes i need to brush up on html and javascript, as jsp development would be almost impossible without them
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic