My site has frames but when i refresh it , it does not refresh just the mainframe its refreshing everything . And directing the user again to the main site ! So my question is ,how i can handle that problem !?
Frames are usefull but general frowned upon, for the reason you give and because of the way they work with the back key and history in general.
To get you round your problem, when you say refresh is it when you hit f5 ?
What happens if you fo cntrl-f5 or shift-f5 (which ignore the cache).
I believe this works in ie and firefox
Sorry stil not too clear.
The page has two frames left and right, do you just want to refresh one of the frames and beause you do f5 the whole browser refrshes?
Have you tried right-click->refresh ? in the frame
Do you mean refreshing page programatically in your code or just by user pressing Refresh/Reload button or pushing F5? Because if it is the latter, that is the normal behaviour of browsers and they will always do that. Refresh the page and since the frameset cannot remember which frame was open, it will return to first page. You can right click in the frame and select Refresh to refresh just that frame.
Well right click refresh is working correct.But i want that when the user is clicking on the refresh button in the toolbar that only my main frame is refreshing .And the other frames stay stabil. ?s this possible ? ?f yes , how ?
I agree with Vragabond that this is the normal action of a browser. You might be able to add some state managment stuff in (probabbly in JavaScript) which can store in a cookie what the current frames are and when f5 reloads the mainframe it look into the cookie and refresh each frame in the set with the previous/correct value.
Well actually i agree with you both as well . But my boss not !Well in our html version only the top frame was refreshing.And now he wants it that way . Still serching for an solution
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.