i installed shadowbox plugin 0.4 for wordpress and got an problem
when i drag the pic, it moves 5px to the right and at the left side stays a black margin
how can i slove this problem? or what is the problem
here are two links with pics where you can see it
it is in firefox and ie6
That would be because of a bug in Shadowbox 'drag', whereby the current_width (as provided by getDimensions()) of shadowbox_body has borders and margins included whereas the drag layer doesn't. Therefore, when calculating drag.x (in positionDrag()) the 'current_width - optimal_width' also needs to have the shadowbox_body's left/right border widths and margins subtracted.
Combine literacy with curiosity and a whole world of information opens up to you