It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Help - How to link to section of same page

Help - How to link to section of same page

Postby justinstein on Sun Dec 24, 2006 4:35 am

Hello,

I need some help. I want to have one page, and on the top of the page links to different sections of the site. For example, if near the bottom of the page there is a section on "Toys," I want to link to it.

I was thinking the same idea as the "Goto Top" (#) but I couldn't get it right...

Ideas/ help?

Thanks,
-- Justin
justinstein
 
Posts: 3
Joined: Sun Dec 24, 2006 4:29 am

Postby ngpgeeta on Sun Dec 24, 2006 6:19 am

Try this:
<body>
<a href="#toys">Toys</a>

and at the end of this page....

<a name="toys">Toys detail</a> This will link from top to bottom.

If you wish to go from bottom to top, give <a href="#toys"> at the bottom and <a name="toys"> at the top.

Hope this helps.
</body>
ngpgeeta
 
Posts: 19
Joined: Sat Nov 18, 2006 11:30 am

Postby justinstein on Sun Dec 24, 2006 5:01 pm

Thanks!

Yeah, that works. Thanks for that.
justinstein
 
Posts: 3
Joined: Sun Dec 24, 2006 4:29 am

Postby 1scrollnet on Tue Jan 23, 2007 11:45 am

You have to use only the anchor if you are under dreamweaver
1scrollnet
 
Posts: 10
Joined: Tue Jan 23, 2007 8:50 am
Location: Singapore


Who is online

Users browsing this forum: No registered users and 4 guests