Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Please try the below to see if that helps. </p> <pre><code>openFancybox = function{ setTimeout( function() {$('.pop').trigger('click'); },20000); } $(document).ready(function() { //Declare your cookie. $.cookie('visited','no', { expires: 7 }); //Test to see if your cookie equals 'no', if true then run the fancy box. if ($.cookie('visited') == 'no') { openFancybox(); } //Your Input or click to stop the fancy box $('#StopFancyBox').on('click',function(){ $.cookie('visited', 'yes'); }); }); </code></pre> <p>As @Brad mentioned you can use the web developer tools to test to see what your cookie value is at stages. Simply go to the web.console and call back <code>$.cookie('visited')</code></p> <p><strong>ERRORS</strong></p> <pre><code>jquery.cookie.jsGET http://www.coreytegeler.com/bolivares/wp-content/themes/max-magazine/source/cookies/jquery.cookie.js 404 (Not Found) </code></pre> <p>The above seems to be because the jquery.cookie.js file is not referencing the right location.</p> <pre><code>/bolivares/:72SyntaxError: Expected token '(' </code></pre> <p>The above is actually my fault :) sorry. When declaring the function openFancybox i missed off the (). So it should be <code>openFancybox = function(){</code>.</p> <pre><code>jquery-plugins.min.js:13TypeError: 'undefined' is not an object (evaluating 'e.browser.msie') superfish.js:123TypeError: 'undefined' is not a function (evaluating 'jQuery('ul.nav').superfish()') woocommerce.min.js:1TypeError: 'undefined' is not a function (evaluating 'e(".plus").live') </code></pre> <p>The above are conflicts with the plugins jquery-plugins.min.js, superfish.js and woocommerce.min.js respectively. I'm sorry I can't give much guidance on these. </p> <pre><code>/bolivares/:259ReferenceError: Can't find variable: myLoop </code></pre> <p>You're calling back myLoop(i) on line 259 on your main html page. But searching through all of your scripts, this isn't declared anywhere. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload