PDA

View Full Version : Please help me with a HTML command


pandaharo
Oct 28th, 2005, 05:55 PM
I'm looking for the command that will autoscroll a page when it loads to a certain line or area. For example if a webpage has 200 lines of words and I want the page to show the 110th line when it's first loaded. I've seen it done before does anyone know the command or at least when the command is called?

TIA

3-putt
Oct 28th, 2005, 06:38 PM
You need to use the anchor tag.

Weather network's golf page (http://www.theweathernetwork.com/features/golf/indexON.htm) has a good example.

eg. {less than sign}a name="D"\>
(couldn't get the < to work with an a following it, cuz the browser will parse it as html)

then add "#D" to the url, to jump to that point.
eg. index.html#D