RE: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Ford, Mike
> -Original Message- > From: Dead Letter.Office [mailto:dead.letter.off...@isam.co.nz] > Sent: 14 June 2013 05:22 > To: php-general@lists.php.net > > http://php.net/manual/en/misc.configuration.php#ini.browscap > http://tempdownloads.browserscap.com/ > > $browser = get_browser(null, TRUE)

Re: [PHP] LightBox click detection

2013-06-14 Thread Marc Guay
Also, the docs and functionality for that particular plugin seem a bit weak. Maybe there's another one that has a "doneLoadingLightbox" event that you could hook into and call your ajax script inside of... On 14 June 2013 10:02, Marc Guay wrote: > $('.lightbox-image-class').click(function(){ >

Re: [PHP] LightBox click detection

2013-06-14 Thread Marc Guay
$('.lightbox-image-class').click(function(){ $.post('ajax.php', {click: true}); }); and do your DB work in ajax.php http://api.jquery.com/jQuery.post/ On 14 June 2013 09:52, Tedd Sperling wrote: > Hi gang: > > It's Friday so I am allowed to ask odd questions. > > Here's the problem -- I ne

[PHP] LightBox click detection

2013-06-14 Thread Tedd Sperling
Hi gang: It's Friday so I am allowed to ask odd questions. 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 javascript is there (jQuery et al). Ideally, I

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Marc Guay
http://www.answershat.com/questions/352/How-to-get-rid-of-spam-mail-in-my-mailbox On 14 June 2013 09:28, Chirag Vekariya wrote: > Hi, > Post your question to http://answershat.com > > On Thu, Jun 13, 2013 at 4:49 AM, dealTek wrote: > >> Hi all, >> >> I'm curious of a simple, common, universal wa

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Chirag Vekariya
Hi, Post your question to http://answershat.com On Thu, Jun 13, 2013 at 4:49 AM, dealTek wrote: > Hi all, > > I'm curious of a simple, common, universal way to detect a mobile user so > I can redirect them to a mobile directory... > > What is best for this: Javascript - CSS - PHP? > > I think fo

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Camilo Sperberg
On Jun 13, 2013, at 15:31, Camille Hodoul wrote: > Hello, > > I stumbled upon this the other day : > http://mobiledetect.net/ > I haven't tried it yet, since I have my own small user agent parser when I > need it, but it may help you if it's a pure php solution you're looking for. > > Have a n

Re: [PHP] What is the name of the pattern that will ...

2013-06-14 Thread Richard Quadling
On 13 June 2013 18:38, David Harkness wrote: > Hi Richard, > > On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling wrote: > >> I'm building a class which needs to have certain methods called by the >> subclass, but the subclass can extend but not obscure/override the >> behaviour. >> > > This is t