DIR : /home/kozerus/public_html/piwigo/themes/modus/js/modus.async.js
/home/kozerus/public_html/piwigo/themes/modus/js
$("#albumActionsSwitcher").click( function() {
var box = $(this).siblings(".categoryActions");
if (box.is(":visible")) {
box.css("display", ""); // remove inline css in case browser resizes larger
}
else {
$("#menubar,.switchBox").css("display", "");
box.css("left", Math.min( $(this).position().left, $(window).width() - box.outerWidth(true) - 5))
.css("top", $(this).position().top + $(this).outerHeight(true))
.css("display", "block");
}
});
if ( !("ontouchstart" in document) )
$(".categoryActions").on("mouseleave", function() {
if ($("#albumActionsSwitcher").is(":visible"))
$(this).css("display", ""); // remove inline css in case browser resizes larger
});
$("#imageActionsSwitch").click( function() {
var box = $(".actionButtons");
if (box.is(":visible")) {
box.css("display", ""); // remove inline css in case browser resizes larger
}
else {
$("#menubar,.switchBox").css("display", "");
box.css("left", Math.min( $(this).position().left, $(window).width() - box.outerWidth(true) - 5))
.css("top", $(this).position().top + $(this).outerHeight(true))
.css("display", "block");
}
});
if ( !("ontouchstart" in document) )
$(".actionButtons").on("mouseleave", function() {
if ($("#imageActionsSwitch").is(":visible"))
$(this).css("display", ""); // remove inline css in case browser resizes larger
});
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer