Very simple image popup script - no gallery

HearthrobZ

New Member
I need a very simple image popup javascript that follows these requirements:[*]there are two images - a thumbnail and a main image, pre-resized to140x140 and fit-to-800x700-box.[*]I can write js function to convert thumbnail filename (uri) to a big image filename. It'll be something like .jpg for original size and -tm.jpg for thumbnail.[*]There must be a clickable blackout. Blackout will close the image[*]animation is not required, it's not a problem to have one. If there is animation it must be quick and short.[*]close button is optional, but click on blackout or image should close the image[*]optionally (would be great) to have a descriptive text that I can set (won't be in english) to say "click on the photo to close it".[*]must be cross-browser compatible. This means to work on IE7+, firefox 3.6+, google chrome (you have no choice of version here). Optionally IE6 and android could be included. It would be great to have fallback alternative on unsupported browsers to open popup window.There are tons of scripts on the net, but most are too complex to setup with huge count of transition effects, animations, borders, etc.Note that I ask this question because I don't won't to spend hours on reading (possibly unclear) documentation for something so simple. I would also accept all the very unnecessarily complex libraries if someone gives me sample of settings to achieve my requirements.Thanks in advance!
 
Back
Top