Is the site broken?
1 1

3 posts in this topic

I'm at work at the moment so can't properly test but logged on to the main site and all I am getting is this:

/*

* Superfish v1.4.8 - jQuery menu widget

* Copyright © 2008 Joel Birch

*

* Dual licensed under the MIT and GPL licenses:

* http://www.opensource.org/licenses/mit-license.php

* http://www.gnu.org/licenses/gpl.html

*

* CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt

*/

(function(a){a.fn.superfish=function©{var b=a.fn.superfish,h=b.c,n=a(['<span class=',h.arrowClass,'"> »</span&gt].join("")),i=function(){var d=a(this),e=j(d);clearTimeout(e.sfTimer);d.showSuperfishUl().siblings().hideSuperfishUl()},k=function(){var d=a(this),e=j(d),g=b.op;clearTimeout(e.sfTimer);e.sfTimer=setTimeout(function(){g.retainPath=a.inArray(d[0],g.$path)>-1;d.hideSuperfishUl();g.$path.length&&d.parents(["li.",g.hoverClass].join("")).length<1&&i.call(g.$path)},g.delay)},j=function(d){d=

d.parents(["ul.",h.menuClass,":first"].join(""))[0];b.op=b.o[d.serial];return d};return this.each(function(){var d=this.serial=b.o.length,e=a.extend({},b.defaults,c);e.$path=a("li."+e.pathClass,this).slice(0,e.pathLevels).each(function(){a(this).addClass([e.hoverClass,h.bcClass].join(" ")).filter("li:has(ul)").removeClass(e.pathClass)});b.o[d]=b.op=e;a("li:has(ul)",this)[a.fn.hoverIntent&&!e.disableHI?"hoverIntent":"hover"](i,k).each(function(){e.autoArrows&&a(">a:first-child",this).addClass(h.anchorClass).append(n.clone())}).not("."+

h.bcClass).hideSuperfishUl();var g=a("a",this);g.each(function(l){var m=g.eq(l).parents("li");g.eq(l).focus(function(){i.call(m)}).blur(function(){k.call(m)})});e.onInit.call(this)}).each(function(){menuClasses=[h.menuClass];b.op.dropShadows&&!(a.browser.msie&&a.browser.version<7)&&menuClasses.push(h.shadowClass);a(this).addClass(menuClasses.join(" "))})};var f=a.fn.superfish;f.o=[];f.op={};f.IE7fix=function(){var c=f.op;a.browser.msie&&a.browser.version>6&&c.dropShadows&&c.animation.opacity!=undefined&&

this.toggleClass(f.c.shadowClass+"-off")};f.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};f.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};a.fn.extend({hideSuperfishUl:function(){var c=f.op,b=c.retainPath===

true?c.$path:"";c.retainPath=false;b=a(["li.",c.hoverClass].join(""),this).add(this).not(b).removeClass(c.hoverClass).find(">ul").hide().css("visibility","hidden");c.onHide.call(b);return this},showSuperfishUl:function(){var c=f.op,b=this.addClass(c.hoverClass).find(">ul:hidden").css("visibility","visible");f.IE7fix.call(b);c.onBeforeShow.call(b);b.animate(c.animation,c.speed,function(){f.IE7fix.call(b);c.onShow.call(b)});return this}})})(jQuery);

/*

itx theme functions

*/

(function($) {

$(document).ready(function(){

for(i=1;i<100;i++){$('.postwrap-'+i).sameh();}

if($('#menu ul.sf-menu').width()<1) $('#menu .wrap2').width($('.wrap').width()-50);

$('.wp-pagenavi, .wp-pagenavi a,#comments #submit').addClass('ui-state-active');

$('.wp-pagenavi .current').addClass('ui-state-hover');

$('.commentcount').hover(

function(){$(this).removeClass('ui-state-hover').addClass('ui-state-active')},

function(){$(this).addClass('ui-state-hover').removeClass('ui-state-active')}

);

$('.wp-pagenavi a,#comments #submit').hover(

function(){$(this).removeClass('ui-state-active').addClass('ui-state-hover')},

function(){$(this).addClass('ui-state-active').removeClass('ui-state-hover')}

);

$('ul.sf-menu').superfish({autoArrows:false});

});

})(jQuery);

jQuery.fn.sameh = function() {

var h=0;

jQuery(this).each(function(){

if(jQuery(this).height()>h){h=jQuery(this).height();}

});

jQuery(this).children('.postwrap').height(h-25);

};

jQuery.fn.samew = function() {

var w=0;

jQuery(this).each(function(){

if(jQuery(this).width()>w){w=jQuery(this).width();}

});

jQuery(this).width(w);

};

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
1 1