GBS Posted May 29, 2006 Share Posted May 29, 2006 Hi to all,So, the plan is to change the cursor using map/area tags,...If you could please check the link: [a href=\"http://bdmusique.free.fr/scripts/s1/\" target=\"_blank\"]testing,,[/a]You could see what I've tried,, without success,, :(The best result I get is:[code]<map id ="map4" name="map4" onmouseover="window.document.body.style.cursor='pointer';" onmouseout="window.document.body.style.cursor='default';"><area shape ="poly" coords="5, 0, 100, 10, 94, 66, 0, 50"></map>[/code]That one works with IE, but not with FF,, (& I'm pretty sure there is a little bug with firefox, while using <area> tags & cursor properties,,...)so my question would be,... is it do-able or not ? :)Thanks in advance for any help/hack/tips on it,,l8tr,, Quote Link to comment Share on other sites More sharing options...
nogray Posted May 30, 2006 Share Posted May 30, 2006 You need to apply the effect to the image rather than the body and place it in the area tag instead of the map tag, kinda like this[code]<img id="img_id" src="image.gif" border="0" usemap="#map4" /><map id ="map4" name="map4"><area shape ="poly" coords="5, 0, 100, 10, 94, 66, 0, 50" onmouseover="document.getElementById('img_id').style.cursor='pointer';" onmouseout="document.getElementById('img_id').style.cursor='';"> </map>[/code]but this won't work on Opera. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted May 31, 2006 Share Posted May 31, 2006 Its not so much a bug with Firefox, more of the fact that Firefox is strict when it comes to rendering pages where IE is relaxed. IE will let you get away with a lot more than Firefox will. Make a small error in some HTML and it'll go unnoticed in IE. Quote Link to comment Share on other sites More sharing options...
GBS Posted June 13, 2006 Author Share Posted June 13, 2006 Hi,,Yesideez,, nogray,,Thanks for the tips & the infos,,... I will check that & do some more tests,,l8tr,, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.