Thursday, August 23, 2012

The Rise of Technique | Fogged Clarity

The Rise of Technique | Fogged Clarity"); }); }; /* search form */ jQuery('#search').toggle( function () {jQuery('#searchbox').animate({opacity:'toggle', marginLeft:'-210px'},250);}, function () {jQuery('#searchbox').animate({opacity:'toggle', marginLeft:'-200px'},250);} ); var $searchinput = jQuery("#header #searchbox input"); var $searchvalue = $searchinput.val(); $searchinput.focus(function(){ if (jQuery(this).val() == $searchvalue) jQuery(this).val(""); }).blur(function(){ if (jQuery(this).val() == "") jQuery(this).val($searchvalue); }); //jQuery('ul.sf-menu li ul').append('
  • '); var active_subpage = jQuery('ul.sf-menu ul li.current-cat, ul.sf-menu ul li.current_page_item').parents('li.top-level').prevAll().length; var isHome = 0; //removed the 'lavalamp' animation on the nav bar /*if (active_subpage) jQuery('ul.sf-menu').lavaLamp({ startItem: active_subpage }); else if (isHome === 1) jQuery('ul.sf-menu').lavaLamp({ startItem: 0 }); else jQuery('ul.sf-menu').lavaLamp();*/ }); ///*]]>*/ '; $controllersWrap = jQuery(controllersHtml).prependTo($slides.parent()); } var etimage_width = $slide.width(); slidesContainer.css({'width':etimage_width}); $slides.css({'width':etimage_width}); if (options.sliderType === 'images') { slidesContainer.css({'height':$slide.height()}); $slides.css({'height':$slide.height()}); var controllers_width = $controllersWrap.width(), leftPosition = Math.round((etimage_width - controllers_width) / 2); $controllersWrap.css({left: leftPosition}); } } if (options.linksNav != '') { var linkSwitcher = jQuery(options.linksNav); var linkSwitcherTab = ''; if (options.findParent) linkSwitcherTab = linkSwitcher.parent(); else linkSwitcherTab = linkSwitcher; if (!linkSwitcherTab.filter('.active').length) linkSwitcherTab.filter(':first').addClass('active'); linkSwitcher.click(function(){ var targetElement; if (options.findParent) targetElement = jQuery(this).parent(); else targetElement = jQuery(this); var orderNum = targetElement.prevAll(options.lengthElement).length+1; if (orderNum > currentPosition) gotoSlide(orderNum, 1); else gotoSlide(orderNum, -1); return false; }); } if (options.useArrows) { var $right_arrow = jQuery(options.arrowRight), $left_arrow = jQuery(options.arrowLeft); $right_arrow.click(function(){ if (currentPosition === slidesNum) gotoSlide(1,1); else gotoSlide(currentPosition+1),1; if (options.linksNav != '') changeTab(); return false; }); $left_arrow.click(function(){ if (currentPosition === 1) gotoSlide(slidesNum,-1); else gotoSlide(currentPosition-1,-1); if (options.linksNav != '') changeTab(); return false; }); } function changeTab(){ if (linkSwitcherTab != '') { linkSwitcherTab.siblings().removeClass('active'); linkSwitcherTab.filter(':eq('+(currentPosition-1)+')').addClass('active'); } } function gotoSlide(slideNumber,dir){ if ($slide.filter(':animated').length) return; $slide.css('opacity','0'); $activeSlide = $slide.filter(':eq('+(currentPosition-1)+')').css('opacity','1'); if (currentPosition === slideNumber) return; $nextSlide = $slide.filter(':eq('+(slideNumber-1)+')').css('opacity','1'); if ((currentPosition > slideNumber || currentPosition === 1) && (dir === -1)) { if (options.fx === 'slide') slideBack(500); if (options.fx === 'fade') slideFade(500); } else { if (options.fx === 'slide') slideForward(500); if (options.fx === 'fade') slideFade(500); } currentPosition = $nextSlide.prevAll().length + 1; if (options.linksNav != '') changeTab(); if (typeof interval != 'undefined' && options.auto) { clearInterval(interval); auto_rotate(); } return false; } if (options.auto) { auto_rotate(); var pauseSlider = false; } if (options.pauseOnHover) { slidesContainer.hover(function(){ pauseSlider = true; },function(){ pauseSlider = false; }); } function auto_rotate(){ interval = setInterval(function(){ if (!pauseSlider) { if (currentPosition === slidesNum) gotoSlide(1,1); else gotoSlide(currentPosition+1),1; if (options.linksNav != '') changeTab(); } },options.autoSpeed); } function slideForward(speed){ $nextSlide.css('left',slideOuterWidth+'px'); $activeSlide.animate({left: '-'+slideOuterWidth},speed); $nextSlide.animate({left: 0},speed); } function slideBack(speed){ $nextSlide.css('left','-'+slideOuterWidth+'px'); $activeSlide.animate({left: slideOuterWidth},speed); $nextSlide.animate({left: 0},speed); } function slideFade(speed){ $activeSlide.css({zIndex: slidesNum}).fadeOut(700); $nextSlide.css({zIndex: (slidesNum+1)}).fadeIn(700); } }); } })(jQuery); /////// Shortcodes Javascript /////// /// tooltip /// $et_tooltip = jQuery('.et-tooltip'); $et_tooltip.hover(function(){ jQuery(this).find('.et-tooltip-box').animate({ opacity: 'show', bottom: '25px' }, 300); },function(){ jQuery(this).find('.et-tooltip-box').animate({ opacity: 'hide', bottom: '35px' }, 300); }) /// learn more /// $et_learn_more = jQuery('.et-learn-more .heading-more'); $et_learn_more.click(function(){ if ( jQuery(this).hasClass('open') ) jQuery(this).removeClass('open'); else jQuery(this).addClass('open'); jQuery(this).parent('.et-learn-more').find('.learn-more-content').animate({ opacity: 'toggle', height: 'toggle' }, 300); }); /* *//*]]>*/

    Source: http://foggedclarity.com/2012/08/the-rise-of-technique/

    nor easter ted nugent veep los angeles kings earth day timothy leary jonathan frid

    No comments:

    Post a Comment

    Note: Only a member of this blog may post a comment.