قالب وردپرس درنا توس
Home / Technology / Esta semana llegarán nuevos has purchased an Xbox Game Pass

Esta semana llegarán nuevos has purchased an Xbox Game Pass



Uso de cookies

Top of page Web cookies for more than 10 years old experience of Usuario. You will be continuously activated by the cookies contained in the cookies and by the next cookies on the next cookies website. More information is available here. ACEPTAR

, Loop: true, Preload: "All", over break: true, fillMode: & # 39; fill & # 39 ;, you: & # 39; h & # 39; }); slider.control (& # 39; arrows & # 39;); slider.control (& # 39; circletimer & # 39 ;, {color: "# FFFFFF", hub: 9}); slider.control (? thumblist?, {autohide: false, dir:? v & # 39 ;, speed: 20}); }

//DOCUMENT.READY jQuery (document) .ready (function () {

// add bootstrap classes to items generated by WordPress jQuery (# avatar-70, avatar-50, avatar-40 #). addClass (& # 39; img-circle & # 39;); jQuery (& # 39;. comment-reply-link & # 39;). addClass (& # 39; btn & # 39;); jQuery (# answer form input # Submit #). addClass (& # 39; btn & # 39;);

// disable responsiveness // Slider Next arrow for videos if (jQuery ("# ​​masterslider"). Length> 0) { slider.api.addEventListener (MSSliderEvent.VIDEO_PLAY, function () { jQuery (& # 39; ms-nav-next & # 39;). addClass (& # 39; video-playing & # 39;); }); slider.api.addEventListener (MSSliderEvent.VIDEO_CLOSE, function () { jQuery (& # 39; ms-nav-next & # 39;). removeClass (& # 39; video-playing & # 39;); }); } // hide various jQuery elements until they are loaded jQuery (# sticky menus & # 39;). show (); jQuery (& 39; it-widget-tabs & # 39;). show (); jQuery (& # 39; bar-label & # 39;). show (); // Jquery Nav menus jQuery ("# ​​sticky-menu") .Menu ({ Position: "left", zposition: "back", Counter: true, dragOpen: true, Header: { add: true, Update: true, Title: "Navigation" }, Search box: true }, { selectedClass: "current menu item" }) .on( "Öffnung.mm" Function() { jQuery ("# ​​sticky-bar.admin-bar"). not ("no-header"). css ("top", "110px"); jQuery (". contents-menu-wrapper"). hide (); jQuery (". content-menu-wrapper"). css ({opacity: 0}); } ) .on( "Closed.mm" Function() { jQuery ("# ​​sticky-bar.admin-bar"). not ("no-header"). css ("top", "142px"); jQuery (". contents-menu-wrapper"). show (); jQuery (". content-menu-wrapper"). css ({opacity: 1}); } ); jQuery ("# ​​section-menu-mobile") .Menu ({ Position: "right", zposition: "back", Counter: true, dragOpen: true, Header: { add: true, Update: true, Title: "Sections" }, Search box: true }, { selectedClass: "current menu item" }) .on( "Öffnung.mm" Function() { jQuery ("# ​​sticky-bar.admin-bar"). not ("no-header"). css ("top", "110px"); } ) .on( "Closed.mm" Function() { jQuery ("# ​​sticky-bar.admin-bar"). not ("no-header"). css ("top", "142px"); } ); // superfish jQuery (# sticky-menu ul & # 39;). superfish ({ hoverClass: & # 39; over & # 39 ;, Delay: 500, Animation: {height: & # 39; show & # 39;}, Speed: 160, disableHI: true, autoArrows: false }); jQuery (& # 39; # section-menu ul & # 39;). superfish ({ hoverClass: & # 39; over & # 39 ;, Delay: 300, Speed: 100, disableHI: true, autoArrows: false }); jQuery (& # 39;. utility menu ul & # 39;). Superfish ({ hoverClass: & # 39; over & # 39 ;, Delay: 500, Animation: {height: & # 39; show & # 39;}, Speed: 160, disableHI: true, autoArrows: false });

// hide the scrollers until they are fully loaded jQuery (& # 39;. explicit-inner & # 39;). show (); jQuery (& # 39; trending-wrapper & # 39;). show ();

