Script to get photos zoom to full screen. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Script to get photos zoom to full screen.

I need a JavaScript for a photo gallery full of thumbnails, something very simple, I'm looking for a script that "onclick" on one of those thumbnails will display the same photo on a full screen and when the user clicks a butten or outside the zoomed photo will go back to the same gallery. Can this be done with pure JavaScript or do I need JQuery to pull it off?

11th Jan 2019, 9:22 PM
Mateusz Matliński
Mateusz Matliński - avatar
3 Answers
+ 2
I want only remember than JQuery is a library written in JS 😉
11th Jan 2019, 9:38 PM
KrOW
KrOW - avatar
+ 2
What i want say is that jquery is nothing more than functions written in pure js then you can do it with either
11th Jan 2019, 9:42 PM
KrOW
KrOW - avatar
+ 1
I am a complete noob as you can tell, JQuery seems to me like black magic :(
11th Jan 2019, 9:40 PM
Mateusz Matliński
Mateusz Matliński - avatar