Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Fancy Zoom ... is working, but where is the overlay?
After some thinking and trying this will execute the overlay:
// Select all links set the overlay opacity to 80%
$('a').fancyzoom({overlay:0.6,showoverlay:true});
It’s strange because the showoverlay:true
should be ‘on’ as a default setting. And there is something else … if the overlay is there, put your cursor outside the imagebox … !?
Btw … on the site where I got the plugin from the same thing is happening!
Last edited by RedFox (2009-01-26 11:09:03)
Offline
Re: Fancy Zoom ... is working, but where is the overlay?
It’s because cursor:"wait"
is specified in the css for the overlay in the javascript for adding the overlay in jquery.fancyzoom.js
:
$.fn.fancyzoom = function(userOptions) {
//the var to the image box div
var oOverlay = $('<div>').css({
height: '100%',
width: '100%',
position:'fixed',
left: 0,
top: 0,
cursor:"wait"
});
TXP Builders – finely-crafted code, design and txp
Offline
Re: Fancy Zoom ... is working, but where is the overlay?
@jakob: You’re my hero … :) … but can I change or delete it without Fancy Zoom is falling apart? [edit: yes I can … :)]
I don’t know the reason why there is (was) a waiting cursor in the first place …
Last edited by RedFox (2009-01-26 11:54:35)
Offline