![]() |
|
imageDesc onclick change help - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: imageDesc onclick change help (/thread-6438.html) |
imageDesc onclick change help - fadingdots - 2010-01-13 I'm trying to set up my page where when you click on the thumbnail, the full image appears above, as well as the image description. I managed to get the image part to work fine using javascript, but for some reason, never seems to work, even for the default refresh of the page, which starts with the album thumbnail loaded full-sized. I'm quite new to PHP so forgive me if it's a simple fix. You can view the page in question here: http://halkatzengallery.com/zenphoto/vija-celmins imageDesc onclick change help - acrylian - 2010-01-13 Well, that function requires the context of the image it belongs to. The global image object In short this way it won't work. imageDesc onclick change help - fadingdots - 2010-01-19 Hm, I had a friend look it over & set it up. You can go back to the site to test it out. I'm on a deadline for the site's release, but I'll post an explanation of the code in a few days if it seems like something new/interesting to others. Perhaps I didn't explain what I wanted proper... |