#below stuff herez
- 64
-
64
- Member since: Feb. 16, 2004
- Offline.
-
- Forum Stats
- Member
- Level 18
- Blank Slate
I've seen some sites where if you type the site with a # and some kind of label, it'll go down to it automatically.
How do you do that?
- seel
-
seel
- Member since: Jun. 27, 2005
- Offline.
-
- Forum Stats
- Member
- Level 21
- Musician
The site must contain labels aka anchors, that is, <a> tags with names. So if there are any <a> tags with names you just put #thenameofthetag at the end of the url to go there.
example:
[a name="asdf" id="asdf"][/a] (where [ and ] is replaced with <a nd >)
and if the url is http://www.asdf.com/bigpage.html
you change it to http://www.asdf.com/bigpage.html#asdf
- Pilot-Doofy
-
Pilot-Doofy
- Member since: Sep. 13, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (12,142)
- Block
-
- Forum Stats
- Member
- Level 37
- Musician
- henke37
-
henke37
- Member since: Sep. 10, 2004
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
Yes, you do.
Firefox(and related browsers) only uses the id.
Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.
- Jessii
-
Jessii
- Member since: Feb. 10, 2005
- Offline.
-
- Forum Stats
- Member
- Level 36
- Movie Buff
At 11/6/06 03:49 AM, henke37 wrote: Yes, you do.
Firefox(and related browsers) only uses the id.
That and if you're using XHTML, it probably won't validate without the ID. I had an image map that wouldn't validate without an ID a few months ago, so I'm assuming the same thing.
- seel
-
seel
- Member since: Jun. 27, 2005
- Offline.
-
- Forum Stats
- Member
- Level 21
- Musician
Yes it's pretty good to have both id and name or it might fuck up one or another way..

