GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   quick/easy html question (https://gfy.com/showthread.php?t=942086)

xxweekxx 12-06-2009 03:07 PM

quick/easy html question
 
how do i do this?

I want so when people CLICK a link, it will scroll to a certain part of my page.. ive seen it tons of times but i 4got how to do it?

Basically when someone clicks a link, itll be like # and it will scroll to a part of my page..

Cyber Fucker 12-06-2009 03:17 PM

Code:

Menu:
<a href="#Part-of-the-page-to-go">Blah Blah 1</a>
<a href="#Part-of-the-page-to-go-2">Blah Blah 2</a>

Blah Blah 1

<a name="#Part-of-the-page-to-go"></a>

Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah

Blah Blah 2

<a name="#Part-of-the-page-to-go-2"></a>

Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah

Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah


Cyber Fucker 12-06-2009 03:20 PM

or see the page source of the sites that are using this technique

Cyber Fucker 12-06-2009 03:24 PM

here is the info of name attribute http://www.w3schools.com/HTML/html_links.asp

xxweekxx 12-06-2009 06:17 PM

so i guess i can use this?

<a name="label">Any content</a>

<a href="#label">Any content</a>

mona 12-06-2009 06:22 PM

Quote:

Originally Posted by xxweekxx (Post 16620885)
so i guess i can use this?

<a name="label">Any content</a>

<a href="#label">Any content</a>

Yep :thumbsup

fatfoo 12-06-2009 11:43 PM

Yeah, I think you got some explanations above.


All times are GMT -7. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc