![]() |
|
permanent links to photo shown in lightbox - 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: permanent links to photo shown in lightbox (/thread-1207.html) |
permanent links to photo shown in lightbox - monster - 2007-02-27 Hi, permanent links to photo shown in lightbox - trisweb - 2007-02-27 Definitely possible. The idea is to get the request url (window.location, I believe) in the Javascript on the page, which includes the image filename after the # sign (an HTML anchor, normally) then use that string to load the correct image after the page loads. It's a good practice for javascript-based pages. Another good practice is to actually change that window.location when changing images, so the back/forward buttons can work, the history is intact, and bookmarks can be made. It's actually a good way to do things. I've been planning on making a javascript-based theme for ages now.. I hope I get the time soon, because it'd be really freakin cool. permanent links to photo shown in lightbox - monster - 2007-02-27 I'll be waiting for this cool feature |