...

View Full Version : Frames help!



SHEPME
06-14-2012, 07:04 PM
Good afternoon;
I am working on a site that starts off with just a regular html page with navigation buttons along the top. One of the buttons is called "Travels".
When the user clicks this button it takes him to a frameset pahe that has two sections one for navigation (top to bottom) and the main content that shows videos based on what button in the navigation was selected.
Everything works great however when the user clicks the home button on the frame set just the one section opens the new page. I want to totally get out of that frameset page and return to the non-frameset page. I can not seem to figure it out?
I hope I am making sence.
Any help would be much appreciated.

Shepard

DrDOS
06-14-2012, 07:30 PM
Stay away from frames, as far away as possible. You can use divs or other block elements like paragraphs, and hide or un-hide them as needed. Use display: block; display: none; there is code for older IE with visibility: hidden; and visibility: visible; that you can put along side it. Very simple javascript.


obj.style.display = "block";

SHEPME
06-14-2012, 07:46 PM
Stay away from frames, as far away as possible. You can use divs or other block elements like paragraphs, and hide or un-hide them as needed. Use display: block; display: none; there is code for older IE with visibility: hidden; and visibility: visible; that you can put along side it. Very simple javascript.


obj.style.display = "block";


Thanks for th reply.
I appreciate your advise but really am dead set on trying a frames site. Is there a way (or a link) that I can add that actually closes the frames page and opens an entie new page without frames. What's happening know is that when I click the Main menu link it opens up in my frameset page which I dont want.
Thanks

Keleth
06-14-2012, 08:24 PM
You can use targets for your link by naming frames. I think target="_parent" should work. But why are you dead set on using frames? Its like saying you're set on using marquees or using rock and chisel. Its an oudated technique ripe with problems (as you're discovering) whereas there are better, cleaner, and more flexible solutions.

jalarie
06-17-2012, 11:51 PM
Sometimes learning something old is useful just because you wish to learn something. We encourage invention, not because we need new inventions, but because we need more inventors.


<a href="???.htm" target="_top" title="out of frames">-page-title-</a>

Notice the target attribute.

Donkey
06-18-2012, 02:54 AM
We encourage invention, not because we need new inventions, but because we need more inventors.

Is it just me or is there a couple of flaws in your logic. i.e.

What will all these inventors do if they don't invent anything?
Can you really call someone an inventor if they don't actually invent anything?


BTW is this the "Royal we" i.e. you, or are you speaking for all mankind.

Will Bontrager
06-18-2012, 12:21 PM
Sometimes learning something old is useful just because you wish to learn something. We encourage invention, not because we need new inventions, but because we need more inventors.

Yes. If it weren't for inventors and the things they come up with, frames would be in vogue :)

Will

jalarie
06-26-2012, 10:05 PM
BTW is this the "Royal we" i.e. you, or are you speaking for all mankind.

It's a (near?) quote from someone very famous, but I don't remember who.

jalarie
06-27-2012, 04:08 PM
It's a (near?) quote from someone very famous, but I don't remember who.

Found it!


We have to reinvent the wheel every once in a while, not because we need a lot of wheels; but because we need a lot of inventors. - Bruce Joyce.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum