Make text behave like hyperlink

2

2good2b

Hi, I have an "A" object without an href
<a onClick="openwindow()">some text<a>
Is there any way to make it behave like a hyperlink? i.e. to have a
hand when the cursor hoovers above it?
Thanks
 
N

nice.guy.nige

While the city slept, Randy Webb ([email protected]) feverishly
typed...
(e-mail address removed) said the following on 3/10/2007 2:35 PM:

Yes, make it a hyperlink...

<a href="nowhere.html" onclick="openwindow();return false">some
text</a>

Or even better, have the link open the file that openwindow() opens, so that
the page is still available to users without javascript...

Cheers,
Nige
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top