قالب وردپرس درنا توس
Home / Best Lists / Parks in NYC: The Top 5 Parks for Visitors

Parks in NYC: The Top 5 Parks for Visitors



NYC is not just a concrete jungle and a taxi. In fact, there are some green areas in the five districts. So, if you're on your way to the Big Apple and have already seen some of the attractions that you must have seen (as well as some of NYC's fancy attractions), why not go to the parks?

Have you ever heard of Central Park (our favorite green spot in town and a must), but have you heard of Flushing Meadows Corona Park, Prospect Park, Hudson River Park and Riverside Park? Favorite places in the city.

5.) Flushing Meadows Corona Park

  Flushing Meadows Corona Park "width =" 1000 "height =" 669

Leonard Zhukovsky / Shutterstock

If you have ever read F Scott Fitzgeralds The Great Gatsby may recall that commuters passed the Valley of the Ash on their way from the city to Long Island. In this "valley of ashes," the waste and waste incinerated in NYC were collected almost 100 years before they became a park.

Located in Queens, Flushing Meadows Corona Park is what became of the "Valley of the Ashes" was the home of the World's Fair in 1939 and 1964. If there was competition for the quirkiest large park in New York Flushing Meadows will undoubtedly win. Why? All the surviving buildings, sculptures, and other artifacts from the World's Fair make this part an open-air museum and part of The Park Time Forgot in a positive, charming way.

If you're a tennis or baseball fan, you could do it Flushing Meadows on the way to the US Open or a Mets game. Both Citi Field and the Arthur Ashe Tennis Stadium are on the edge of the park.

4.) Prospect Park

  Prospect Park "width =" 1000 "height =" 665

T Photograph / Prospect Park [19659003] Traveling to Brooklyn? Park Slope is one of our favorite neighborhoods in Brooklyn. There are great restaurants, wide sidewalks and some pretty cool bars. There is also the Prospect Park!

Prospect Park was designed by the same architects who brought us Central Park. At first glance, you may find some similarities. Both parks have winding paths, art spread throughout the site, and at least one adjacent art museum (the Brooklyn Museum is at Prospect Park and the Met at Central Park).

However, Prospect Park is a unique entity. Every day you will see Brooklynites and their children running through the grass and enjoying the fresh air. On-site treasures include the historic Lefferts House, a century-old carousel and a stately Audubon Center. Prospect Park also has a great summer concert series.

And if you want to experience more nature, the Brooklyn Botanic Garden is just the ticket!

3.) Riverside Park

  Riverside Park "width =" 1000 "height =" 631

Richard Cavalleri / Shutterstock

On the way to the Upper West Side? Rent a bike and visit Riverside Park.

This park is, as the name implies, on the Hudson River. It runs from W. 59th Street to W. 158th. On the way, you'll find winding paths that are perfect for running or walking, breathtaking views of the river, Grant's Tomb, the only flying rings in New York, and completely random things like old locomotives.

Own a dog? There are also some great dog parks.

Thirsty? Stop at the Boat Basin for a beer or a bite. This bar and riverside café are rarely crowded, offering affordable snacks and drinks in a comfortable outdoor setting.

Riverside Park has also played a prominent role in many films. The Battle of the Baseball Furies, Ajax's Arrest and Cyrus & # 39; s; Speech "Can you dig it out?" Were all turned on the riverbank.

2.) Hudson River Park

<img aria-describedby = "caption-attachment-53302" class = "size-full wp-image-53302" title = "Hudson River Park" src = "https: / /www.top5.com/wp-content/uploads/2013/01/hudson-park-e1562686858887.jpg "alt =" Hudson River Park "width =" 1000 "height =" 591 [19659028] Boris B. / Shutterstock [19659003] As you leave the Upper West Side and head south toward the Financial District, the Hudson River Park almost picks up where Riverside leaves off.The Hudson River Park starts at W. 59th Street and extends to the end of Manhattan in the Battery Park.

What's different For a start, it's more commercial and less natural Most of the areas of this park are brand new – they've only risen in the last decade – and there's also a big focus on art and aesthetics, and you'll probably find that this park is visually stunning.

The Hudson River Park has a lot of them Summer months a lot to do. Various piers offer free movies and activities. The Downtown Boathouse offers free kayaking and there are even free tennis courts. There is also a new carousel with carved animals. At Pier 40, you can learn the flying harness at the New York Trapeze School's outdoor area. Some bridges lead you across the water and in enclaves, where you can sit and read a book.

1.) Central Park

  Central Park "width =" 1000 "height =" 665

T Photography [19659003] With the southern end of the park, which begins at 59th Street, extends the Central Park to 110th Street and separates the Upper East Side from the Upper West Side. It is an urban oasis like no other.

Whether you feel like skating, hiking the rest of an English garden, riding a pond on a remote-controlled boat, visiting an amusement park or seeing an ancient Egyptian obelisk, Central Park has covered you.

It would not be hard to spend your entire vacation wandering the park and enjoying the beautiful natural and man-made landscape if you so desire.

There are numerous high-altitude entertainment options in the summer. Summerstage hosts (mostly free) concerts, and Shakespeare in the Park offers two productions – not always Shakespeare – to perform Lennon's music every season. If you can not find anything in Central Park that interests you, you may not be looking hard enough.

In addition, there are many parks in NYC. If you need a break from the concrete jungle, look around the corner. Your green respite from the city could be there. Get out in the fresh air!

Next>

5 Most Beautiful Rides in the US   5 Most Beautiful Rides in the US

}

$ (# 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