Fancybox delays

Permalink Browser Info Environment
Hi Chris

Is there a way to disable fancybox? I'd like to test the site without it to see if I can get rid of the delays reported in WebPageTest (see screenshot)

1 Attachment

Type: Discussion
Status: New
gihe
View Replies:
c5mix replied on at Permalink Reply
c5mix
See this for a fix:
http://www.concrete5.org/marketplace/themes/slate/support/fancybox-...

To "disable" fancybox you can comment out or remove the calls in the theme's header.php file (located at theme_slate/themes/slate/elements/header.php):
<script type="text/javascript" src="<?php echo $this->getThemePath(); ?>/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="<?php echo $this->getThemePath(); ?>/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath(); ?>/js/fancybox/jquery.fancybox-1.3.4.css" />
gihe replied on at Permalink Reply
gihe
Thanks!
c5mix replied on at Permalink Reply
c5mix
You're welcome!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.