Games

Pros and cons of using wireless controllers

The wireless controllers they came to the consoles a long time ago, and it is something that, as usual, has been extended to other accessories such as wireless mice or keyboards, wireless headphones, in short, it has been greatly improved compared to the wireless technology of the controls remote for TV from 20 years ago. Now you don’t even have to point at the deviceThey simply have to be linked or paired, many prefer this option over wired controllers.

In this article we will talk about the positives and negatives of wireless controllers, taking into account that the reality of each person is different, there will be those who opt for this option or the opposite. Presumably all devices have their strengths and weaknesses, so without further ado, let’s talk about it.

Pros of Using an Xbox Wireless Controller

An Xbox controller is a fundamental accessory because without it we could not play, these devices are available in wired and wireless versions, the wireless versions have their strengths mainly in the freedom to play wherever you want, let’s delve into it.

Freedom of movement

Pros and cons of using wireless controllers 2

When you use a wired controller you have a clear restriction, you cannot move beyond the length of the cable, if it is 2 meters you have very little room to move. By this we mean that you will need to be close to your TV and console as these must also be connected via a cable system, such as a computer with a monitor.

When using Bluetooth technology you just need to pair the controller with the console so you can use it without the need to be connected by a cable, this gives you total freedom to play even 6 meters from the screen or more if you wish. A wireless controller has a range of approximately 10 metersif you have a small screen maybe it’s a far distance, but it’s perfect for big screens.

They are ideal to protect your sight

Pros and cons of using wireless controllers 3

In line with the above, by having that freedom of movement you can stay away from the television or monitor screen, and this will benefit your eyesight, since both televisions and monitors mostly emit the so-called “Blue light”, this blue light is the cause of visual fatigue being for several hours in front of the screen.

This is because the human being perceives light as different colors, these colors have a wavelength that is shorter the closer we are to ultraviolet rays and longer the closer we are to infrared rays. The blue light emitted by television and monitor screens is closer to ultraviolet raysIn addition to visual fatigue, it is associated with insomnia when viewing these screens for a long time before sleeping.

So when you use a wireless controller you will be in a safe distance range for your eyes, also we recommend that you purchase a television or monitor with technology Low Blue Light which greatly reduces the emission of blue light.

easy to transport

Pros and cons of using wireless controllers 4

a wireless controller it is practically a pocket deviceyou do not need a large space to store it, in fact you may be a great enthusiast to take advantage of long trips to play with your mobile phone using the controller, as you know, you can use a mobile support and pair both devices to play in a way more comfortable than you would with the touch screen.

As well has a better thought out design to fit in a case or sleeve where you can store it and protect it from external elements such as dust or moisture. They are light and small products, so not having cable makes it easier to take from one place to anotherthis is an advantage for people who usually play outdoors.

Cons of Using an Xbox Wireless Controller

Obviously everything was not going to be good, these devices also have something to do, and this is what we will talk about in this section of the article.

They only work with batteries

Pros and cons of using wireless controllers 5

Undoubtedly, this aspect is its main disadvantage compared to wired controls, since if you have a controller with a poor battery, it will leave you in the middle of a game and you will need to recharge it to be able to play again, instead the wired controls only need to be connected to the console and now, they do not need pairing or anything similar.

To fix this you can do one of three things, buy a high-capacity rechargeable battery pack, buy a charging base that allows you to use the remote even while using it or in the last case, opt for a wired controller to always be available to enjoy your favorite games.

They are more expensive

As you read it, wireless controllers They are usually between 45 and 70 eurosand they certainly have good quality and programmable buttons, as well as audio output and other cool features, but in terms of what we discussed about the batteries, you have to make an investment not only with the remote, but opt for more batteries and a charging base and that supposes a greater disbursement of money.

What’s more, doing a basic calculation we could say that with what you spend on the controller, the high-capacity rechargeable batteries and the charging base, you could buy two wired controllers.

In conclusion

Pros and cons of using wireless controllers 6

