PDA

View Full Version : HTML Anchor Links



wyclef
February 1st, 2004, 04:08 PM
Hello,

If I have a scrolling list of links in an iframe, and all the links target the parent document, and everytime the parent document is loaded, it reloads the iframe, is there a way I can use anchor links so if I have scrolled to the bottom of the list of links and click on the last link, when it reloads the parent document it will target that bottom link so the list doesn't start from the top again? Basically I want to retain position in the IFrame after clicking a link.

blindlizard
February 10th, 2004, 12:11 AM
do you have a web server that will allow you to do any server side scripting because I see no way to do what you want without it.

wyclef
February 10th, 2004, 11:16 AM
yes i do

blindlizard
February 10th, 2004, 12:17 PM
ASP or PHP?

norie
February 10th, 2004, 01:52 PM
it could probably be done with javascript, but SS would be a lot easier. i think :h:

blindlizard
February 10th, 2004, 07:05 PM
Originally posted by norie
it could probably be done with javascript, but SS would be a lot easier. i think :h: It sounds like the main page that has the iframe in it is reloading. I don't think CS side javascript would work because of the loss of state.