JS Broken – respExtra ?
-
Hello:
Here is a page I am working on that is not working:
https://www.universityvalues.com/blog/?page_id=172
I was editing a few things dealing with my template that I use for certain satellite slideshow pages, and somehow the javascript ceased to work to make satellite appear as a slideshow — now it just looks like images and text listed down the page. I tried using the default page template with the gallery again (used in that link) and I still have the same problem.
I tried adding
define('SCRIPT_DEBUG', true);
into wp-config.php but that seemed to do nothing.Here is the error that firebug gives me on firefox’s javascript console:
SyntaxError: syntax error comment-reply.js?ver=3.5.1()comment-reply.js?ver=3.5.1 (line 45) [Break On This Error] respExtra: , // the width beyond the slide image comment-reply.js?ver=3.5.1 (line 45, col 27)
I checked out that file referenced by the error message (comment-reply.js) and saw that on line 45 there is a function declared:
I: function(e) { return document.getElementById(e); }
as part of the addComment object literal defined in this file.
Also, I searched for “respExtra” (referenced by the javascript error) not only in this file but in my entire website project — NO file contains “respExtra”
I also tried searching my entire project for parts of the comment that is on the same line as respExtra on the javascript error, but again, with no such thing found.
When I view my page’s source for the page I am trying to get this to work on, respExtra does appear in two javascript functions:
jQuery(document).ready(function($) { $('#featured').satlorbit({ animation: 'fade-blend', // fade, horizontal-slide, vertical-slide, horizontal-push animationSpeed: 700, // how fast animations are timer: true, // true or false to have the timer advanceSpeed: 5000, // if timer is enabled, time between transitions pauseOnHover: false, // if you hover pauses the slider startClockOnMouseOut: true, // if clock should start on MouseOut startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again directionalNav: true, // manual advancing directional navs captions: true, // do you want captions? captionAnimation: 'none', // fade, slideOpen, none captionHover: false, // true means only show caption on mousehover captionAnimationSpeed: 800, // if so how quickly should they animate in bullets: false, // true or false to activate the bullet navigation bulletThumbs: true, // thumbnails for the bullets bulletThumbLocation: '', // location from this file where thumbs will be afterSlideChange: function(){}, // empty function centerBullets: true, navOpacity: 0.3, sideThumbs: false, preloader: 1, thumbWidth: 85, respExtra: , // the width beyond the slide image alwaysPlayBtn: true }); }); jQuery(window).resize(function($) { jQuery('#featured').satlresponse({ respExtra: , // the width beyond the slide image sideThumbs: false }); });
I would love ANY help or feedback on this. It has had me stuck for a few hours now and I really want to move on to other parts of the project.
If you need any other info from me or anything, let me know.
Thanks a bunch.
https://www.ads-software.com/extend/plugins/slideshow-satellite/
- The topic ‘JS Broken – respExtra ?’ is closed to new replies.