mirror of
https://github.com/FunKey-Project/FunKey-Project.github.io.git
synced 2025-12-12 18:28:51 +01:00
make the lightbox use the selected thumbnail
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
78f2851260
commit
2ee7d24cd9
@ -131,6 +131,7 @@ $(".step-thumb").on("mouseover", function() {
|
||||
|
||||
/* Set picture image source to the thumbnail image source */
|
||||
$(this).closest(".step").find(".step-picture").attr("src", $(this).attr("src"));
|
||||
$(this).closest(".step").find(".boxedThumb").attr("href", $(this).attr("src"));
|
||||
|
||||
/* Activate the corresponding thumbnail and deactivate all others */
|
||||
$(this).addClass("active")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user