I need a tag that doesn't go anywhere when I click on it but will show the little hand with index finger outstretched like I am hovering over the text teh tag applies to. I googled for a while, but could not find anything related to what I am looking for. I need this because I am writing a file that will execute a javascript function when I click on it, which will display some new information, so I want it to appear to the user that he/she is clicking on a link.
hinde 0
Junior Poster in Training
Recommended Answers
Jump to Post<A HREF="#">Link Here</A>
?
Jump to PostThe last suggestion is the best. An anchor tag with the href set to "#" will navigate to the TOP of the page when clicked, which isn't quite the same thing as "go nowhere".
Similarly, using an empty JavaScript is... well, silly, in my opinion.
So I second …
Jump to PostHere is a whole thread on the matter with many alternatives:
http://www.expertsrt.com/phpBB2/viewtopic.php?p=6668&sid=73845159058ec922f8d484e1acd201b5I agree that using a dummy javascript call is best.
Jump to PostBTW "cursor:hand" only works in IE. The correct W3C standard is actually "cursor:pointer," which will work across all major browsers.
Welcome to the community Johnny but try not to revive 4 year old threads in the future.
All 14 Replies
Comatose 290
Taboo Programmer Team Colleague
hinde 0
Junior Poster in Training
iammatt 0
Newbie Poster
tgreer 189
Made Her Cry Team Colleague
Esopo 4
Junior Poster in Training
johnnycho 0
Newbie Poster
ShawnCplus 456
Code Monkey Team Colleague
Dani 4,084
The Queen of DaniWeb Administrator Featured Poster Premium Member
ShawnCplus 456
Code Monkey Team Colleague
johnnycho 0
Newbie Poster
Molemann 0
Newbie Poster
SKANK!!!!! 5
Posting Pro in Training
fxm 23
Posting Pro
SKANK!!!!! 5
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.