/* * Skeleton V1.0.3 * Copyright 2011, Dave Gamache * www.getskeleton.com * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php * 7/17/2011 */ jQuery(document).ready(function($) { /* Superfish ================================================== */ $(function(){ // run after page loads $('#navigation ul.menu') .find('li.current_page_item,li.current_page_parent,li.current_page_ancestor,li.current-cat,li.current-cat-parent,li.current-menu-item') .addClass('active') .end() .superfish({autoArrows : true}); }); // Forum Login $(function(){ // run after page loads $("#toggle").click(function() { // hides matched elements if shown, shows if hidden $("#login-form").slideToggle(); }); }); // Style Tags $(function(){ // run after page loads $('p.tags a') .wrap(''); }); // Toggle Slides $(function(){ // run after page loads $(".toggle_container").hide(); //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state) $("p.trigger").click(function(){ $(this).toggleClass("active").next().slideToggle("normal"); return false; //Prevent the browser jump to the link anchor }); }); // valid XHTML method of target_blank $(function(){ // run after page loads $('a[rel*=external]').click( function() { window.open(this.href); return false; }); }); /* Tabs Activiation ================================================== */ var tabs = $('ul.tabs'); tabs.each(function(i) { //Get all tabs var tab = $(this).find('> li > a'); $("ul.tabs li:first").addClass("active").fadeIn('fast'); //Activate first tab $("ul.tabs li:first a").addClass("active").fadeIn('fast'); //Activate first tab $("ul.tabs-content li:first").addClass("active").fadeIn('fast'); //Activate first tab tab.click(function(e) { //Get Location of tab's content var contentLocation = $(this).attr('href') + "Tab"; //Let go if not a hashed one if(contentLocation.charAt(0)=="#") { e.preventDefault(); //Make Tab Active tab.removeClass('active'); $(this).addClass('active'); //Show Tab Content & add active class $(contentLocation).show().addClass('active').siblings().hide().removeClass('active'); } }); }); }); /* FILE ARCHIVED ON 08:43:28 Aug 20, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 08:55:16 Nov 09, 2018. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): LoadShardBlock: 108.042 (3) esindex: 0.011 captures_list: 129.111 CDXLines.iter: 13.826 (3) PetaboxLoader3.datanode: 78.252 (5) exclusion.robots: 0.55 exclusion.robots.policy: 0.53 RedisCDXSource: 1.975 PetaboxLoader3.resolve: 97.995 (4) load_resource: 106.954 *, Dave Gamache * www.getskeleton.com * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php * 7/17/2011 */ jQuery(document).ready(function($) { /* Superfish ================================================== */ $(function(){ // run after page loads $('#navigation ul.menu') .find('li.current_page_item,li.current_page_parent,li.current_page_ancestor,li.current-cat,li.current-cat-parent,li.current-menu-item') .addClass('active') .end() .superfish({autoArrows : true}); }); // Forum Login $(function(){ // run after page loads $("#toggle").click(function() { // hides matched elements if shown, shows if hidden $("#login-form").slideToggle(); }); }); // Style Tags $(function(){ // run after page loads $('p.tags a') .wrap(''); }); // Toggle Slides $(function(){ // run after page loads $(".toggle_container").hide(); //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state) $("p.trigger").click(function(){ $(this).toggleClass("active").next().slideToggle("normal"); return false; //Prevent the browser jump to the link anchor }); }); // valid XHTML method of target_blank $(function(){ // run after page loads $('a[rel*=external]').click( function() { window.open(this.href); return false; }); }); /* Tabs Activiation ================================================== */ var tabs = $('ul.tabs'); tabs.each(function(i) { //Get all tabs var tab = $(this).find('> li > a'); $("ul.tabs li:first").addClass("active").fadeIn('fast'); //Activate first tab $("ul.tabs li:first a").addClass("active").fadeIn('fast'); //Activate first tab $("ul.tabs-content li:first").addClass("active").fadeIn('fast'); //Activate first tab tab.click(function(e) { //Get Location of tab's content var contentLocation = $(this).attr('href') + "Tab"; //Let go if not a hashed one if(contentLocation.charAt(0)=="#") { e.preventDefault(); //Make Tab Active tab.removeClass('active'); $(this).addClass('active'); //Show Tab Content & add active class $(contentLocation).show().addClass('active').siblings().hide().removeClass('active'); } }); }); }); /* FILE ARCHIVED ON 08:43:28 Aug 20, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 08:55:16 Nov 09, 2018. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): LoadShardBlock: 108.042 (3) esindex: 0.011 captures_list: 129.111 CDXLines.iter: 13.826 (3) PetaboxLoader3.datanode: 78.252 (5) exclusion.robots: 0.55 exclusion.robots.policy: 0.53 RedisCDXSource: 1.975 PetaboxLoader3.resolve: 97.995 (4) load_resource: 106.954 */