Skip to content Skip to sidebar Skip to footer

Changing The Mouse Cursor On An Iframe

I want to cancel the mouse cursor from hand to default (where that white arrow appears instead). I have a simple iframe..but I think that there is a link inside the iframe that cau

Solution 1:

If you have access to the CSS of iframe src. Add -

a{ cursor: default; } //in iframe src CSS

if not you can do this with jquery if the iframe is in the same domain -

$("#iframe").contents().find("a").css('cursor', 'default');

EDIT: If it is facebook like button then check this facebook developer portal, it gives you options to style its components - http://developers.facebook.com/docs/reference/plugins/like/


Post a Comment for "Changing The Mouse Cursor On An Iframe"