Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > MouseOver

Reply
Thread Tools

MouseOver

 
 
KDawg44
Guest
Posts: n/a
 
      02-14-2008
Hi,

This is not a HUGE deal if it is not possible (and doesn't warrant a
lot of work) but I am using mouseOvers on cells in tables and rows in
tables. Due to it not being a link (a href = ) the mouse is staying a
pointer. Is there a way to manipulate the mouse to do this (other
than putting a href = # in each one)? Furthermore, is there a way to
control what the mouse is (like can I change it to a small image?)?

Thanks very much.

Kevin
 
Reply With Quote
 
 
 
 
David Mark
Guest
Posts: n/a
 
      02-14-2008
On Feb 14, 6:22*pm, KDawg44 <KDaw...@gmail.com> wrote:
> Hi,
>
> This is not a HUGE deal if it is not possible (and doesn't warrant a
> lot of work) but I am using mouseOvers on cells in tables and rows in
> tables. *Due to it not being a link (a href = ) the mouse is staying a
> pointer. *Is there a way to manipulate the mouse to do this (other


You mean it is the default cursor (typically an arrow.) Are the cells
clickable? If so, you can use CSS to change it to a pointer
(typically a hand with one finger extended.)

> than putting a href = # in each one)? *Furthermore, is there a way to
> control what the mouse is (like can I change it to a small image?)?


Yes, but this is off-topic here. Ask in a CSS group.

 
Reply With Quote
 
 
 
 
SAM
Guest
Posts: n/a
 
      02-14-2008
KDawg44 a écrit :
> Hi,
>
> This is not a HUGE deal if it is not possible (and doesn't warrant a
> lot of work) but I am using mouseOvers on cells in tables and rows in
> tables. Due to it not being a link (a href = ) the mouse is staying a
> pointer. Is there a way to manipulate the mouse to do this (other
> than putting a href = # in each one)? Furthermore, is there a way to
> control what the mouse is (like can I change it to a small image?)?


use CSS

td { cursor: pointer }

or

#myTable td { cursor: url(myPointer.gif), pointer; }

or :

<td style="cursor:url(myPointer.gif),pointer"
onmouseover="dothat()"
onmouseout="comeback()">

<http://www.w3.org/TR/CSS21/ui.html#propdef-cursor>
<http://www.w3.org/TR/CSS21/indexlist.html>

--
sm
 
Reply With Quote
 
KDawg44
Guest
Posts: n/a
 
      02-15-2008
On Feb 14, 6:45 pm, SAM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
> KDawg44 a écrit :
>
> > Hi,

>
> > This is not a HUGE deal if it is not possible (and doesn't warrant a
> > lot of work) but I am using mouseOvers on cells in tables and rows in
> > tables. Due to it not being a link (a href = ) the mouse is staying a
> > pointer. Is there a way to manipulate the mouse to do this (other
> > than putting a href = # in each one)? Furthermore, is there a way to
> > control what the mouse is (like can I change it to a small image?)?

>
> use CSS
>
> td { cursor: pointer }
>
> or
>
> #myTable td { cursor: url(myPointer.gif), pointer; }
>
> or :
>
> <td style="cursor:url(myPointer.gif),pointer"
> onmouseover="dothat()"
> onmouseout="comeback()">
>
> <http://www.w3.org/TR/CSS21/ui.html#propdef-cursor>
> <http://www.w3.org/TR/CSS21/indexlist.html>
>
> --
> sm


Thanks! I was looking in the wrong spot!

I have tried the CSS but am having trouble for some reason:

.mouseOverCell { background-color: #FFCCDD; font-family: "Helvetica";
font-size: 10pt; color: #FF00CC; font-weight: bold; cursor: url(inc/
pawprint.gif); }

But I have posted this on a CSS board.

Thanks for your help!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mouseover highlight of datagrid row TJS ASP .Net 1 02-17-2004 01:36 PM
How can I do text1.text=dropdownlist1.DataTextField on "dropdownlist1.MouseOver"? Morten ASP .Net 2 12-19-2003 06:16 PM
ASP dotnet question - mouseover Steve Chatham ASP .Net 1 11-17-2003 08:32 PM
Need help with hyperlink mouseover wazoo ASP .Net 2 10-24-2003 06:27 PM
Re: LinkButtons and MouseOver Vidar Petursson ASP .Net 1 07-09-2003 07:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57