Thursday, October 18, 2012

Some random solutions certain problems

If you ever have problems accessing a certain file on the server and might be 'pointing' to it correctly, try changing the writing permissions for that file.

Having an issue with 'flyout' zoom not aligning properly on the ipad using jquery.jqzoom-core.js ? Go to the line 535 and near it you should find
this.node.leftpos = (smallimage.rightlimit + Math.abs(settings.xOffset) + 
settings.zoomWidth < screen.width) ? (smallimage.ow + Math.abs(settings
.xOffset)) :
 (0 - settings.zoomWidth - Math.abs(settings.xOffset));
 
Replace it with:
if (navigator.userAgent.match(/iPad/i) != null) {
    this.node.leftpos = (smallimage.ow + Math.abs(settings.xOffset));
} else {
    this.node.leftpos = (smallimage.rightlimit + Math.abs(settings.xOffset) 
    + settings.zoomWidth < screen.width) ? (smallimage.ow + Math.abs
   (settings.xOffset)) : 
   (0 - settings.zoomWidth - Math.abs(settings.xOffset));
}
 
Having a problem where spec browsers cut the buttons or their background?
Try to use fixed width, or adjust the button line height 

No comments:

Post a Comment