Brelaine
03-10-2008, 02:15 AM
Hello
First the page in question is located here
http://www.pwnnip.com/3.0/forum.asp
I am using your auto-resize script for the iframe which works great, thanks :)
My problem is, when some refreshes the page, by hitting f5 or w/e, the iframe is reset to the orginal address (http://www.pwnnip.com/3.0/phpbb/) I would like them to stay where they are currently instead.
For example, someone goes to General Disucssion and wants to see if anyone posted anything new so they hit refresh, they end up back at the forum index, I would like to stop that from happening somehow and have them stay at General Disucssion, or where ever they happen to be.
I've been searching for awhile and haven't found anything, so a heads up if this isn't possible too would be great :)
BTW I am very familar with ASP and only marginally familar with javascript (can tell what's going on in a script but don't really know how to write it).
So I am basically looking for a way to grab the current address of the iframe and set it as a variable to be used in the iframe src tag. So any time they navigate to a new page the the variable is reset to the current page.
Thanks very much for your time,
Bre
First the page in question is located here
http://www.pwnnip.com/3.0/forum.asp
I am using your auto-resize script for the iframe which works great, thanks :)
My problem is, when some refreshes the page, by hitting f5 or w/e, the iframe is reset to the orginal address (http://www.pwnnip.com/3.0/phpbb/) I would like them to stay where they are currently instead.
For example, someone goes to General Disucssion and wants to see if anyone posted anything new so they hit refresh, they end up back at the forum index, I would like to stop that from happening somehow and have them stay at General Disucssion, or where ever they happen to be.
I've been searching for awhile and haven't found anything, so a heads up if this isn't possible too would be great :)
BTW I am very familar with ASP and only marginally familar with javascript (can tell what's going on in a script but don't really know how to write it).
So I am basically looking for a way to grab the current address of the iframe and set it as a variable to be used in the iframe src tag. So any time they navigate to a new page the the variable is reset to the current page.
Thanks very much for your time,
Bre