![]() |
|
Album Rating - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Album Rating (/thread-7649.html) |
Album Rating - Sabyre - 21-09-2010 Not sure how to make this happen and could use some advice and guidance. Looking to make a small window popup when a visitor leaves the current album and has not rated it. The popup should contain the raing form and some simple text like: "You have not rated this album, please rate". Or somthing to that effect. Basically links that dont have a difined target and that are not within the same album contex should make this popup happen. This should work for album.php and image.php. Any ideas? .htaccess? Thanks Album Rating - sbillard - 21-09-2010 You will need to create a javaScript() handler for the "unload" event. See http://javascript.internet.com/navigation/exit-window-source.html |