What does the “#” do and mean after a ahref tag? I’ve seen it a lot and was just wondering what it did?
It is to link to a bookmark within a page =)
Cheers!
Kirupa :crazy:
yea… or it can be a place holder, like, go no where… ex…
< a href "#" > Dont Go anywhere please </ a >
ussually combined with javascript (this is close, may not be 100% correct…
< a href "#" onclick="java script :tallymyscores()">Who's da winner?</ a >
just some examples =)
Or just go back to the top of the site ?!
exactly like
<a name = "top">
<a #top>
something like that, i fogret…
=)
whatever, to come to a conclusion. It is freakin important and without knowing what it does, you can’t creat anything something like that
is often used when you don’t have the link targeting anything. It also brings you back to the top without a frame label.
I often void my links via javascript:void(0) instead of # because that prevents the jump to top.
Really though, the main function of # is to target a named anchor in your page to make the page jump to that anchor instead of the viewer scrolling there.
As raydred was close to doing it goes like this…
Put this before the content you want to jump to
<A NAME=“targetThisLine”>
And in your link to get it to jump to the anchor do this…
<A HREF="<B>#</B>targetThisLine">Link Text</A>
I hope that helps.
ok sure Top my answer … you always were the smarter twin… =)
LOL, I wish. You’re the funnier twin. Although you are smarter than me in that server-side stuff. You could take me in that anyday, but that’s ok, because I got you beat client-side :evil: (I think)
hahah, you guys are so funny… I really admire everyone who is really really good in server sided stuff like php + mysql. Client Sided is not that hard to learn…
Way to kick me when I am down c!rYx… or should I call you Mr. LostIsStupidCauseClientSideIsEasy ???
Now my evil twin will beat me!!!
Or am I the evil twin? I always forget.
Hm, nevermind. But lost get’s a plus point for his clean site
Are you happy now ?!?
then if he has the clean site… I AM THE EVIL ONE!! Err… i suppose the flames make it so… www.raydred.com
No 'cause I hate my site , but that’s fine, I am over it already
hehe, yeah, you should make a new one. I mean you have this site since I know you. And that is a really really long time. Seriously
lol
we’re both evil… Ha! lol
AHHH ! 700 Posts, I’m still awesome
*Originally posted by Raydred *
**lol
we’re both evil… Ha! lol **
Agreed… this works…
lol yea…
woo hoo! 772 Posts! happy posting to me… happy posting to me… awww… i have no cake… o well.