Wireless controls have their advantages and disadvantages, like almost any device, but we believe that there are more advantages, it is true that they require a greater investment, but are devices that help you stay further away from the screen than wired controls and this is of great importance for your visual health. A wireless controller like the one from Microsoft, which is also an official product, is ideal for playing with your Xbox, it has a very elegant matte black design, it also has a PC adaptor.

This adapter can support up to 8 wireless controllers connected at the same time, which is great for playing games with your friends, it has textured grip on the buttons, triggers, sticks and even on the grip so you feel more comfortable, you also have the option to program buttons to create different profiles, it costs €69.95 and is available on Amazon.

Last update on 2021-10-04. Prices and availability may differ from those published. SomosXbox may receive a commission from your purchases. More information.

//disable responsiveness //move slider next arrow for videos if (jQuery("#masterslider").length > 0){ slider.api.addEventListener(MSSliderEvent.VIDEO_PLAY , function(){ jQuery('.ms-nav-next').addClass('video-playing'); }); slider.api.addEventListener(MSSliderEvent.VIDEO_CLOSE , function(){ jQuery('.ms-nav-next').removeClass('video-playing'); }); } //hide various jQuery elements until they are loaded jQuery('#sticky-menus').show(); jQuery('.it-widget-tabs').show(); jQuery('.bar-label').show(); //jquery nav menus jQuery("#sticky-menu") .mmenu({ position: "left", zposition: "back", counters: true, dragOpen: true, header: { add: true, update: true, title: "Navigation" }, searchfield: true }, { selectedClass: "current-menu-item" }) .on( "opening.mm", function() { jQuery("#sticky-bar.admin-bar").not(".no-header").css("top", "110px"); jQuery(".contents-menu-wrapper").hide(); jQuery(".contents-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(".contents-menu-wrapper").css({ opacity: 1 }); } ); jQuery("#section-menu-mobile") .mmenu({ position: "right", zposition: "back", counters: true, dragOpen: true, header: { add: true, update: true, title: "Sections" }, searchfield: true }, { selectedClass: "current-menu-item" }) .on( "opening.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').superfish({ hoverClass: 'over', delay: 500, animation: {height:'show'}, speed: 160, disableHI: true, autoArrows: false }); jQuery('#section-menu ul').superfish({ hoverClass: 'over', delay: 300, speed: 100, disableHI: true, autoArrows: false }); jQuery('.utility-menu ul').superfish({ hoverClass: 'over', delay: 500, animation: {height:'show'}, speed: 160, disableHI: true, autoArrows: false });

//hide scrollers until fully loaded jQuery('.explicit-inner').show(); jQuery('.trending-wrapper').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('.form-selector').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('.rating-value').html( rating ); } });