jQuery (".trending-content"). smoothDivScroll ({ manualContinuousScrolling: true, visibleHotSpotBackgrounds: "always", hotSpotScrollingStep: 4, hotSpotScrollingInterval: 4, touchScrolling: true }); jQuery (". explicit content"). smoothDivScroll ({ manualContinuousScrolling: true, visibleHotSpotBackgrounds: "always", hotSpotScrollingStep: 4, hotSpotScrollingInterval: 4, touchScrolling: true }); jQuery (". trending-content. scrollableArea"). addClass ("loop");

// jquery ui slider jQuery (& # 39;. form-selector & # 39;). Slider ({ Value: 5, min: 0, max: 10 Step: 0.1 Orientation: "horizontal", Range: "min", animate: true, Slide: Function (Event, Ui) { var rating = ui.value;

jQuery (this) .parent (). Siblings (& # 39;. Rating-value & # 39;). html (rating); } });

// HD pictures if (window.devicePixelRatio == 2) { var images = jQuery ("img.hires"); // go through the images and make them high-resolution for (var i = 0; i <images.length; i ++) { // create a new image name var imageType = images [i] .src.substr (-4); var imageName = images [i] .src.substr (0, images [i] .src.length - 4); imageName + = "@ 2x" + imageType; // rename picture images [i] .src = imageName; } }

jQuery (& # 39; a.featured-image & # 39;). colorbox (); jQuery (& # 39; colorbox & # 39;). colorbox (); jQuery ("the-content a [href$='.jpg'] a [href$='.png'] a [href$='.gif']"). colorbox (); jQuery (& # 39;. the-content .gallery a & # 39;). colorbox ({rel: & # 39; gallery & # 39;});

// placeholder text for IE9 jQuery (& # 39; input, textarea & # 39;). Wildcard ();

// insert content menu items jQuery (jQuery (# content-anchor-inner) .find (# content.section-divider #). get (). reverse ()). each (function () { var id = jQuery (this) .attr (& # 39; id & # 39;); var label = jQuery (this) .data (& # 39; label & # 39;); jQuery (# content-anchor-wrapper #) .after (# 19459009) # label + #

# 39; });

var of Top = 119; // Append Scrollspy jQuery (& # 39; body & # 39;). scrollspy ({target: & # 39; .contents-menu & offset; fromTop});

// Functions that need to be done after clicking ajax buttons dynamic elements ();

// menu hover fx menuHovers ();

});

// applied to elements in Ajax panels Function dynamicElements () { // portholes jQuery (".portholes.porthole-link"). hover ( Function () { jQuery (this) .siblings (".porthole-color"). stop (). animate ({ & # 39; opacity & # 39;: & # 39;. 8 & # 39; }, 150); jQuery (this) .siblings (".porthole-layer"). stop (). animate ({ & # 39; Opacity & # 39;: & # 39; 0 & # 39; }, 350); jQuery (this) .siblings (".porthole-info"). find ("rating-wrapper"). stop (). animate ({ & # 39; opacity & # 39;: & # 39;. 9 & # 39; }, 100); jQuery (this) .siblings (".porthole-info"). stop (). delay (0) .queue (function (next) { jQuery (this) .addClass ("active"); Next (); }); }, Function () { jQuery (this) .siblings (".porthole-color"). stop (). animate ({ & # 39; Opacity & # 39;: & # 39; 0 & # 39; }, 550); jQuery (this) .siblings (".porthole-layer"). stop (). animate ({ & # 39; opacity & # 39;: & # 39;. 9 & # 39; }, 250); jQuery (this) .siblings (".porthole-info"). find ("rating-wrapper"). stop (). animate ({ & # 39; Opacity & # 39;: & # 39; 0 & # 39; }, 550); jQuery (this) .siblings (".porthole-info"). stop (). delay (150) .queue (function (next) { jQuery (this) .removeClass ("active"); Next (); }); } ); // active hover jQuery (". add-active"). hover ( Function () { jQuery (this) .addClass ("active"); }, Function () { jQuery (this) .removeClass ("active"); } ); // picture is floating jQuery (". active-image"). hover ( Function () { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({opacity: .4}, 150); }, Function () { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({Opacity: 1.0}, 500); } ); jQuery (".the_content"). hover ( Function () { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({opacity: .4}, 150); }, Function () { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({Opacity: 1.0}, 500); } ); // jQuery Tooltips jQuery (& # 39;. info & # 39;). tooltip (); jQuery (& # 39;. info-top & # 39;). tooltip (); jQuery (& # 39;. info-bottom & # 39;). Tooltip ({placement: & # 39; bottom & # 39;}); jQuery (& # 39;. info-left & # 39;). Tooltip ({placement: & # 39; left & # 39;}); jQuery (& # 39;. info-right & # 39;). Tooltip ({placement: & # 39; right & # 39;}); // jQuery popovers jQuery (& # 39; popthis & # 39;). popover (); // jQuery alarm cancellations jQuery (". alert"). alert (); // jQuery fitvids jQuery (& # 39;. video_frame & # 39;). fitVids (); // equal columns equalHeightColumns (jQuery (". widget-panel")); equalHeightColumns (jQuery (". loop.grid .article-panel")); // If elements are dynamically added when loading the page, you must consider the new width resizeContentsMenu (); resizeStickyMenu (); }

