Forum Moderators: open

Message Too Old, No Replies

How to open a frameset and change a subpage simult.?

open frameset with new sub page in html or javascript

         

melv

8:30 pm on Nov 12, 2003 (gmt 0)



Hi,

I have a problem, how do I open a frameset then at the same time either through the same link or hidden javascript from that link change one of the frame content pages. I don't want to have to create new html framed pages that have the exact jigsaw of frames previously saved.

The structure is typical of a site.

index1.html - no frames, this is where the nav links need to be it's a typical entry page ...click here to enter type of entry

main_frameset.html - this holds 3 html frames left(logo), body(content), and top(nav/ads)

But I only have ONE frameset(main_frameset.html) and I'd really like to keep it that way, so I'm left with the problem now.....how do I open main_frameset and instead of the saved file coming up in the body(content) area making a new file load in from the index1.html page?

I want to reduce the number of html files on this site and this will cut them in half.

melv

tedster

1:44 am on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, melv.

Check out the scheme in Message #21 of our Handy, Generic Javascript [webmasterworld.com] reference thread. This script was created for handling search engine arrivals to orphaned frame pages -- but I'll bet you can use the approach to accomplish your aims as well.

If you set up the master frameset page and added the code to each child page -- you could write your links directly to the child page you want loaded, and the script would place it into the parent frameset.