Mercurial > hg > mgallery
changeset 198:cd09052cf5db
Rename a CSS id selector.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Mar 2018 15:28:31 +0200 |
parents | 4150b412a783 |
children | d03fad24f4bc |
files | basic.css mgallery.php |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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 "<a id=\"pageInfoButton\" href=\"#\" title=\"".mgQM("page_info_button_title")."\">_</a>\n". "<a id=\"pageUpNaviButton\" href=\"".mgGetURL($galData["path"], FALSE)."\" title=\"".mgQM("page_up_navi_button_title")."\">^</a>\n". - // imageCBox - "<div id=\"imageCBox\">\n". + // pageImageBox + "<div id=\"pageImageBox\">\n". mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". "<div id=\"imageImageBox\" class=\"imageBox\">". @@ -598,7 +598,7 @@ mgGetNaviControlImageBoxJS($galImagesIndex, $index, "nextBtm", 1)."\n". mgGetNaviControlImageBox($galImagesIndex, $index, "next", 1)."\n". (isset($data["caption"]) ? "<div class=\"imageCaption\">".mgGetArrStr($data, "caption", "%1")."</div>\n" : ""). - "</div>\n". // imageCBox + "</div>\n". // pageImageBox // infoBox "<div id=\"infoBox\">\n". mgGetArr($data, "datetime", "<span class=\"infoDateTime\">%1</span>\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);