//HD images if (window.devicePixelRatio == 2) { var images = jQuery("img.hires"); // loop through the images and make them hi-res for(var i = 0; i < images.length; i++) { // create 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 image images[i].src = imageName; } } jQuery('a.featured-image').colorbox(); jQuery('.colorbox').colorbox(); jQuery(".the-content a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").colorbox(); jQuery('.the-content .gallery a').colorbox({rel:'gallery'}); //placeholder text for IE9 jQuery('input, textarea').placeholder(); //insert content menu items jQuery(jQuery('#content-anchor-inner').find('.content-section-divider').get().reverse()).each(function () { var id = jQuery(this).attr('id'); var label = jQuery(this).data('label'); jQuery( '#content-anchor-wrapper' ).after( '

  • ' + label + '
  • ' ); });

    var fromTop = 119; //attach scrollspy jQuery('body').scrollspy({ target: '.contents-menu', offset: fromTop });

    //functions that need to run after ajax buttons are clicked dynamicElements();

    //menu hover fx menuHovers();

    });

    //applied to elements within ajax panels function dynamicElements() { //portholes mouseovers jQuery(".portholes .porthole-link").hover( function() { jQuery(this).siblings(".porthole-color").stop().animate({ 'opacity':'.8' }, 150); jQuery(this).siblings(".porthole-layer").stop().animate({ 'opacity':'0' }, 350); jQuery(this).siblings(".porthole-info").find(".rating-wrapper").stop().animate({ 'opacity':'.9' }, 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({ 'opacity':'0' }, 550); jQuery(this).siblings(".porthole-layer").stop().animate({ 'opacity':'.9' }, 250); jQuery(this).siblings(".porthole-info").find(".rating-wrapper").stop().animate({ 'opacity':'0' }, 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"); } ); //image hovers jQuery(".active-image").hover( function() { jQuery(this).find('img').stop().animate({ opacity: .4 }, 150); }, function() { jQuery(this).find('img').stop().animate({ opacity: 1.0 }, 500); } ); jQuery(".the_content").hover( function() { jQuery(this).find('img').stop().animate({ opacity: .4 }, 150); }, function() { jQuery(this).find('img').stop().animate({ opacity: 1.0 }, 500); } ); //jQuery tooltips jQuery('.info').tooltip(); jQuery('.info-top').tooltip(); jQuery('.info-bottom').tooltip({ placement: 'bottom' }); jQuery('.info-left').tooltip({ placement: 'left' }); jQuery('.info-right').tooltip({ placement: 'right' }); //jQuery popovers jQuery('.popthis').popover(); //jQuery alert dismissals jQuery(".alert").alert(); //jQuery fitvids jQuery('.video_frame').fitVids(); //equal height columns equalHeightColumns(jQuery(".widget-panel")); equalHeightColumns(jQuery(".loop.grid .article-panel")); //if items are dynamically added on page load, need to account for new width resizeContentsMenu(); resizeStickyMenu(); }

    //call equal height columns when window is resized jQuery(window).resize(function() { equalHeightColumns(jQuery(".widget-panel")); equalHeightColumns(jQuery(".loop.grid .article-panel")); resizeContentsMenu(); resizeStickyMenu(); });

    //call equal height columns when widgets is resized jQuery("#widgets").resize(function(e){ equalHeightColumns(jQuery(".widget-panel")); });

    //call equal height columns when main menu items are hovered since sub menus are //hidden and don't have heights until visible jQuery('body').on('mouseover', '#section-menu-full a.parent-item', function(e){ equalHeightColumns(jQuery("#section-menu-full ul.term-list, #section-menu-full li.post-list"), true); }); //equal height columns function equalHeightColumns(group, nolimit) { tallest = 0; width = jQuery(window).width(); group.each(function() { jQuery(this).removeAttr('style'); thisHeight = jQuery(this).height(); if(thisHeight > tallest) { tallest = thisHeight; } }); if(width > 991 || nolimit) { group.height(tallest); } }

    var topOffset = 70; var barOffset = 208;

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

    //back to top 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('.mega-menu').width(); if(jQuery('.mega-menu').length == 0) { var megaWidth = jQuery('.non-mega-menu').width(); } var standardWidth = jQuery('.secondary-menu-full').width(); var compactWidth = jQuery('.secondary-menu-compact').width(); var menusWidth = megaWidth + standardWidth; var compactMenusWidth = megaWidth + compactWidth; var logoWidth = jQuery('#sticky-bar .logo').width(); //var logoLeft = jQuery('#sticky-bar .logo').offset(); //logoWidth = logoWidth + logoLeft.left; var newWidth = jQuery('#new-articles').width(); var stickyWidth = jQuery('#sticky-menu-selector').width(); var randomWidth = jQuery('#random-article').width(); var controlsWidth = jQuery('#sticky-controls').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 + "\nstandardWidth=" + standardWidth + "\nmenusWidth=" + menusWidth + "\nlogoWidth=" + logoWidth + "\nnewWidth=" + newWidth + "\nstickyWidth=" + stickyWidth + "\nrandomWidth=" + randomWidth + "\ncontrolsWidth=" + controlsWidth + "\nbarWidth=" + barWidth + "\nextraWidth=" + extraWidth + "\nlimitWidth=" + limitWidth); //mega menu alone passes limit if(megaWidth > limitWidth) { jQuery("#section-menu-full').hide(); jQuery('#section-menu-compact').show(); } //standard menu alone passes limit if(standardWidth > limitWidth) { jQuery('.secondary-menu-full').hide(); jQuery('.secondary-menu-compact').show(); } //both menus together pass limit if(menusWidth > limitWidth) { //first reduce standard menu jQuery('.secondary-menu-full').hide(); jQuery('.secondary-menu-compact').show(); //compact standard plus mega menu pass limit if(compactMenusWidth > limitWidth) { jQuery('#section-menu-full').hide(); jQuery('#section-menu-compact').show(); } } } }

    function resizeContentsMenu() { //bookmark positioning if(jQuery('.contents-menu-wrapper').length > 0) { var menuOffset = jQuery('.contents-menu-wrapper').offset().top - topOffset; var newWidth = jQuery('.contents-menu-wrapper').width() - 2; var btnWidth = jQuery('.contents-menu-wrapper ul.sort-buttons').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('.contents-menu-wrapper').addClass('vertical'); } if (!jQuery('.contents-menu-wrapper').hasClass('vertical') && jQuery(this).scrollTop() > menuOffset) { jQuery('.contents-menu').addClass('fixed').width(newWidth); } else { jQuery('.contents-menu').removeClass('fixed').removeAttr('style'); } //show the menu after scrolling and hide after a while (only for vertical layout) if(jQuery('.contents-menu-wrapper').hasClass('vertical')) { if(!jQuery('.contents-menu-wrapper').is(':visible')) { jQuery('.contents-menu-wrapper').stop().fadeIn(100); } } } if(jQuery('.contents-menu-wrapper').hasClass('vertical')) { var newOffset = 68; jQuery('body').data()['bs.scrollspy'].options.offset = newOffset; // Set the new offset jQuery('body').data()['bs.scrollspy'].process(); // Force scrollspy to recalculate the offsets to your targets jQuery('body').scrollspy('refresh'); // Refresh the scrollspy. } }

    //if disqus is active need to adjust anchor link from comments to disqus thread function disqusContentsMenu() { if (jQuery("#disqus_thread").length > 0){ jQuery("#comments-anchor-wrapper a").attr("href", "#disqus_thread"); } }

    //hide contents menu 2 seconds after scrolling has stopped (function() { var timer; jQuery(window).bind('scroll',function () { clearTimeout(timer); timer = setTimeout( refresh , 1800 ); }); var refresh = function () { //only want to do this for vertical style and only if mouse is not currently hovering over the menu if(jQuery('.contents-menu-wrapper').hasClass('vertical') && jQuery('.contents-menu-wrapper:hover').length == 0) { jQuery('.contents-menu-wrapper').fadeOut(1200); } }; })();

    //hide contents menu after user mouses out (function() { var timer; jQuery('body').on('mouseenter', '.contents-menu-wrapper.vertical', function(e) { jQuery('.contents-menu-wrapper').stop(true, true).fadeIn(100); clearTimeout(timer); }); jQuery('body').on('mouseleave', '.contents-menu-wrapper.vertical', function(e) { clearTimeout(timer); timer = setTimeout( refresh , 1800 ); }); var refresh = function () { //only want to do this for vertical style and only if mouse is not currently hovering over the menu if(jQuery('.contents-menu-wrapper').hasClass('vertical') && jQuery('.contents-menu-wrapper:hover').length == 0) { jQuery('.contents-menu-wrapper').fadeOut(1200); } }; })();

    /** * Check a href for an anchor. If exists, and in document, scroll to it. * If href argument ommited, assumes context (this) is HTML Element, * which will be the case when invoked by jQuery after an event */ function scroll_if_anchor(href) { href = typeof(href) == "string" ? href : jQuery(this).attr("href");

    //do not interfere with bootstrap carousels if(jQuery(href).length > 0 && !jQuery(this).hasClass('no-scroll')) { var fromTop = 118;

    //subtract contents menu height (and margin) if(jQuery('.contents-menu-wrapper').hasClass('vertical')) { fromTop = fromTop - 51; }

    // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo) // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174 if(href.indexOf("#") == 0) { var $target = jQuery(href);

    // Older browser without pushState might flicker here, as they momentarily // 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 term must be at least 3 characters in length"); } } }); //email subscribe form submission jQuery("#feedburner_subscribe button").click(function() { jQuery("#feedburner_subscribe").submit(); }); //show login form jQuery("#sticky-login").click(function() { jQuery('#sticky-login-form').animate({ height: 'toggle' }, 100, 'linear' ); jQuery('#sticky-register-form').hide(); jQuery('#sticky-register').removeClass('active'); jQuery(this).toggleClass('active'); }); //show register form jQuery("#sticky-register").click(function() { jQuery('#sticky-register-form').animate({ height: 'toggle' }, 100, 'linear' ); jQuery('#sticky-login-form').hide(); jQuery('#sticky-login').removeClass('active'); jQuery(this).toggleClass('active'); }); //submit button hover effects jQuery(".sticky-submit").hover(function() { jQuery(this).toggleClass("active"); }); //login form submission jQuery(".sticky-login-form #user_pass").keypress(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").keypress(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 check password message jQuery(".check-password").click(function() { jQuery(this).animate({ height: 'toggle' }, 100, 'linear' ); }); //scroll all #top elements to top jQuery("a[href="#top"]").click(function() { jQuery("html, body").animate({ scrollTop: 0 }, "slow"); return false; }); //image darkening jQuery('body').on('mouseenter', '.darken', function(e) { jQuery(this).find('img').stop().animate({ opacity: .4 }, 150); }).on('mouseleave', '.darken', function(e) { jQuery(this).find('img').stop().animate({ opacity: 1.0 }, 500); }); //reaction mouseovers jQuery('body').on('mouseenter', '.reaction.clickable', function(e) { jQuery(this).addClass('active'); }).on('mouseleave', '.reaction', function(e) { jQuery(this).removeClass('active'); }); // user rating panel display jQuery('body').on('mouseover', '.user-rating .rating-wrapper.rateable', function(e) { jQuery(this).addClass('over'); jQuery(this).find('.form-selector-wrapper').fadeIn(100); }); jQuery('body').on('mouseleave', '.user-rating .rating-wrapper', function(e) { jQuery(this).stop().delay(100) .queue(function(n) { jQuery(this).removeClass('over'); n(); }); jQuery(this).find('.form-selector-wrapper').stop().fadeOut(500); }); // user comment rating panel display jQuery('body').on('mouseover', '#respond .rating-wrapper.rateable', function(e) { jQuery(this).addClass('over'); jQuery(this).find('.form-selector-wrapper').fadeIn(100); }); jQuery('body').on('mouseleave', '#respond .rating-wrapper', function(e) { jQuery(this).stop().delay(100) .queue(function(n) { jQuery(this).removeClass('over'); n(); }); jQuery(this).find('.form-selector-wrapper').stop().fadeOut(500); }); // user comment rating jQuery( "#respond .form-selector" ).on( "slidestop", function( event, ui ) { var divID = jQuery(this).parent().parent().parent().attr("id"); var rating = jQuery(this).parent().siblings('.rating-value').html(); jQuery('#' + divID + ' .theme-icon-check').delay(100).fadeIn(100); jQuery('#' + divID + ' .hidden-rating-value').val(rating); });

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

    //facebook if(jQuery('#facebook-social-tab').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 = "//connect.facebook.net/en_US/all.js#xfbml=1&status=0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); }

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

    //flickr if(jQuery('#flickr-social-tab').length > 0) { jQuery('.flickr').jflickrfeed({ limit: 9, qstrings: { id: '' }, itemTemplate: '

  • '+ '' + '{{title}}' + '' + '
  • ' }, function(data) { }); }

    //tabs - these must go in window.load so pinterest will work inside a tab jQuery('.widgets-wrapper .it-social-tabs').tabs({ fx: { opacity: 'toggle', duration: 150 } }); jQuery('#footer .it-social-tabs').tabs({ active: 2, fx: { opacity: 'toggle', duration: 150 } }); jQuery('.share-wrapper').show(); equalHeightColumns(jQuery(".loop.grid .article-panel")); disqusContentsMenu();

    //show ads after mmenu is setup because it wraps the page in a div //causing google adsense to reload jQuery('.it-ad').animate({opacity: '1'}, 0);

    });

    jQuery.noConflict();

    Source link

    Related Articles

    Leave a Reply

    Your email address will not be published.

    Back to top button