قالب وردپرس درنا توس
Home / Best Lists / 5 reasons why seniors should do yoga

5 reasons why seniors should do yoga



Yoga is a great exercise for all ages. Senior yoga is no exception. Yoga can help relieve stress, improve your mood, increase blood circulation, sleep better, and even improve your heart health. If you have never done yoga, it can be intimidating (especially in these difficult yoga poses). That should not be it.

The older you get, the more pain you have. Your body tends to be less flexible, and you may experience new joint pain due to arthritis, previous injuries, or other ailments. You must eat well and exercise all your life, as this can alleviate the symptoms mentioned above.

But when you reach a certain age, you may not be able to do as much exercise as you used to. Sure, there are still 70-year-olds running marathons and participating in Iron Man competitions, but that's not the norm. Some seniors want their exercise routines to be more restrained. This is one of the reasons why yoga is especially suitable for seniors.

Here are the top five reasons why seniors should practice yoga.

5.) Yoga reduces back pain

Back pain is a common primary condition in which yoga (and Pilates) can help.

Yoga helps to increase your nuclear power, which in turn relieves your back pain. One of the best yoga exercises for back pain is the "cat cow" pictured above. This posture extends over the neck, shoulders and torso and is similar to a backbend (but much simpler).

The core is active in almost every yoga posture. With the coach's constant admonition to indwell and keep his spine neutral, yoga is an excellent way to strengthen an important part of the human body.

When we are sedentary, we lose the alignment of our body, which is crucial to the health of the spine. Yoga helps to rebalance the spine, increase the strength of our abdominal muscles, and relieve stress on the spine resulting from a weak core.

Another added benefit? You can finally reach those six-pack abdominal muscles.

4.) Yoga improves mental clarity and health.

  Senior meditating "width =" 6381 "height =" 4259

4 PM Production / Shutterstock

Do you suffer from insomnia? Fear? Stress? Yoga can help to improve your mood. Yoga can help you achieve better sleep (which will make you feel refreshed the next day), and you can be more attentive, less worried, and refreshed.

Regular Sleep Alone Can Help Improve Mental Clarity and Health Yoga helps develop a normal sleep pattern while lowering stress levels and increasing self-esteem.

As we grow older, we often feel compelled to stay young and do anything to fight the clock. In yoga, we experience an attunement to our body that goes beyond the mere shaping and burning of fat. We are shown how to listen to the signals of our body. This exercise gives us more energy and helps us to be more independent and respectful of our abilities, while giving thanks for the care of our body.

3.) Yoga improves heart health

  Seniors with yoga mats "width =" 6144 "height =" 4080

Rido / Shutterstock

Heart disease is the leading cause of death in adults in the United States and cancer accidents. A healthy heart is essential for a long life. Fortunately, there are things you can do to keep your heart healthy and better when it's not up to date.

Cardio activities such as running, cycling and swimming are great ways to keep your heart strong. Do you want something that has less impact? Try yoga!

By combining stretching, breathing, and cardio exercises, yoga can strengthen your heart and reduce the risk of heart disease, just like traditional exercises can.

Yoga increases systolic stroke volume and lowers cholesterol and appetite, fat mass and resting heart rate. It also normalizes blood pressure. All of these things have a direct impact on the health of the heart, an organ crucial to health for a long and healthy life.

Take a look at some specific yoga exercises for heart health.

2.) They gain (or maintain) muscle mass and improve balance

  Seniors in Tree Husbandry "width =" 900 "height =" 601

4PM Production / Shutterstock

As you age, you lose muscle mass , Aging causes muscle mass to deteriorate as hormones shift and lose activity with respect to muscle maintenance and growth.

At Tufts University, a study in which 87- to 96-year-olds participated in a weightlifting program showed a 300 percent increase in muscle tone. This gave them the ability to be independent and capable, which should not be underestimated in the elderly population.

If you're interested in weightlifting, you can build muscle mass. But if you want something with less effect, yoga can help too! Yoga uses the whole body and strengthens all muscle groups in a rounded session.

Yoga can also help to improve balance. Yoga helps you maintain your muscle mass, improve your balance, and prevent falls, which is a common concern in the elderly. If you are still falling and injured, yoga can also help you recover faster.

1.) It protects the joints.

  Senior with downhill dog. "Width =" 1000 "height =" 668

Olena Yakobchuk / Shutterstock

