Re: onclick question
am 21.09.2006 20:29:54 von Dave Anderson
Todd wrote:
>>>> ...The [onclick] attribute applies to virtually every
>>>> element, not to mention the [cursor] CSS rule:
>>>>
>>>> http://www.w3.org/TR/html4/interact/scripts.html#adef-onclic k
>>>> http://www.w3.org/TR/CSS21/ui.html#propdef-cursor
>>
> Thank You...I see what you mean now.....is there a way to
> replicate the "finger cursor" that comes up when an anchor
> is used...looked into onMouseover but this seems to change
> the text that the mouse is moving over, not the curser
> itself.
Again, my original response contains the answer. You can use styles inline
or through a CSS rule. Here is inline:
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Re: onclick questionam 21.09.2006 20:49:02 von Todd
"Dave Anderson" wrote:
> Todd wrote:
> >>>> ...The [onclick] attribute applies to virtually every
> >>>> element, not to mention the [cursor] CSS rule:
> >>>>
> >>>> http://www.w3.org/TR/html4/interact/scripts.html#adef-onclic k
> >>>> http://www.w3.org/TR/CSS21/ui.html#propdef-cursor
> >>
> > Thank You...I see what you mean now.....is there a way to
> > replicate the "finger cursor" that comes up when an anchor
> > is used...looked into onMouseover but this seems to change
> > the text that the mouse is moving over, not the curser
> > itself.
>
> Again, my original response contains the answer. You can use styles inline
> or through a CSS rule. Here is inline:
>
>
>
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message. Use
> of this email address implies consent to these terms.
>
>
>
Thank you...I didn't fully understand your original response, however, it
makes perfect sense now...most appreciated!
Re: onclick questionam 21.09.2006 22:36:39 von Dave Anderson
Todd wrote:
> Thank you...I didn't fully understand your original
> response, however, it makes perfect sense now...most
> appreciated!
My pleasure. It is no surprise to me that you were using ,
since there are SO MANY examples out there that use it. This is partly
because there were few alternatives many years ago, and that "trick" worked
for most browsers.
But Microsoft has applied onclick to most elements since version IE4, and
virtually everyone else has done so for the last 5 years, so it is no longer
necessary. Nevertheless, I estimate it will take at least more 5 years for
the practice to fade from documentation and use.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
| |