Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-15-2002, 05:36 PM   PM User | #1
The Wizzard
Regular Coder

 
Join Date: Jun 2002
Location: Lake Forest, CA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
The Wizzard is an unknown quantity at this point
IFrame

Hi, i have a search box in an iframe on my main page, and when you type in a keyword and press submit, its results are inside the iframe, how do i get them to not load in the frame?
The Wizzard is offline   Reply With Quote
Old 07-15-2002, 06:00 PM   PM User | #2
boxer_1
Regular Coder

 
Join Date: May 2002
Location: Maine, USA
Posts: 574
Thanks: 0
Thanked 0 Times in 0 Posts
boxer_1 is an unknown quantity at this point
This should open the link you have in the iframe in the window containing the iframe:

<a href="http://www.whatever.html" target="_parent">Open link in current window</a>

To open the link in a new window:

<a href="http://www.whatever.html" target="_blank">Open link in current window</a>

Does this help you out?
__________________
boxer_1
CodingForums Moderator
"How did a fool and his money get together in the first place?"
boxer_1 is offline   Reply With Quote
Old 07-15-2002, 06:21 PM   PM User | #3
The Wizzard
Regular Coder

 
Join Date: Jun 2002
Location: Lake Forest, CA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
The Wizzard is an unknown quantity at this point
Those didnt work, but i did figure it out.. Its target="_top"

The Wizzard is offline   Reply With Quote
Old 07-15-2002, 06:25 PM   PM User | #4
boxer_1
Regular Coder

 
Join Date: May 2002
Location: Maine, USA
Posts: 574
Thanks: 0
Thanked 0 Times in 0 Posts
boxer_1 is an unknown quantity at this point
Quote:
Originally posted by The Wizzard
Those didnt work, but i did figure it out.. Its target="_top"

Hmm...well at least your dillema is solved . These are the target attributes as I've undestood them:

_blank = targets a new blank window that is not named

_self = targets the frame where the hyperlink is found

_parent = targets the parent frameset of the frame where the hyperlink is found.
Defualts to _self value if no parent document is found

_top = targets full window before any frames are introduced.
__________________
boxer_1
CodingForums Moderator
"How did a fool and his money get together in the first place?"
boxer_1 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:36 AM.


Advertisement
Log in to turn off these ads.