republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
374
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


Stealth

join:2005-05-20
San Diego, CA

Frame Help Needed

Hello everyone, I need help with some frame setup. I have create a html page call test.html.

test.html loads a webpage with 4 frames.

[frameset cols="50%,50%"]
[frameset rows="50%,50%"]
[frame src="yahoo.com"]
[frame src="google.com"]
[/frameset]
[frameset rows="50%,50%"]
[frame src="cnn.com"]
[frame src="msn.com"]
[/frameset]

Whats I'm trying to do is that when these 4 different web pages loads in its own frame, if click on any link within that frame, it opens in that same frame. Example once yahoo frame, any link from yahoo, will open up in that same frame. Same for the other 3 frames.

The problem I'm having is that since all these are external website once I load these pages, click on any link they open up in a new browser.

I hope I explain this clear.

muiredised
ESSE QUAM VIDERI

join:2007-06-11
Tacoma, WA
kudos:1

Just one of the reasons frames are not generally recommended. They are brittle and do not offer the best end-user experience.

If you are loading a 3rd party webpage into your frameset that 3rd party might have taken steps specifically to prevent you from doing so. Javascript and target attributes can be used to break out of frames or spawn new windows. Of course, you can also add anti-break out Javascript, but then you have the anti-anti-break out Javascript to contend with. It can turn into a headache quickly and it is bad form to try to include someone else's content in such a way.

If you are simply trying to display several websites in one window for your own use and not trying to embed someone else's design then check out this add-on for Firefox: »addons.mozilla.org/en-US/firefox···le-tabs/
--
Assiduus usus uni rei deditus et ingenium et artem saepe vincit


Monday, 04-Jun 02:08:00 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics