Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    There is an error occurring:

    Uncaught Error: Syntax error, unrecognized expression: ## on jquery-1.10.2.min.js:4

    In the page source I see a second (hard coded in footer.php?) jQuery inserted by these lines:

    <script type="text/javascript" src="https://thelittlelighthouse.org/wp-content/themes/Romper/smartticker/include/jquery-1.10.2.min.js"></script>
    
    	<script type="text/javascript" src="https://thelittlelighthouse.org/wp-content/themes/Romper/smartticker/include/jquery.animate.colors.min.js"></script>
    
    	<script type="text/javascript" src="https://thelittlelighthouse.org/wp-content/themes/Romper/smartticker/include/jquery.smarticker.min.js"></script>

    Remove that first line and FancyBox should start working again.

    Thread Starter Vinu Narayanan

    (@vinuknarayanan)

    Thanks for your prompt reply.

    If I remove <script type="text/javascript" src="https://thelittlelighthouse.org/wp-content/themes/Romper/smartticker/include/jquery-1.10.2.min.js"></script> then Smartticker custom jquery plugin will not work.

    My doubt is same script on another site all are same, Easy Fancybox working like charm Here.

    I can’t figure out why not working on this site Problem site

    Thank you for your time.
    Vinu Narayanan

    … then Smartticker custom jquery plugin will not work.

    Why would that script not work with the jQuery 1.11 that is included by WordPress in the header? Adding multiple versions of the jQuery library is never a good idea because once the second version is loaded, all script bound to the first one becomes void.

    My doubt is same script on another site all are same, Easy Fancybox working like charm Here.

    No it doesn’t. Open a lightbox and then try to close it again…

    Please note that prettyPhoto lightbox script is already included in your theme. My advise is to use that lightbox for your inline content popups instead of adding a second one, making your site heavier than it needs to be.

    Thread Starter Vinu Narayanan

    (@vinuknarayanan)

    Ok I will try that. Thank you for your advise.

    You are the best!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suddenly Easy Fancybox not working’ is closed to new replies.