Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Close pop up window and hyperlink( a little tricky)


Message #1 by "Meish Haynes" <meishh@h...> on Fri, 7 Feb 2003 15:44:45
Actually, I think it was cursor:hand; up till IE 5.5 (and it's still 
there, for backwards compatibility.)
(From MSDN:
"pointer :Internet Explorer 6 and later. Hand with the first finger 
pointing up, as when the user moves the pointer over a link. Identical 
to hand. ")

I think that the best way to do it is cursor:hand; cursor:pointer;, 
unless you're only targetting
IE 6+ and Netscape 6+.

But cursor:pointer; is definitely the way to go in the long run, since 
it's
the standard way of doing it.


/Robert


-----Original Message-----
From: SEAK, Teng-Fong [mailto:tfseak@f...]
Sent: den 7 februari 2003 19:24
To: javascript
Subject: [javascript] RE: Close pop up window and hyperlink( a little 
tricky)


	"pointer" is the standard W3C CSS2 cursor's value : 
http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props

	"hand" was Microsoft's way of doing the same thing in older IE.  Is 
that IE4.0, Robert ?

> -----Message d'origine-----
> De : Chris Scott [mailto:chris@e...]
> Envoy=E9 : vendredi 7 f=E9vrier 2003 19:04
> =C0 : javascript
> Objet : [javascript] RE: Close pop up window and hyperlink( a little
> tricky)
>
>
> style=3D"cursor: hand;" ?
>
> ----- Original Message -----
> From: "SEAK, Teng-Fong" <tfseak@f...>
> To: "javascript" <javascript@p...>
> Sent: Friday, February 07, 2003 4:32 PM
> Subject: [javascript] RE: Close pop up window and hyperlink( a little
> tricky)
>
>
> Or even better : you don't have to make the image a hyperlink.  Just
> move your onclick, onmouseover, onmouseout to within img element.  If
> you need the mouse pointer to change to hand, do like this:
> <img ....  style=3D"cursor: pointer;">
>


  Return to Index