Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping Cursor As Arrow Over Links 2

Status
Not open for further replies.

nhoh

Technical User
Apr 21, 2001
9
US
Hi Folks,

So I've seen lots of different javascripts for how to change a cursor from an arrow to something else when over a link but I was wondering if there was a script to keep the arrow as an arrow, I don't want users to know that there is a hidden link. Any ideas?

Cheers.

Nick
 
<a href=&quot;hiddenlink.html&quot; style=&quot;cursor: default&quot;>This is not a link, just underlined blue text :- )</a>

P.S. Some browsers, such Netscape 4.* and Opera 6.* do not support this style.

Regards,
Sergey Smirnov
 
Dang you sim777,
you got there right before me!!! Just kidding it doesnt matter. ;)


Code One
 
Hi Folks,

Thanks for all the help, one other wrinkle to my question. I tried what you both suggested and it works great! Now what if I wanted to do the same thing with an image map. I tried to do the same thing but it didn't seem to work. Any ideas? This is what I've got

<map name=&quot;Map&quot;>
<area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot; href=&quot;Compose_Survey_V3a.html&quot;; style=&quot;cursor:default&quot;>
</map>

Cheers,

Nick
 
Sir,
Try this:

<map name=&quot;Map&quot;>
<a href=&quot;Compose_Survey_V3a.html&quot; style=&quot;cursor:default&quot;><area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot;;></a>
</map>

If that doesnt work try this:

<map name=&quot;Map&quot;>
<a href=&quot;#&quot; style=&quot;cursor:default&quot;><area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot; href=&quot;Compose_Survey_V3a.html&quot;;></a>
</map>


Hope that helps out!

Code One
 
Hmm no luck with either, I'm using IE6. With the first suggestion

<map name=&quot;Map&quot;>
<a href=&quot;Compose_Survey_V3a.html&quot; style=&quot;cursor:default&quot;><area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot;;></a>
</map>

The image map area never became a link.

With the second suggestion

<map name=&quot;Map&quot;>
<a href=&quot;#&quot; style=&quot;cursor:default&quot;><area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot; href=&quot;Compose_Survey_V3a.html&quot;;></a>
</map>

The cursor still became a hand :-(
 
One last idea try doing this:

<style>
A.default {cursor:default}
</style>

<map name=&quot;Map&quot;>
<a href=&quot;#&quot; class=&quot;default&quot;><area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot; href=&quot;Compose_Survey_V3a.html&quot;;></a>
</map>

and if that doesnt work try this:

<style>
A.default {cursor:default}
</style>

<map name=&quot;Map&quot;>
<area shape=&quot;poly&quot; coords=&quot;24,124,39,108,54,124&quot; href=&quot;Compose_Survey_V3a.html&quot;; class=&quot;default&quot;>
</map>

I am not too up in up on maps so Im totally guessing, but hey who knows it might just work.

I hope so!

Code One

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top