Re: [PHP] LightBox click detection

2013-06-15 Thread Bastien
Sorry 'bout the top post. That's how I do it. Capture the click event with jquery and Ajax that back to the server Bastien Koert On 2013-06-15, at 2:07 PM, Tamara Temple wrote: > Tedd Sperling wrote: >> It's Friday so I am allowed to ask odd questions. > > W00T! Friday! > >> Here's the pro

Re: [PHP] LightBox click detection

2013-06-15 Thread Julian Wanke
They do, afaik... Am 15.06.2013, 20:11 Uhr, schrieb Tamara Temple : Marc Guay wrote: $('.lightbox-image-class').click(function(){ $.post('ajax.php', {click: true}); }); Do javascript DOM events stack? If they do, this is definitely the simplest way to go. If they don't, you need to capt

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Marc Guay wrote: > $('.lightbox-image-class').click(function(){ > $.post('ajax.php', {click: true}); > }); Do javascript DOM events stack? If they do, this is definitely the simplest way to go. If they don't, you need to capture the previous click handler and call it. -- PHP General Maili

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Tedd Sperling wrote: > It's Friday so I am allowed to ask odd questions. W00T! Friday! > Here's the problem -- I need to count the number of times a user activates a > LightBox -- how do you do that? > > Here's a LightBox Example: > >http://www.webbytedd.com/c2/lightbox/ > > All the jav

Re: AW: AW: [PHP] PHP is Zero

2013-06-15 Thread Tamara Temple
BUSCHKE Daniel wrote: > Why is PHP doing that? I know it works as designed and I know it is > documented like this but that does not mean that it is a good feature, > does it? So lets talk about the question: Is that behaviour awaited by > PHP software developers? Is that really the way PHP should

Re: [PHP] Detect and Redirect Mobile Users

2013-06-15 Thread Tamara Temple
Ford, Mike wrote: > (someone else wrote:) > > $browser = get_browser(null, TRUE); > > if (isset($browser['ismobiledevice']) && ($browser['ismobiledevice'] == > > TRUE)) { > > $isMobile = TRUE; > > } > > else { > > = FALSE; Mike's remarks below notwithstanding, I think something fell off