Getting JS Error 'Unexpected EOF'

Hi - trying to include a gallery using the shortcode in a page but the gallery won't load and I get a JS semantic error 'Unexpected EOF'.


Can you advise?
Thanks

Comments

  • 2 Comments sorted by
  • Vote Up0Vote Down
    Just a follow up to this - seems the old Wordpress autop is at it again:

    <p> <script type="text/javascript">
    jQuery.noConflict();
    tid('slideshow').style.display = "none";
    tid('slideshow-wrapper').style.display = 'block';
    tid('slideshow-wrapper').style.visibility = 'hidden';
    jQuery("#fullsize").append('</p>
    <p>');
    tid('spinner').style.visibility = 'visible';</p>
    <p> var slideshow = new TINY.slideshow("slideshow");
    jQuery(document).ready(function() {
    window.onload = function() {
    slideshow.auto = true; slideshow.speed = 10;
    slideshow.imgSpeed = 10;
    slideshow.navOpacity = 25;
    slideshow.navHover = 70;
    slideshow.letterbox = "#000000";
    slideshow.linkclass = "linkhover";
    slideshow.info = "information";
    slideshow.infoSpeed = 10;
    slideshow.thumbs = "slider";
    slideshow.thumbOpacity = 70;
    slideshow.left = "slideleft";
    slideshow.right = "slideright";
    slideshow.scrollSpeed = 5;
    slideshow.spacing = 5;
    slideshow.active = "#FFFFFF";
    slideshow.imagesthickbox = "false";
    jQuery("#spinner").remove();
    slideshow.init("slideshow","image","imgprev","imgnext","imglink");
    tid('slideshow-wrapper').style.visibility = 'visible';
    }
    });
    </script></p>

    I've tried the various disable autop plugins but they don't seem to make any difference.

    Anyone have any suggestions on this?

    Thanks
  • Vote Up0Vote Down
    Hi Ansel,

    Seems you managed with the issue? Would you mind sharing how you did it and mark your topic title with [SOLVED]?

    Best regards,

    Phil
Sign In or Register to comment.