(added code to zoom into figures) |
m (edits on zoom feature) |
||
Line 112: | Line 112: | ||
$("#cover").css({"background":"rgba(0, 0, 0, 0.5)"}); | $("#cover").css({"background":"rgba(0, 0, 0, 0.5)"}); | ||
$("#cover-box").css({"background":"rgba(255, 255, 255, 1)"}); | $("#cover-box").css({"background":"rgba(255, 255, 255, 1)"}); | ||
+ | $("#cover-box-img").css({"background":"rgba(255, 255, 255, 1)"}); | ||
+ | $("#cover-box-text").css({"background":"rgba(255, 255, 255, 1)"}); | ||
}); | }); | ||
Line 480: | Line 482: | ||
$("#cover-img").height($newSize + "px"); | $("#cover-img").height($newSize + "px"); | ||
} | } | ||
+ | $size = $("#cover-set").width(); | ||
+ | /*if ($size > $("#cover-box").width()) { | ||
+ | $newSize = ($("#cover-box").width()); | ||
+ | $("#cover-img").width($newSize + "px"); | ||
+ | }*/ | ||
$("#cover-p").html($p.html()); | $("#cover-p").html($p.html()); | ||
$(".cover").fadeIn(200); | $(".cover").fadeIn(200); |
Revision as of 12:04, 26 September 2017