Getting a div to act like iFrame
Posted: Sat May 30, 2009 12:52 am
Greetings forum, It's been a while since I've posted (Since AS3 has consumed my life) but I have question I hope you intelligent people can help me with.
I have two divs nested in a 400 x 500 div. the left div contains a list of pages that will be loaded in the right div. Both divs scroll when it becomes too big for the containing divs height. Works great by passing a variable with php and refreshing the page, BUT...
The users location on the scrolling list in the left div resets (Rightfully so because you are loading a new page). Now, is there a way to save how far you scrolled in pass it onto the new page? Or should I just change the right div to a iFrame and avoid this problem? Even though I really have a distaste for iFrame.
Any thoughts?
thanks,
Shane
I have two divs nested in a 400 x 500 div. the left div contains a list of pages that will be loaded in the right div. Both divs scroll when it becomes too big for the containing divs height. Works great by passing a variable with php and refreshing the page, BUT...
The users location on the scrolling list in the left div resets (Rightfully so because you are loading a new page). Now, is there a way to save how far you scrolled in pass it onto the new page? Or should I just change the right div to a iFrame and avoid this problem? Even though I really have a distaste for iFrame.
Any thoughts?
thanks,
Shane