I need to make sure that upon clicking a link to view a html file, on an iPhone or Android or any handheld, it doesn't use Fancybox to view it, as it does on a computer.
I've tried ways with @media with no luck.
Is there any code to disable certain bits of javascript depending on what device it is?
Thanks!
you can use something like
but it will never be 100% accurate