php-general Digest 15 Jun 2013 14:19:19 -0000 Issue 8266

2013-06-15 Thread php-general-digest-help
php-general Digest 15 Jun 2013 14:19:19 - Issue 8266 Topics (messages 321401 through 321409): Re: What is the name of the pattern that will ... 321401 by: Richard Quadling Re: Detect and Redirect Mobile Users 321402 by: Camilo Sperberg 321403 by: Chirag Vekariya

Re: [PHP] Detect and Redirect Mobile Users

2013-06-15 Thread Tamara Temple
Ford, Mike m.f...@leedsmet.ac.uk 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

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

2013-06-15 Thread Tamara Temple
BUSCHKE Daniel daniel.busc...@nextiraone.eu 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

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Tedd Sperling t...@sperling.com 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/

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Marc Guay marc.g...@gmail.com 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. --

Re: [PHP] LightBox click detection

2013-06-15 Thread Julian Wanke
They do, afaik... Am 15.06.2013, 20:11 Uhr, schrieb Tamara Temple tamouse.li...@gmail.com: Marc Guay marc.g...@gmail.com wrote: $('.lightbox-image-class').click(function(){ $.post('ajax.php', {click: true}); }); Do javascript DOM events stack? If they do, this is definitely the simplest

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 tamouse.li...@gmail.com wrote: Tedd Sperling t...@sperling.com wrote: It's Friday so I am allowed to ask odd questions.