I'm using Uploadify with an image but开发者_如何学Pythonton. Everything works. Except, I need to have a cursor:crosshair;
instead of a cursor:default;
, on mouse hover.
I tried setting it in CSS as such:
object { cursor:crosshair; }
The cursor does not change.
One theory, is inside the flash object they are setting the cursor. Is there some kind of workaround / solution for this?
The object will accept style attributes to demostrate that try:
object {visibility: visible;}
or
object {visibility: hidden;}
The problem is the .swf being displayed inside the object does not use external CSS. You only have access to style the object which contains the .swf flash handles the rendering for the actual button. While uploadify can accept many parameters from the uploadify method, such as buttonImg, width, and height there is no parameter for a cursor argument. The only other option you have is to modify the uploadify.fla to handle the cursor and publish a new uploadify.swf.
If you have Flash find the line in the ActionScript that has:
browseBtn.useHandCursor = true;
Change that line to this:
browseBtn.useHandCursor = false;
This is change it from CSS cursor ~ 'pointer' to 'arrow'
*Flash does not have a MouseCursor of 'crosshair' only ARROW, AUTO, BUTTON, HAND, and IBEAM, but you can craft your own
精彩评论