Perhaps the main reason why yoga is great for senior citizens looking for a fitness program is the protection of the joints. Do you have a sick back, a bad knee or arthritis? You will not want to engage in effective routines. They leave pain and can aggravate your existing pain and discomfort, potentially causing serious injury.

Yoga is a great way to increase your heart rate while keeping stress on your joints low. The individual has full control over the extent of the stretch and the pace.

As you get older, you tend to be more responsive to the pain sensations, so you are more likely to relax in the flow and poses. Not feeling conscious when you consider that yoga is an uncompetitive, accepting exercise.

Are you a senior who has discovered these five major benefits of senior yoga? If not, try one or two classes to see what you think.

<img class = "alignnone wp-image-53595 size-large" src = "https://www.top5.com/wp-content/uploads/2019/07/5-reasons-seniors-should-do -yoga-1024×576.jpg "alt =" 5 reasons why seniors should do yoga kick-start your heart health   exercise routines (which are far from being) to boost your heart health

} get started {} };

Function fireFBevent () {

! Function (f, b, e, v, n, t, s) {if (f.fbq) return; n = f.fbq = function ()

{N.callMethod? n.callMethod.apply (n, arguments): n.queue.push (arguments)} ; if (! f._fbq) f._fbq = n; n.push = n; n.loaded =! 0; n.version = & # 39; 2.0 & # 39 ;; n.queue = []; t = b.createElement (e); t.async =! 0; t.src = v; s = b.getElementsByTagName (s) [0]; s.parentNode.insertBefore (t, s)} (window, document, & # 39; script & # 39 ;, //connect.facebook.net/en_US/fbevents.js&#39);:; & # 39 https fbq (& # 39; init & # 39 ;, 155838155208561 & # 39;); fbq (& # 39; trackSingleCustom & # 39 ;, & # 39; 155838155208561 & # 39 ;, & # 39; KWco & # 39;);

}

$ (# Container #). on (& # 39; click & # 39; a [href*="amazon"] a [rel="noopener"] a [href*="amzn.to"] & # 39 ;, function (e) { fireFBevent (); }); var activePage = 1;

/ * FACEBOOK-CONNECTED TRACKING * /

$ (& # 39; a.aff-link & # 39;). each (function () {

$ (this) .click (clickOutHandler)

});

var pinterestButtons = function () {

$ (& # 39; .contentcontent> .content-block> img, .contentcontent> *> img, .contentcontent .content-block img, .contentcontent a> img #). each (function (i) {

var $ this = $ (this), url = $ this.attr (# src #);

if ($ this.hasClass (? pinned?)! = true && this.hasClass (? no-pin?)! = true && $ this.hasClass (& ntvAdChoicesImg &) # 39;)! = True && $ this.hasClass (& # 39; affiliate-widget-img & # 39;)! = True && url.indexOf (& # 39; nextstory & # 39; == -1 && url.indexOf (& # 39; SHOP-NOW & # 39;) == -1 && url.indexOf (& ntv.io & # 39;) == -1 && document.URL.indexOf (& # 39; 39; subscriber recommendation & # 39; == -1) {

$ this.wrap (& # 39; & # 39;); $ (& # 39; image-wrap - & # 39; + i) .append (& # 39; & # 39;); $ this.addClass (& # 39; pinned & # 39;). data (& # 39; pin-do & # 39;);

$ (& # 39; image-wrap - & # 39; + i + & # 39; pinterest-button & # 39;). click (function () { $ .getScript ("// assets.pinterest.com/js/pinit_main.js", function () { PinUtils.build (); PinUtils.pinAny (); }); });

}

});

if (window.slideshowview == true && window.articlePage> 1) { var href = $ (& # 39;. content-next-page-link a & # 39;). attr (? href?); $ (& # 39; image-wrap-0 & # 39;). append (& # 39; Next> & # 39;) }

}

var queryStrings = getParams (window.location.href), appendString = & # 39; & # 39 ;;

Object.keys (queryStrings) .forEach (function (index) {

if (index == & utm_source & # 39;) { appendString + = & # 39; & s1 = & # 39; + query strings [index]; } otherwise if (index == & utm_medium & # 39;) { appendString + = & # 39; & s2 = & # 39; + query strings [index]; } otherwise if (index == & utmp_content & # 39;) { appendString + = & # 39; & s3 = & # 39; + query strings [index]; } otherwise if (index == & utmp_campaign & # 39;) { appendString + = & # 39; & s4 = & # 39; + query strings [index]; }

});

$ (& # 39; a & # 39;). each (function (i) {

var $ this = $ (this), $ href = $ this.attr (& # 39; href & # 39;), tempString = appendString;

To attempt {

if ($ href.indexOf (& # 39; greenwebbs.com & # 39;)> - 1) {

if ($ href.indexOf (& # 39; & s1 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s1 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s2 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s2 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s3 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s3 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s4 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s4 = & # 39 ;, & # 39; & # 39;); }

if ($ href.indexOf (& # 39; & # 39;)> - 1) { $ href + = appendString; } otherwise { tempString = appendString.replace (& # 39; && # ;, & # 39; & # 39;); $ href + = tempString; }

$ this.attr (& # 39; href & # 39 ;, $ href);

}

} Catch (s) { //console.log($this); //console.log(e); }

});

setTimeout (function () {

// If there is a cookie for the gclid if (getCookie ("gclid")) { // put it in the required links gclidLinkPop (); }

}, 2500);

$ (& 39; bookmark-this & # 39;). click (function (e) { var bookmarkURL = window.location.href; var bookmarkTitle = document.title;

if (& # 39; addToHomescreen & # 39; in the window && addToHomescreen.isCompatible) { // mobile browser addToHomescreen ({autostart: false, startDelay: 0}). show (true); } else if (window.sidebar && window.sidebar.addPanel) { // Firefox <= 22 window.sidebar.addPanel (bookmarkTitle, bookmarkURL, & # 39; & # 39;); } else if ((window.sidebar && /Firefox/i.test(navigator.userAgent)) || (window.opera && window.print)) { // Firefox 23+ and Opera <=14 $(this).attr({ href: bookmarkURL, title: bookmarkTitle, rel: 'sidebar' }).off(e); return true; } else if (window.external && ('AddFavorite' in window.external)) { // IE Favorites window.external.AddFavorite(bookmarkURL, bookmarkTitle); } else { // Other browsers (mainly WebKit & Blink - Safari, Chrome, Opera 15+) alert('Press ' + (/Mac/i.test(navigator.platform) ? 'Cmd' : 'Ctrl') + '+D to bookmark this page.'); } return false; }); $('.review-rail-pi').click(function(e){ e.preventDefault(); $.getScript("//assets.pinterest.com/js/pinit_main.js", function() { PinUtils.build(); PinUtils.pinAny(); }); }); $('.ad-disclosure > span & # 39;). Hover ( Function(){ $ (& # 39; ad-disclosure-content & # 39;). addClass (& # 39; show & # 39;); }, Function(){ $ (& # 39; ad-disclosure-content & # 39;). removeClass (& # 39; show & # 39;); } );

$ (& Nb; nav-hamburger & # 39;). click (function (s) {

/ * Hamburger menu * /

e.preventDefault (); $ (# Nav-search-box, .nav-search #). removeClass (& # 39; active & # 39;); $ (& # 39;. Nav-hamburger> button & # 39;). toggleClass (& # 39; is active & # 39;); $ (& Nb; nav-menu & # 39;). toggleClass (& # 39; expand & # 39;);

})

$ (& # 39 ;, single a.maxbutton & # 39;). click (function (e) {

e.preventDefault ();

To attempt {

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Article - MaxButton & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) { console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39;. Review-tab & # 39;). hover (function () { var $ this = $ (this); }, function () { var $ this = $ (this); });

$ (& # 39;. Reviews-main & # 39;). on (& # 39; click & # 39 ;, & # 39; review-tab & # 39 ;, function (s) {

var $ this = $ (this);

$ (& # 39;. Review-tab & # 39;). removeClass (& # 39; active & # 39;);

$ this.addClass (& # 39; active & # 39;);

var category_id = $ this.data (& # 39; categoryid & # 39;); $ (& # 39;. Review-main & # 39;). hide ();

if (category_id == & # 39; all & # 39;) { $ (& # 39;. Review-main & # 39;). show (); } otherwise { $ (& # 39;. Review-main.category - & # 39; + category_id) .show (); }

});

$ (& # 39;. Review-tabs & # 39;). css (& # 39; display & # 39 ;, & # 39; table & # 39;);

/ * Partner events - Homepage * /

$ (& # 39; a.home-more-reviews & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage-More Reviews Button & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) { console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; home a.featured-product & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage-Top Expert Reviews Card & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. home. Featured-product-left a & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent ("Affiliates", "Homepage-Top Expert Reviews Author", href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; home.featured-review & # 39 ;.). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage-Category Card & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

/ * Partner Events - Check Taxonomy Page - Organic * /

$ (& # 39; a.product-title & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-Title & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.more-reviews-top & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-More Reviews Top & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) { console.log (e); setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.product-logo-wrap & # 39;). click (function (e) { e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-Image & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) { console.log (e); setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; shop-now a & # 39;). click (function (s) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-Button & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; a.readmore & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-Read Reviews & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; a.post-below-reviews & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; reviews-Organic-Bottom Recirc & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39;. Top review details a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), Product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate Click & # 39 ;, & # 39; Review Title - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; top-review-wrapper-left> a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), Product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, Reviews Thumbnail - & # 39; + product, pageUrl);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; top-review-wrapper a.read-review & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent ("Affiliates", "Review-Paid-Read Review Link", href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; top-review-wrapper a.shop-now & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), Product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; affiliate click & # 39 ;, & # 39; reviews button - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; rail-review-details a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), Product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, Rail-Title Review - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

}

});

$ (& # 39;. Reviews-description a & # 39 ;.). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname, Product;

$ (& # 39;. Top review details a & # 39;). each (function (i) {

var $ a = $ (this), $ href = $ a.attr (& # 39; href & # 39;);

if ($ href == href) { product = $ a.data (& # 39; product & # 39;); return it incorrectly; }

});

To attempt {

sendGAEvent (& # 39; partner click & # 39;, & # 39; reviews text link - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.rail-review-rating & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Paid Rail Stars & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; rail-review-bottom-right a.read-review & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review Paid Rail Read Review Link & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; rail-review-bottom-right a.shop-now & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), Product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Rail-Shop Now Button - & # 39; + Product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; product-wrapper-wrap a.more-link-top & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, Review Page - More link top right & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; product-wrapper-wrap a.rank-view-more & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review Page - View More Rank & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; product-wrapper-wrap a.aff-product-buynow & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, Review Page - Buy Now Button & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; product-sidebar a & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent ("Affiliates", "Review Page - Sidebar Recirc", href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

/ * End partner events * /

$ (& # 39;. Entry-content & # 39;). on (& # 39; click & # 39 ;, begin-slideshow-after & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = false;

To attempt {

sendGAEvent (& # 39; Begin Slideshow & # 39 ;, Begin Slideshow - Lower & 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39;. Entry-content & # 39;). on (& # 39; click & # 39;, begin-slideshow-image & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = false;

To attempt {

sendGAEvent (& # 39; start slideshow & # 39 ;, & # 39; start slideshow - image & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39;. Nav-search & # 39;). click (function (s) {

/ * nav search * /

e.preventDefault ();

$ (& # 39;. Nav-hamburger> button & # 39;). removeClass (& # 39; is active & # 39;); $ (& Nb; nav-menu & # 39;). removeClass (& # 39; expand & # 39;); $ (# Nav-search-box, .nav-search #). toggleClass (& # 39; active & # 39;);

if ($ (# gsc-search-box #). css (# display #) == # none #) { $ (& Gt; gsc-search-box & # 39;). show (); }

$ (& # 39;. Nav-search-box .gsc-input & # 39;). focus ();

})

$ (& # 39; Write-a-Review a & # 39 ;.). Click (function (s) { e.preventDefault (); $ ("html, body"). animate ({scrollTop: $ (& # 39;. reviews-wrapper & # 39;). offset (). top}, 1000); sendGAEvent ("Affiliates", "Review Page - Write A Review Button", "Write A Review Button"); });

/ * Search Box Widget * /

$ (& # 39 ;. featured-search-input & # 39;). on (& # 39; input & # 39 ;, function (s) {

e.preventDefault (); $ (& # 39; search-category & # 39;). removeClass (& # 39; show & # 39;); var val = $ (& # 39 ;. featured-search-input & # 39;). val (). toLowerCase ();

if (val == & # 39;) {

$ (& # 39; search-category & # 39;). each (function (i) { var $ this = $ (this); if ($ this.hasClass (& # 39; featured & # 39;)) { $ (this) .addClass (& # 39; show & # 39;); } });

} otherwise {

var i = 1; $ (& # 39; search-category & # 39;). each (function () { var text = $ (this) .html (). toLowerCase (); if (text.indexOf (val)> -1) { if (i <10) { $ (this) .addClass (& # 39; show & # 39;); } i ++; } });

}

})

$ (& # 39;. Featured search input & # 39;). Keystroke (function (s) { if (e.which == 13) { var val = $ (& # 39 ;. featured-search-input & # 39;). val (); $ (& # 39;. Nav-search-box .gsc-input & # 39;). focus (); $ (& # 39;. Nav-search-box .gsc-input & # 39;). val (val); $ (& # 39;. Nav-search-box & # 39;). addClass (& ngr; overlay & # 39;); $ (& Gt; gsc-search-button & # 39;). click (); return it incorrectly; } });

$ (& # 39; rev-desc-read-more & # 39;). click (function (s) {

e.preventDefault ();

var $ reviews = $ (& # 39;. reviews-description & # 39;), $ readmore = $ (& # 39; rev-desc-read-more & # 39;);

$ reviews.toggleClass (& # 39; expand & # 39;);

if ($ readmore.html () == & # 39; continue reading & # 39;) { $ readmore.html (& # 39; read less & # 39;); } otherwise { $ readmore.html (& # 39; read more & # 39;); $ ("html, body"). animate ({scrollTop: 0}, 500); }

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic & # 39 ;, & # 39; Read More Button & # 39;);

});

$ (& # 39;. Reviews wrap. Product abstract p, .aff product summary p & # 39;). Filter (function () { return this.innerHTML == & # 39; & # 39 ;; }).Clear();

// Remove empty

tags $ (& # 39;. Entry-content p & # 39;). each (function () { var $ this = $ (this); if ($ this.html (). replace (/ s | / g, & # 39;) .length == 0) $ this.remove (); });

// Remove shortcodes on the next page that are in

tags $ (& # 39;. Entry-content h2 .content-next-page-link & # 39;). detach (). appendTo (& # 39;. entry-content & # 39;);

// try to remove old & # 39; Next Story & # 39; buttons var removeNextStory = function () { $ (& # 39;. Entry-content a & # 39;). each (function () { var $ this = $ (this); if ($ this.html (). indexOf (& # 39; nextstory & # 39;)> - 1) { $ this.remove (); } });

$ (& # 39;. Entry-content img & # 39 ;.). each (function () { var $ this = $ (this); if ($ this.attr (# src #). indexOf (# nextstory #)> - 1) { $ this.remove (); } });

}

$ (& Nbsp; nav-share-fb & # 39;). click (function (s) { e.preventDefault (); window.open ($ (this) .attr (? href?),? fbShareWindow?,? height = 450, width = 550, top = & # 39; + ( $ (window) .height () / 2 - 275) + & # 39 ;, left = & # 39; + ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, Position = 0, menu bar = 0, directories = 0, scroll bars = 0 & # 39;); return it incorrectly; });

if ($ (& # 39;. next-post-link & # 39;). length> 0 && window.dualsidebar! = true) { $ (& # 39; head & # 39;). append (& # 39;

& # 39; }

$ (window) .scroll (function () {

/ * START SCROLL * /

var st = $ (window) .scrollTop ();

if (window.slideshowview! = true && window.slideshowview2! = true && window.width> 767) {

if (st> 200 && window.navScrolled! = true) { $ (& # 39;. Navbar & # 39;). addClass (& # 39; fixed & # 39;); setTimeout (function () {$ (# navbar #) addClass (& # 39; visible & # 39;)}, 300); window.navScrolled = true; window.navScrolled2 = false; }

if (st < 80 && window.navScrolled2 != true) { $('.navbar').removeClass('visible') $('.navbar').removeClass('fixed'); window.navScrolled = false; window.navScrolled2 = true; } } if (window.home) { if (window.width > 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (& # 39; home-featured-articles & # 39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (& # 39; home-featured-right & # 39;). addClass (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

$ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css (#height # 39; 450px #);

}

}

/ * END SCROLL * /

})

$ (window) .resize (function () {

/ * START RESIZE * /

if (window.home) {

var st = $ (window) .scrollTop (); window.width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;

if (window.width> 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (& # 39; home-featured-articles & # 39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (& # 39; home-featured-right & # 39;). addClass (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

$ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css (#height # 39; 450px #);

}

}

/ * END RESIZE * /

});

if (window.home) {

var st = $ (window) .scrollTop (); window.width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;

if (window.width> 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (& # 39; home-featured-articles & # 39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (& # 39; home-featured-right & # 39;). addClass (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

$ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css (#height # 39; 450px #);

}

}

});
Source link