![]() |
|
Need help for little change - 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: Need help for little change (/thread-2221.html) |
Need help for little change - covic - 2008-02-08 Hi@ All in which php file is the album view function stored? Is it possible? Thx Covic Need help for little change - sbillard - 2008-02-09 Album view is done in albums.php. But, that is for album thumbnails. If you click on one of these once you are taken to image.php, so I don't see how you will implement your click twice function. Need help for little change - DirkSohler - 2008-02-09 Do it via Javascript. Make a or around the image and have a look here: http://www.w3schools.com/jsref/jsref_ondblclick.asp Maybe you want to build a display function by yourself to “disable†the link. But keep in Mind: Always provide navigation possible without Javascript enabled. Need help for little change - covic - 2008-02-09 Hi, thank you for first answers but i think i didnt describe my wish correct. I didnt mean a action on a mouse doubleclick. When clicking on a thumb image is show bigger (medium). When you click on medium image browser opens the image in original size which is very big on a eos 5d cam. So I would like that when you click on a medium image once the browser should open a new window to display image full size. Regards Covic Need help for little change - jsumners - 2008-02-10 That would be something to implement in the theme, I believe. And, yes, you would use javascript to do it.
Something like that. Need help for little change - covic - 2008-02-11 Thank you. I will try this. Need help for little change - trisweb - 2008-02-12 Or you can just use
Need help for little change - covic - 2008-02-12 Hi i cant find the file in theme were this is located. Please help once more. Need help for little change - acrylian - 2008-02-12 Look at image.php Need help for little change - jsumners - 2008-02-12 I don't recommend target="_blank" because that is a broken way to do it. The target attribute is not part of either HTML 4.01 Strict of XHTML 1.0 Strict. The method I suggested opens the image in a new window if the user has javascript enabled, and the current window if he doesn't. Need help for little change - covic - 2008-02-19 Thank you all very much! It works perfect. |