While the city slept, Randy Webb (Hi************@aol.com) feverishly
typed...
2g*****@gmail.com said the following on 3/10/2007 2:35 PM:
>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?
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
--
Nigel Moss
http://www.nigenet.org.uk
Mail address will bounce.
ni***@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"