 |
| Javascript General Javascript discussions. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

November 7th, 2005, 06:02 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
onMouseOver does not work in FireFox
Is there any way onMouseOver can work in Firefox and other non-IE browsers?
Code:
onMouseOver="style.cursor='hand'"
This code above works 100% in IE, but not in OP/FF. Is there any way around this?
Picco
www.crmpicco.co.uk
|
|

November 7th, 2005, 06:13 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
If you don't use a proprietary MS extension... Try 'pointer' instead of 'hand'.
Why take the way over JavaScript to set a CSS property instead of doing it directly with CSS though?
--
http://yupapa.com
|
|

November 7th, 2005, 06:23 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks, that code works on FF and IE.
www.crmpicco.co.uk
|
|

November 7th, 2005, 06:25 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
just thinking, is there any way to get it working in OP as well? Just tested it on OP and it doesnt work. Tried google, but no joy.
www.crmpicco.co.uk
|
|

November 7th, 2005, 06:25 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

November 7th, 2005, 06:34 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Works fine in Opera, Maybe you have turned JS off. Which wouldn't be a problem if you used CSS to begin with. :D
--
http://yupapa.com
|
|

November 7th, 2005, 09:29 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
that sounds ideal, you got code to do it in CSS?
www.crmpicco.co.uk
|
|

November 7th, 2005, 09:48 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
cursor: pointer
--
http://yupapa.com
|
|

November 7th, 2005, 09:50 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

November 7th, 2005, 10:22 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Code:
.selects {color: black; font: 7pt Verdana, Arial, Helvetica, sans-serif;}
<select name="paxmeal1" class="selects">
<option value="mealcode">meal</option>
</select>
Along the same lines the above CSS styling doesnt work on FF, but does on IE??
This time i am using CSS??
Picco
www.crmpicco.co.uk
|
|
 |