# HG changeset patch # User Matti Hamalainen # Date 1521466111 -7200 # Node ID cd09052cf5db0cc0504a6f3ddf02294339326110 # Parent 4150b412a783c72a2ef432523fe427c781605e3f Rename a CSS id selector. diff -r 4150b412a783 -r cd09052cf5db basic.css --- a/basic.css Mon Mar 19 13:51:53 2018 +0200 +++ b/basic.css Mon Mar 19 15:28:31 2018 +0200 @@ -197,8 +197,8 @@ border: 0.2em solid white; } -#imageCBox { position: absolute; +#pageImageBox { top: 0; bottom: 0; left: 0; @@ -280,7 +280,7 @@ font-size: 1.25em; } -#imageCBox div.imageCaption { +#pageImageBox div.imageCaption { background: #350; z-index: 12; } diff -r 4150b412a783 -r cd09052cf5db mgallery.php --- a/mgallery.php Mon Mar 19 13:51:53 2018 +0200 +++ b/mgallery.php Mon Mar 19 15:28:31 2018 +0200 @@ -587,8 +587,8 @@ // Hovering navigation buttons "_\n". "^\n". - // imageCBox - "
\n". + // pageImageBox + "
\n". mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". "
". @@ -598,7 +598,7 @@ mgGetNaviControlImageBoxJS($galImagesIndex, $index, "nextBtm", 1)."\n". mgGetNaviControlImageBox($galImagesIndex, $index, "next", 1)."\n". (isset($data["caption"]) ? "
".mgGetArrStr($data, "caption", "%1")."
\n" : ""). - "
\n". // imageCBox + "
\n". // pageImageBox // infoBox "
\n". mgGetArr($data, "datetime", "%1\n", "", "mgTimeStr"). @@ -621,7 +621,7 @@ ?> mgalDisplayInfo(false); mgalAddEvent("pageInfoButton", "click", mgalOpenInfo); -mgalAddEvent("imageCBox", "click", mgalCloseInfo); +mgalAddEvent("pageImageBox", "click", mgalCloseInfo); mgalAddEvent("imageImage", "load", mgalAdjustImageDo); mgalAddEventOb("window", window, "resize", mgalAdjustImage);