diff --git a/ui/gallery.html b/ui/gallery.html index a3e44162..cd5f3cfc 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -60,6 +60,14 @@ $(document).ready(function() { $('.current-image').click() }); +// modes... +function showRibbon(){ + $('.hidden').removeClass('hidden') +} +function showSingle(){ + $('.field').not('.hidden').addClass('hidden') +} + // basic navigation... function prevImage(){ $('.current-image').prev('.image').click() @@ -165,6 +173,22 @@ function nextImage(){ .current-ribbon .image { } + + + /* single image theme (start everything with .hidden) */ + .hidden .image { + opacity: 0.0; + } + + .hidden .image:hover { + opacity: 0.5; + } + + .hidden .current-image:hover, .hidden .current-image { + opacity: 1.0; + } + + @@ -211,4 +235,9 @@ function nextImage(){ +

+ + + +