I am using frames to display two pages, a menu page on the left, and the main page on the right. When I hit "Refresh", the main page goes back to the home page, rather than the page I was on. How do I fix this? Thanks for your help!
you can set it up so that the main page (the one containing the frames) itself is the one being updated and having parameters passed to it when linking from one of the frames.
(I'll explain more if you'd like)
or, right click the frame you want refreshed and choose refresh ( or reload or whatever)
This can be an extremely retarded way depending on how complex your flow/page is setup, but twill do zeh job.
Let's say the main page (frame container) is main.cfm.
have all links in your frames point to that page.
(main.cfm?CallingFrameUrl=NewLocation.cfm)
By doing this, the location bar (main.cfm?leftFrameurl=left.cfm&middleFrameurl=middle.cfm) would have enough information/parameters in it, that if it were to be reloaded, all frame states could be recreated by using those parameters.
You could also use main.cfm as a relay for frame forms, but your main.cfm will become very complex depending on how much your frames are doing.
Basically, if you can, use your 'main.cfm' as a hub for all other pages/frames.
I don't know another way of doing this and would definitely not suggest doing it if either there's a lot of stuff going on, or it is not completely neccessary.
Well, maybe this won't come up in actual use, but I find it annoying when I'm testing to make some changes, hit "refresh" to see the changes, and I have to drill back down to where I was to see the changes(not that it's that far!). Thanks for the info, I'll keep it in mind. I'm going live with an in-house discussion board, soon, and I want it to be right.
do you have to hit refresh, or can you just refresh the one frame ... btw I don't think it would really matter (only in our case as the constantly reloading programmer types)
I guess it won't really be a problem under "normal" use, but I can just "right click" the frame and reload it for my purposes. Thanks a lot!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.