// Call columns of equal height when the window size is changed jQuery (window) .resize (function () { equalHeightColumns (jQuery (". widget-panel")); equalHeightColumns (jQuery (". loop.grid .article-panel")); resizeContentsMenu (); resizeStickyMenu (); });

// Invoke columns of equal height when changing the size of the widgets jQuery ("# ​​widgets"). resize (function (s) { equalHeightColumns (jQuery (". widget-panel")); });

// Call columns of equal height when main menu items are displayed because there are submenus // hidden and no heights up to visible jQuery (& # 39; body & # 39;). a (& # 39; mouseover & # 39 ;, # section-menu-full a.parent-item & # 39;), function (s) { equalHeightColumns (jQuery ("# ​​section-menu-full ul.term-list, # section-menu-full li.post-list"), true); }); // equal columns Function equalHeightColumns (group, nolimit) { highest = 0; width = jQuery (window) .width (); group.each (function () { jQuery (this) .removeAttr (& # 39; style & # 39;); thisHeight = jQuery (this) .height (); if (thisHeight> highest) { highest = thisHigh; } }); if (width> 991 || nolimit) { group.height (highest); } }

var topOffset = 70; var barOffset = 208;

jQuery (window) .scroll (function () { if (jQuery (this) .scrollTop ()> 110) { jQuery (# sticky-bar & # 39;). addClass (& # 39; fixed & # 39;); jQuery (# sticky-bar.logo-slide .logo a & # 39;). stop (). animate ({opacity: 1.0, left: & # 39; pp & # 39;}, 100); } else { if (! jQuery (# sticky-menu & # 39;). is (& # 39 ;: visible & # 39;) &&! jQuery (& # 39; # section-menu-mobile & # 39;). is (& # 39 ;: visible & # 39;)) { jQuery (# sticky-bar & # 39;). removeClass (& # 39; fixed & # 39;); jQuery (# sticky-bar.logo-slide .logo a & # 39;). stop (). animate ({opacity: 0, left: & # 39; -100px & # 39;}, 500); } } if (jQuery (this) .scrollTop ()> 44) { jQuery (# sticky-bar & # 39;). addClass (& # 39; sticky-mobile & # 39;); } else { jQuery (# sticky-bar & # 39;). removeClass (& # 39; sticky-mobile & # 39;); }

// up arrow if (jQuery (this) .scrollTop () < 150) { jQuery("#back-to-top").fadeOut(); } else { jQuery("#back-to-top").fadeIn(); } resizeContentsMenu(); resizeStickyMenu(); }); function resizeStickyMenu() { //see if compact versions of menus should be shown if(jQuery('#section-menu-full').length > 0) { var megaWidth = jQuery (& # 39; mega-menu & # 39;). width (); if (jQuery (& # 39; mega menu & # 39;). length == 0) { var megaWidth = jQuery (& 39; Non-mega menu & # 39;). width (); } var standardWidth = jQuery (& # 39; secondary menu full & # 39;). width (); var compactWidth = jQuery (& 39; Secondary menu compact & # 39 ;.). width (); var menusWidth = megaWidth + StandardWidth; var compactMenusWidth = megaWidth + compactWidth; var logoWidth = jQuery (# sticky-bar .logo #). width (); // var logoLeft = jQuery (# sticky-bar .logo & # 39;). offset (); // logoWidth = logoWidth + logoLeft.left; var newWidth = jQuery (# new-articles & # 39;). width (); var stickyWidth = jQuery (# sticky-menu-selector #). width (); var randomWidth = jQuery (& # 39; # random-article & # 39;). width (); var controlsWidth = jQuery (# sticky-controls & # 39;). width (); var barWidth = jQuery (# sticky-bar> .row> .col-md-12> .container #). width (); if (barWidth === null) barWidth = jQuery (# sticky-bar> .row> .col-xs-12> .container #). width (); var extraWidth = logoWidth + newWidth + stickyWidth + randomWidth + controlsWidth; var limitWidth = barWidth - extraWidth; // alert ("megaWidth =" + megaWidth + "standardWidth =" + standardWidth + # nmenusWidth = "+ menuesWidth + # 39; nlogoWidth = & # 39; + logoWidth + & # 39; nnewWidth = & # 39; + newWidth + & # 39; stickyWidth = & # 39; + sticky + & # 39; nrandomWidth = & # 39; + randomWidth + & # 39; ncontrolsWidth = & # 39; + controlsWidth + & nbarWidth = & # 39; + barWidth + & # 39; nextraWidth = & # 39; + extraWidth + & # 39; nlimitWidth = & # 39; + limitWidth); // The mega menu alone exceeds the limit if (megaWidth> limitWidth) { jQuery (& # 39; # section-menu-full & # 39;). hide (); jQuery (& # 39; # section-menu-compact & # 39;). show (); } // The default menu alone exceeds the limit if (standardWidth> limitWidth) { jQuery (& # 39; secondary menu full & # 39;). hide (); jQuery (& # 39; secondary menu compact & # 39;). show (); } // Both menus together exceed the limit if (MenusWidth> LimitWidth) { // First, reduce the default menu jQuery (& # 39; secondary menu full & # 39;). hide (); jQuery (& # 39; secondary menu compact & # 39;). show (); // compact standard plus mega menu limit if (compactMenusWidth> limitWidth) { jQuery (& # 39; # section-menu-full & # 39;). hide (); jQuery (& # 39; # section-menu-compact & # 39;). show (); } } } }

function resizeContentsMenu () { // bookmark positioning if (jQuery (& # 39;. content-menu-wrapper & # 39;). Length> 0) { var menuOffset = jQuery (& # 39;. contents-menu-wrapper & # 39;). offset (). top - topOffset; var newWidth = jQuery (& # 39;. contents-menu-wrapper & # 39;). width () - 2; var btnWidth = jQuery (& # 39;. contents-menu-wrapper ul.sort-buttons & # 39;). width (); var lblWidth = jQuery (#, contents-menu-wrapper .bar-label-wrapper). width (); var wrapperWidth = jQuery (# main-content). width () - 2; var barWidth = btnWidth + lblWidth; if (barWidth> wrapperWidth) { jQuery (& # 39;. content-menu-wrapper & # 39;). addClass (& # 39; vertical & # 39;); } if (! jQuery (& # 39;. contents-menu-wrapper & # 39;) hasClass (& # 39; vertical & # 39; && jQuery (this) .scrollTop ()> menuOffset) { jQuery (& # 39;. content-menu & # 39;). addClass (& # 39; fixed & # 39;). width (newWidth); } else { jQuery (& # 39;. content-menu & # 39;). removeClass (& # 39; fixed & # 39;). removeAttr (& # 39; style & # 39;); } // display the menu after scrolling and hide it after a while (for vertical layout only) if (jQuery (& # 39;. content-menu-wrapper & # 39;) hasClass (& # 39; vertical & # 39;)) { if (! jQuery (& # 39;. contents-menu-wrapper & # 39;). is (& # 39 ;: visible & # 39;)) { jQuery (& # 39;. content-menu-wrapper & # 39;). stop (). fadeIn (100); } } } if (jQuery (& # 39;. content-menu-wrapper & # 39;) hasClass (& # 39; vertical & # 39;)) { var newOffset = 68; jQuery (& # 39; body & # 39;). data () ['bs.scrollspy'] .options.offset = newOffset; // set the new offset jQuery (& # 39; body & # 39;). data () ['bs.scrollspy'] .process (); // Force Scrollspy to recalculate the offsets to your targets jQuery (& # 39; body & # 39;). scrollspy (& # 39; refresh & # 39;); // Update the scrollspy. } }

// If Disqus is active, the anchor link needs to be adjusted from comments to Disqus thread Function disqusContentsMenu () { if (jQuery ("# ​​disqus_thread"). Length> 0) { jQuery ("# ​​comments-anchor-wrapper a"). attr ("href", "#disqus_thread"); } }

// Hide content menu 2 seconds after scrolling stopped (Function () { var timer; jQuery (window) .bind (& # 39; scroll & # 39 ;, function () { clearTimeout (timer); Timer = SetTimeout (Refresh, 1800); }); var refresh = function () { // would like this only for the vertical style and only if the mouse pointer is not currently over the menu if (jQuery (& # 39;. content-menu-wrapper & # 39;) hasClass (& # 39; vertical & 39;) & & jQuery (& # 39;. contents-menu-wrapper: hover & # 39;) length == 0) { jQuery (& # 39;. content-menu-wrapper & # 39;). fadeOut (1200); } }; }) ();

// hide the content menu after the user leaves the mouse (Function () { var timer; jQuery (& # 39; body & # 39;). on (& # 39; mouseenter & # 39 ;, & # 39; .contents-menu-wrapper.vertical & # 39 ;, function (s) { jQuery (& # 39;. content-menu-wrapper & # 39;). stop (true, true) .fadeIn (100); clearTimeout (timer); }); jQuery (& # 39; body & # 39;). on (& # 39; mouseleave & # 39 ;, & # 39; .contents-menu-wrapper.vertical & # 39 ;, function (s) { clearTimeout (timer); Timer = SetTimeout (Refresh, 1800); }); var refresh = function () { // would like this only for the vertical style and only if the mouse pointer is not currently over the menu if (jQuery (& # 39;. content-menu-wrapper & # 39;) hasClass (& # 39; vertical & 39;) & & jQuery (& # 39;. contents-menu-wrapper: hover & # 39;) length == 0) { jQuery (& # 39;. content-menu-wrapper & # 39;). fadeOut (1200); } }; }) ();

/ ** * Check a href for an anchor. If available and in the document, scroll to it. * If the href argument is ommited, it is assumed that the context (this) is an HTML element. * This is the case when jQuery is called after an event * / Function scroll_if_anchor (href) { href = typeof (href) == "string"? href: jQuery (this) .attr ("href");

// do not bother with bootstrap carousels if (jQuery (href) .length> 0 &&! jQuery (this) .hasClass (& nbsp; no-scroll & # 39;)) { var of Top = 118;

// subtract the height of the menu (and the margin) if (jQuery (& # 39;. content-menu-wrapper & # 39;) hasClass (& # 39; vertical & # 39;)) { fromTop = fromTop - 51; }

// if our href points to a valid, not-empty anchor and is on the same page (for example, #foo) // You may experience problems with older jQuery and IE7 issues: http://stackoverflow.com/q/1593174 if (href.indexOf ("#") == 0) { var $ target = jQuery (href);

// An older browser without PushState can flicker here because it occurs for a short time // jump to the wrong position (IE < 10) if($target.length) { jQuery('html, body').animate({ scrollTop: $target.offset().top - fromTop }); if(history && "pushState" in history) { history.pushState({}, document.title, window.location.pathname + href); return false; } } } } } // When our page loads, check to see if it contains an anchor scroll_if_anchor(window.location.hash); // Intercept all anchor clicks jQuery("body").on("click", "a", scroll_if_anchor); //menu hovers function menuHovers() { jQuery(".menu .post-list a").hover( function() { jQuery(this).children('img').stop().animate({ opacity: .3 }, 150); }, function() { jQuery(this).children('img').stop().animate({ opacity: 1.0 }, 500); } ); } //new articles effects jQuery("#new-articles .selector").hover( function() { jQuery(this).addClass('over'); }, function() { jQuery(this).removeClass('over'); } ); jQuery("#new-articles .selector").click(function() { jQuery('#new-articles .post-container').animate({ height: 'toggle' }, 100, 'linear' ); jQuery(this).toggleClass('active'); }); //show search box jQuery("#menu-search-button").hover( function() { jQuery(this).toggleClass('hover'); } ); jQuery("#menu-search-button").click( function() { jQuery('#menu-search').fadeToggle("fast"); jQuery(this).toggleClass('active'); } ); //hide superfish more drop down on mobile if clicked again jQuery("#secondary-menu-selector").click( function() { if(jQuery('.secondary-menu-compact ul.menu').is(':visible')) { jQuery('.secondary-menu-compact ul.menu').hide(); } } ); //search form submission jQuery("#searchformtop input").keypress(function(event) { if (event.which == 13) { event.preventDefault(); var len = jQuery("#s").val().length; if(len > = 3) { jQuery ("# ​​searchformtop"). Submit (); } else { alert ("Search string must be at least 3 characters long"); } } }); // send e-mail subscription jQuery ("# ​​feedburner_subscribe button"). click (function () { jQuery ("# ​​feedburner_subscribe"). Submit (); }); // Show registration form jQuery ("# ​​sticky-login"). click (function () { jQuery (# sticky-login-form). animate ({ Height: & Toggle & # 39; }, 100, & # 39; linear & # 39;); jQuery (# sticky-register-form). hide (); jQuery (# sticky-register & # 39;). removeClass (& # 39; active & # 39;); jQuery (this) .toggleClass (& # 39; active & # 39;); }); // Show registration form jQuery ("# ​​sticky-register"). click (function () { jQuery (# sticky-register-form). animate ({ Height: & Toggle & # 39; }, 100, & # 39; linear & # 39;); jQuery (# sticky-login-form). hide (); jQuery (# sticky-login & # 39;). removeClass (& # 39; active & # 39;); jQuery (this) .toggleClass (& # 39; active & # 39;); }); // Send button hover effects jQuery (". sticky-submit"). hover (function () { jQuery (this) .toggleClass ("active"); }); // Registration Form Submission jQuery (". sticky-login-form #user_pass"). Keystroke (function (event) { if (event.which == 13) { jQuery ("# ​​sticky-login-form .loading"). show (); jQuery ("form.sticky-login-form"). animate ({opacity: "0.15"}, 0); event.preventDefault (); jQuery (". sticky-login-form"). Submit (); } }); jQuery ("# ​​sticky-login-submit"). click (function () { jQuery ("# ​​sticky-login-form .loading"). show (); jQuery ("form.sticky-login-form"). animate ({opacity: "0.15"}, 0); jQuery (". sticky-login-form"). Submit (); }); // Register form submission jQuery (". sticky-register-form #user_email"). Keystroke (function (event) { if (event.which == 13) { jQuery ("# ​​sticky-register-form .loading"). show (); jQuery ("form.sticky-register-form"). animate ({opacity: "0.15"}, 0); event.preventDefault (); jQuery (". sticky-register-form"). Submit (); } }); jQuery ("# ​​sticky-register-submit"). click (function () { jQuery ("# ​​sticky-register-form .loading"). show (); jQuery ("form.sticky-register-form"). animate ({opacity: "0.15"}, 0); jQuery (". sticky-register-form"). Submit (); }); // Hide the check password message jQuery (".check-password"). click (function () { jQuery (this) .animate ({ Height: & Toggle & # 39; }, 100, & # 39; linear & # 39;); }); // scroll up all #top items jQuery ("a [href='#top']"). click (function () { jQuery ("html, body"). animate ({scrollTop: 0}, "slow"); return it incorrectly; }); // picture gets darker jQuery (& # 39; body & # 39;). on (& # 39; mouseenter & # 39 ;, & # 39 ;, function (s) { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({opacity: .4}, 150); }). on (& # 39; mouseleave & # 39 ;, & # 39; mark & ​​# 39 ;, function (s) { jQuery (this) .find (& # 39; img & # 39;). stop (). animate ({Opacity: 1.0}, 500); }); // reaction mouseover jQuery (& # 39; body & # 39;). on (& # 39; mouseenter & # 39 ;, & # 39; .reaction.clickable & # 39;), function (s) { jQuery (this) .addClass (& # 39; active & # 39;); }). on (& # 39; mouseleave & # 39 ;, & # 39; .reaction & # 39 ;, function (s) { jQuery (this) .removeClass (& # 39; active & # 39;); }); // Display of user rating // Display the user comment panel jQuery (& # 39; body & # 39;). on ('mouseover', # 39; #respond. rating-wrapper.rateable ', function (s) { jQuery (this) .addClass (& # 39; over & # 39;); jQuery (this) .find (& # 39; form-selector-wrapper & # 39;). fadeIn (100); }); jQuery (& # 39; body & # 39;). on (& # 39; mouseleave & # 39;), & # 39; #respond. rating-wrapper & # 39 ;, function (s) { jQuery (this) .stop (). delay (100) .queue (function (s) { jQuery (this) .removeClass (& # 39; over & # 39;); n (); }); jQuery (this) .find (& # 39; form-selector-wrapper & # 39;). stop (). fadeOut (500); }); // User Comment Review jQuery ("#respond. form-selector") .on ("Slidestop", function (event, ui) { var divID = jQuery (this) .parent (). parent (). parent (). attr ("id"); var rating = jQuery (this) .parent (). Siblings (& # 39;. Rating-value & # 39;). html (); jQuery (# #; + divID + # .theme-icon-check #). delay (100) .fadeIn (100); jQuery (# #; + divID + # .hidden-rating-value #). val (rating); });

// interest if (jQuery (# pinterest-social-tab) # Length> 0) { (Function (d) { var f = d.getElementsByTagName (& # 39; SCRIPT & # 39;) [0] p = d.createElement (& # 39; SCRIPT & # 39;); p.type = & # 39; text / javascript & # 39 ;; p.async = true; p.src = "http://assets.pinterest.com/js/pinit.js"; f.parentNode.insertBefore (p, f); }(document)); }

// Facebook if (jQuery (# facebook-social-tab & # 39;). Length> 0) { (Function (d, s, id) { var js, fjs = d.getElementsByTagName (s) [0]; if (d.getElementById (id)) return; js = d.createElement (s); js.id = id; js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1&status=0"; fjs.parentNode.insertBefore (js, fjs); } (Document, & # 39; script & # 39 ;, & # 39; facebook-jssdk & # 39;))); }

//WINDOW.LOAD jQuery (window) .load (function () {

// flickr if (jQuery (# flickr-social-tab & # 39;). Length> 0) { jQuery (& # 39; flickr & # 39;). jflickrfeed ({ Limit: 9, QStrings: { I would: & # 39; & # 39; }, itemTemplate: & # 39;

  • & # 39; + + & # 39;  {{title}} & # 39; + +
  • } Function (data) { }); }

    // tabs - these have to go into window.load for pinterest to work inside a tab jQuery (& # 39; widwidgets-wrapper .it-social-tabs & # 39;). tabs ({fx: {opacity: & # 39; toggle & # 39; duration: 150}}); jQuery (& # 39; # footer .it-social-tabs & # 39;). tabs ({active: 2, fx: {opacity: & # 39; toggle & # 39; duration: 150}}); jQuery (& 39; share-wrapper & # 39 ;.). show (); equalHeightColumns (jQuery (". loop.grid .article-panel")); disqusContentsMenu ();

    // Show ads after setting up the menu because the page is embedded in a div // causes Google to reload AdSense jQuery (& # 39; it-ad & # 39;). animate ({opacity: & 1}}, 0);

    });

    jQuery.noConflict ();
    Source link