css - jQuery offset issue: not changing the position of a SWF -
I have a SWF overlay on top of a HTML button I get offset by jQuery to get the coordinates and to transfer to SWF I use the function. Unfortunately, it seems that SWF is not transferred.
var offset = $ ("#button"). Offset (); $ ("# SWF") Offset $ ("# SWF") CSS ({'left': offset.left, 'top': offset.top}); $ ("# SWF") Offset ({Top: 10, left: 30});
I have tried those 3 lines, and the offset has never changed, I do not know why.
I hope someone can help me.
Edit:
I realized that:
$ ("# SWF"). CSS ({'left': offset.left, 'top': offset top});
is working, but in fact I was using Domwindo, I had to change the situation and Zee-index. I still have a problem, SWF is not directly above the button, is it right down to anyone please know why?
Thank you very much,
Rudy
on SWF Set up wmode for "transparent", and make sure that the z-index button of SWF is higher than the z-index.
Comments
Post a Comment