Title: Lightboxes on Mac
Last modified: August 31, 2016

---

# Lightboxes on Mac

 *  [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/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.
 * [https://wordpress.org/plugins/easy-fancybox/](https://wordpress.org/plugins/easy-fancybox/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096547)
 * Is that the beta version or also the regular one? Could you visit this test page
   [http://demo.status301.net/easy-fancybox-sandbox](http://demo.status301.net/easy-fancybox-sandbox)
   on Mac and try the second link on the page, called “iframe link”?
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096621)
 * It says “module manquant” in French and it’s telling us that Flash Player is 
   required ?
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096653)
 * > 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/](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.
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096694)
 * 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.
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096722)
 * 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?
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096723)
 * 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 ?
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096742)
 * Hard to tell… Did you try removing those scripts?
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096753)
 * Yes, didn’t do anything :/
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096764)
 * If you want, you can send the URL via [https://status301.net/contact-en/](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…
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096771)
 * I sent the URL yesterday 🙂 Thank you !
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096775)
 * 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 🙂
 *  Thread Starter [GuiLeC](https://wordpress.org/support/users/guilec/)
 * (@guilec)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096787)
 * Oh thank you, I removed those lines.
    It didn’t change anything on iMac :/
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096789)
 * 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.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Lightboxes on Mac’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/lightboxes-on-mac/#post-7096789)
 * Status: not resolved