From: sh0rtie <tra...@ho...> - 2004-07-28 15:04:28
|
Or via js and the api , just do in your code if(is.dom) yourDynlayerRef.css.cursor= (is.ie?"hand":"pointer"); or make a function DynLayer.prototype.setCursor = function (str){ if(is.dom||is.ie){ this.ctype = str || "default"; if(is.ie) this.ctype = this.ctype.replace("pointer","hand"); this.css.cursor = this.ctype; }} yourDynlayerRef.setCursor("pointer"); enjoy ----- Original Message ----- From: "Doug Melvin" <do...@cr...> To: <dyn...@li...> Sent: Monday, July 26, 2004 6:13 PM Subject: Re: [Dynapi-Help] muose cursor > this will work in any 4+ browser with the esxception of NS 4.x (of course) > ----- Original Message ----- > From: "Matthias Foschepoth" <m.f...@iq...> > To: <dyn...@li...> > Sent: Monday, July 26, 2004 8:12 AM > Subject: RE: [Dynapi-Help] muose cursor > > >> With stylesheets? >> >> I.e. put some HTML into the layer: >> <span class="classname">[...Content for the layer...]</span> >> >> <style type="text/css"> >> .classname { >> cursor:pointer; >> } >> </style> >> >> >> I hope this helps, >> >> Matthias >> >> > -----Original Message----- >> > From: dyn...@li... >> > [mailto:dyn...@li...] On Behalf Of antonio >> > Sent: Monday, July 26, 2004 11:42 AM >> > To: dyn...@li... >> > Subject: [Dynapi-Help] muose cursor >> > >> > >> > >> > >> > I all, >> > anybody know how can I change the muose cursor when it's over a layer? >> > >> > Antonio >> > <snip spam> |