Hello Am using frames to load my pages.But anytime i browse the pages to a point and i refresh it comes to the first page.What i want it to do is to remain at that current page i was view.Please help me
penders
4:01 pm on Nov 25, 2011 (gmt 0)
Unfortunately that's one of the problems with using frames. The URL in the address bar is not updated. Refreshing the page reloads the URL in the address bar.
Depending on what you are using the frames for, if you are controlling the framed page by an outer navigation frame for instance, then a workaround might be to update the URL when you change the framed document. eg:
http://example.com/index.php?page=somepage.html
Your script (in the framed index page) reads this URL parameter and loads the appropriate document in the frame.
But if you are navigating inside the framed document then you can't do this.
The best (and probably only) solution is to not use frames.