k_im_me;964853 wrote:Hi, does anyone know whether you can make a page to open at a certain part of the page?
I'm wanting to put the navigation menu (being what I want in the center when page loads) in the middle of quite a large page. The menu items will be anchored to the 4 corners of the large page..
I think it's a new concept, haven't seen it done anywhere.. so not sure if code exists..
I'm a newbie to web development, so any help/feedback would be much appreciated!
Thanks!!
Kim
No, it's not new. It's just an anchor tag.
Look at the menu here to see it in action. The gray menu at the top of the page scrolls down to the content. This is done like this:
<a href="http://www.yourpage.com#placeholder">Jump to spot on page</a>
Now, if you put an anchor on the page, it will jump right to that spot on the page.
<a name="placeholder"> </a>
Now click on this link to go to that same page, but right to the letter "M" listings: M
There is another way to do it with pixels, but if the page is really big the numbers are WAY OFF in IE and FF, so it is not at all a cross-browser solution.