Only 90% percent sure it's a bug with tools 1.1.2, 10% sure I profited from a bug in tools up to 1.1.1 ;-)
By giving a navi menu a higher index than overlay and expose I managed to be able to directly access triggers for a different overlay while an overlay was open. Working example with 1.1.1 here.
The problematic code boils down to something like this (the triggers would have z-index: 2000):
With tools 1.1.2 I can still load an overlay while another one is open, but then expose is not cleared once I close the overlay.
I've set up a small sample page that demonstrates the problem: Click on a trigger while an overlay is open, and then close the overlay, the expose color does not go away.
How can I achieve my desired behaviour with 1.1.2? Or is it a bug?
By giving a navi menu a higher index than overlay and expose I managed to be able to directly access triggers for a different overlay while an overlay was open. Working example with 1.1.1 here.
The problematic code boils down to something like this (the triggers would have z-index: 2000):
var olo = false;
$("a[rel]").overlay({
expose: {zIndex: 500, color: "#333333"},
zIndex: 1000,
onBeforeLoad: function () {
if (olo) {
return false;
}
olo = true;
},
onBeforeClose: function () {
olo = false;
}
});
With tools 1.1.2 I can still load an overlay while another one is open, but then expose is not cleared once I close the overlay.
I've set up a small sample page that demonstrates the problem: Click on a trigger while an overlay is open, and then close the overlay, the expose color does not go away.
How can I achieve my desired behaviour with 1.1.2? Or is it a bug?
