Would it be possible, in principle, to set up a visible or hidden counter for each photo?
Markus
Counter
Page: 1
Author | Post |
---|---|
#1 Wed Nov 26, 2008 6:47 am
|
|
Member
Registered: Nov 2008
Posts: 26
|
|
#2 Wed Nov 26, 2008 3:02 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Hi Markus,
By 'counter', I assume you mean a hit counter that keeps track of how many times an image was clicked. I can't think of anything in floatbox that could be used to help with this. I've been considering adding onOpen and onClose callback options that would invoke user-supplied functions, but I'm by no means committed to doing this. You could consider counting clicks with server-side code by serving up the images from an asp or php page. The href would look something like getImage.php?img=pic1.jpg, you would need to include type:img on the floatbox options, and you would need to push the appropriate image mime type headers to the browser in advance of delivering the image. |
#3 Tue Dec 02, 2008 9:49 am
|
|
Member
Registered: Nov 2008
Posts: 26
|
Thank you for all the tips, but I'm toooo blond to integrate a counter. More tips in 02/2009, please.
I wish you a wonderful time in Southeast Asia. Markus |
Page: 1