Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Close Iframes on exit
Old 11-16-2005, 10:58 PM Close Iframes on exit
Novice Talker

Posts: 10
Trades: 0
Is there a way to close an iframe when you leave a website for instance my friend is trying to make a site where his sites nav bar is in a frame and his forum opens in a diferent iframe. but when you leave his site the frame is still there. Is there a way to exit an Iframe? even a button at the bottom that say close this frame would work.

thanks in advanced Ethan Allen
Atsuisofu is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-17-2005, 09:19 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
You can't really 'close' a frame because it's a page element - there's nothing to close.

I assume your talking about navigating from it. If you navigate from within an iframe, by default the link you open will open inside the frame. You can however specify "_parent" as the link target:
<a href="new site url" target="_parent">Link here</a>
This will force the link to open in the parent of the frame, i.e. the page that contains the frame.

Other uses for 'target' are _blank, which opens in a new window, or you can use the name of a frame as the target to open a page in that frame.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to Close Iframes on exit
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36518 seconds with 12 queries