G
Guest
Hi
I need to change my mousepointer when the mouse moves over certain populated
controls on my aspx page.
I've tried the following but without success (after visiting a site
recommended from this forum, ie css cursors tutorial)
I have, in the HTML defined this
<Head>
<style type="text/css">
..xlink { CURSOR: crosshair }
</style>
....
...
</HEAD>
and in the aspx.vb page
(where lbx is a listbox class variable (for a findcontrol in a grid))
lbx.Attributes("onmouseover") = "this.style.class=""xlink"" "
which renders a syntax error (I have tried single quotes etc)
Note: changing colours in the control with the following works
'lbx.Attributes("onmouseover") = "this.style.color='red'"
any ideas / help
TIA
I need to change my mousepointer when the mouse moves over certain populated
controls on my aspx page.
I've tried the following but without success (after visiting a site
recommended from this forum, ie css cursors tutorial)
I have, in the HTML defined this
<Head>
<style type="text/css">
..xlink { CURSOR: crosshair }
</style>
....
...
</HEAD>
and in the aspx.vb page
(where lbx is a listbox class variable (for a findcontrol in a grid))
lbx.Attributes("onmouseover") = "this.style.class=""xlink"" "
which renders a syntax error (I have tried single quotes etc)
Note: changing colours in the control with the following works
'lbx.Attributes("onmouseover") = "this.style.color='red'"
any ideas / help
TIA