PageSourceSearch

https://bioedonline.org/BioEd/includes/themes/BioEdOnlineTheme/js/bioedTheme.js

js bioedonline.org collected 2026-10-02 07:19:05 UTC 4,980 bytes, 31 lines download raw bytes

1//Start megaMenu.js
2$(document).ready(function(){$(function(){var zIndexNumber=1E3;$("div").each(function(){$(this).css("zIndex",zIndexNumber);zIndexNumber-=1})});function megaHoverOver(){$(this).find(".sub").stop().fadeTo("fast",1).show();(function($){jQuery.fn.calcSubWidth=function(){rowWidth=0;$(this).find(".subColm ul.headerNav > li").each(function(){rowWidth+=$(this).outerWidth()})}})(jQuery);if($(this).find(".row").length>0){var biggestRow=0;$(this).find(".row").each(function(){$(this).calcSubWidth();if(rowWidth> biggestRow)biggestRow=rowWidth});$(this).find(".subColm ul.headerNav").css({"width":biggestRow});$(this).find(".row:last").css({"margin":"0"})}else{$(this).calcSubWidth();$(this).find(".subColm ul.headerNav").css({"width":rowWidth+20+"px"});$(this).find(".sub").css({"width":rowWidth+15+"px"})}}function megaHoverOut(){$(this).find(".sub").stop().fadeTo("fast",0,function(){$(this).hide()})}var config={sensitivity:2,interval:50,over:megaHoverOver,timeout:300,out:megaHoverOut};$("#topnav ul li .sub").css({"opacity":"0"}); $("#topnav ul li").hoverIntent(config);$("a.topNavLink").click(function(e){if("ontouchstart"in document.documentElement)e.preventDefault();else;});$("#main").click(function(){megaHoverOut()})});
3//End megaMenu.js
4
5//Start featureBox.js
6$(document).ready(function(){$(".featContent").hide();$("nav.featThumbs span:first").addClass("active").show();$(".featContent:first").show();$("nav.featThumbs span").click(function(){$("nav.featThumbs span").removeClass("active");$(this).addClass("active");$(".featContent").fadeOut();var activeFeature=$(this).find("a").attr("href");$(activeFeature).fadeIn();return false});featureSwitch=function(){play=setInterval(function(){var $item1=$("#feat1");var $item2=$("#feat2");var $item3=$("#feat3");var $item4= $("#feat4");if($item1.hasClass("active"))$item2.trigger("click");else if($item2.hasClass("active"))$item3.trigger("click");else if($item3.hasClass("active"))$item4.trigger("click");else if($item4.hasClass("active"))$item1.trigger("click")},7E3)};featureSwitch();jQuery("#billboard").hover(function(){clearInterval(play)},function(){featureSwitch()})});
7//End featureBox.js
8
9//Start commentsShow.js
10$(document).ready(function(){$(" a.commentsShow").click(function(){$(".pageComments").css("z-index","999999").addClass("showComments").fadeIn()});$("a.commentsClose").click(function(){$(".pageComments").fadeOut()});$(".firstToComment").click(function(){$(".tabB").trigger("click")});$("#left Col").click(function(){$(".pageComments").fadeOut()});$("a.itemClose").click(function(){$(".profileSucess").fadeOut()});$("#toolsExpand").click(function(){$("#userTools").show();$("#toolsExpand").hide()});$("#userTools h2").click(function(){$("#userTools").hide(); $("#toolsExpand").show()})});function profileSucess(){$("div.profileSucess").addClass("showItem").fadeIn("slow")};
11//End commentsShow.js
12
13//Start contentTabs.js
14$(document).ready(function(){$(".tab_content").hide();$("ul.tabs li:first").addClass("active").show();$(".tab_content:first").show();$("ul.tabs li").click(function(){$("ul.tabs li").removeClass("active");$(this).addClass("active");$(".tab_content").hide();var activeTab=$(this).find("a").attr("href");$(activeTab).show();return false});$(".commentsTab_content").hide();$("ul.commentTabs li:first").addClass("active").show();$(".commentsTab_content:first").show();$("ul.commentTabs li").click(function(){$("ul.commentTabs li").removeClass("active"); $(this).addClass("active");$(".commentsTab_content").hide();var activeCommentTab=$(this).find("a").attr("href");$(activeCommentTab).show();return false})});
15//End contentTabs.js
16
17//Start expandableBox.js
18$(document).ready(function(){$(".msg_body").hide();$(".msg_head").click(function(){$(this).next(".msg_body").slideToggle("slow")})});
19//End expandableBox.js
20
21//Start printMe.js, prints materials list
22function PrintElem(elem){$(".tab_content").show();Popup($(elem).html());$(".tab_content").hide();$("ul.tabs li").removeClass("active");$("ul.tabs li:first").addClass("active").show();$(".tab_content:first").show()} function Popup(data){var lessonTitle=$("h1.pageTitle").html();var docTitle=document.title;var mywindow=window.open("#","docTitle","scrollbars=1","resizable=1","width=700, height=800");mywindow.document.write("<html>\n<head>\n<title>");mywindow.document.write(lessonTitle);mywindow.document.write(" - ");mywindow.document.write(docTitle);mywindow.document.write("</title>\n");mywindow.document.write("</head>\n");mywindow.document.write("<body>\n");mywindow.document.write(data);mywindow.document.write("</body>\n</html>"); mywindow.document.close();mywindow.print();return true};
23//End printMe.js
24
25//Start fix for shadowbox to validate
26$(document).ready(function() { $('.relForShadowbox').attr('rel', 'shadowbox'); });
27//End printMe.js
28
29//Show content ID, a little development helper
30function showContentID(){$("form #pageID").focus();}$("form #pageID").mouseover(showContentID);
31//End Show content ID

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.