Lightboxes on Mac
-
Hello it’s me again !
The plugin isn’t working on my Mac. I don’t know why.
I use this plugin mostly for iFrames and when I click on a link with that iFrame & the fancybox class, it redirects me to the url page of the iFrame.
Otherwise, it’s working great on PC.
Thanks in advance.
-
Is that the beta version or also the regular one? Could you visit this test page http://demo.status301.net/easy-fancybox-sandbox on Mac and try the second link on the page, called “iframe link”?
It says “module manquant” in French and it’s telling us that Flash Player is required ?
It says “module manquant” in French and it’s telling us that Flash Player is required ?
Haha, OK yes, that’s because there is actually a Flash object embedded in that linked page. Anyway, that’s not important. The question is if the light box itself works on Mac on that page… If it does, then we can conclude the current stable version runs fine on Mac.
Now we need to know if the problem is with the beta version. Could you visit http://vks11510.ip-37-59-121.eu/easy-fancybox-sandbox/ (the beta version is running there) and test the various lightbox links? Some may not show content (there is stuff missing, or again have flash embedded) but at least a ligth box should open… If not, tell me what happens exactly and with which links there is a problem.
That’s really weird, all the lightboxes of your website are working on the Mac. It just doesn’t work for my website… That’s weird.
I can’t give my website url publicly but could I send you somewhere the url ? And then take a look on what’s really happening?
Thanks in advance.I don’t have a Mac so I couldn’t tell you what’s going wrong there. Do you get any errors in your browser console?
I don’t see anything wrong…
When I first set the plugin up, I added theses lines in the footer.php.<script> function callit() { if(navigator.userAgent.indexOf('Mobile') != -1) { left = (screen.width )/3 ; newcss = '<style>#fancybox-wrap{left:230px!important;top:240px!important;}</style>' + '<style> #fancybox-overlay {width:3000px;} </style>'; jQuery("#inlinecontent").html(newcss); } } </script> <script type="text/javascript"> jQuery(document).on('ready post-load', function() { jQuery('.fancybox').mouseenter( function() { jQuery(this).trigger('click'); } ); } ); </script>Is it the problem ?
Hard to tell… Did you try removing those scripts?
Yes, didn’t do anything :/
If you want, you can send the URL via https://status301.net/contact-en/ and I’ll take a look, but like I said I’ve no Mac so it might not reveal anything…
I sent the URL yesterday π Thank you !
Yes, I received it thanks π
In Chrome I get an error “Uncaught SyntaxError: Unexpected token <” coming from the footer. Apparently, right before those lines you added to the footer, there are these two lines:
<script type="text/javascript"> <div id="inlinecontent" style="display: none"></div>They should not be there.
I don’t know if they cause the Mac to choke on them (Chrome works despite the error) but you might want to start with fixing that π
Oh thank you, I removed those lines.
It didn’t change anything on iMac :/Hmmm… I really have no idea. No errors left except some from WordFence after opening a light box, did you try disabling all other plugins?
If you really cannot find out, it might be best to consider trying to use the prettyPhoto light box that comes included with the parent theme. It’s there in the source so why not use it for the inline content links too? No point in using two light boxes. It only makes your site heavier than it needs to be.
The topic ‘Lightboxes on Mac’ is closed to new replies.