Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a page to be loaded in a frame position 1

Status
Not open for further replies.

ZOR

Technical User
Jan 30, 2002
2,963
GB
After verifying a user can proceed on a site, I use the statement $url = "TestPage2.htm";
Thats fine, what I wanted. However during the time of login, the page in another part of the frame is not loaded. How can I now call that page to load. Hope its not confusing.
 
I guess you're trying to update two frames when the user logs in (e.g. main window and navigation window). HTML frames work in a way that only one frame (or complete frameset) gets updated when new page is requested. You could load the entire frameset again and that will update all the frames accordingly. Other solution would be to update the requested frame via JavaScript. For that solution, look into JavaScript forum.
 
Thanks. I've looked around and it all seems messy. I even considered/looked for ways to have the left hand frame size width set to zero on start, and expand when user accepted. That way I need not have had a blank page there in the beginning. Shame theres not a frame disable feature. Goes on and on, but thanks again.
 
If you just load another frameset when the user is logged in, you can do all that. The first frameset only has the main frame, the second one has the main and left one. Simple.
 
Thanks. I have a page with 3 frames. One at the top carries a logo. The left hand column one has Product Buttons. The central frame shows the products selected by the left hand frame buttons. I had my login in the central frame, and had a blank page in the lefthand buttons frame to prohibit someone pressing them before being logged in. Therfore when the log in is complete in the central part, I wanted the left hand frame page to load the page with buttons. However I have now made a new index.htm page, ie new freestanding page, doing the log in, and when thats completed I'm loading the site frame. All seems to be working okay. Next time I will plan what I'm doing instead of working as I go. Have another star and thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top