
jQuery – Add a _blank Target Attribute to PDF Links
Depending on the browser being used and its settings, a PDF link may open by default in the same tab/window. But jQuery can change that behavior.
Depending on the browser being used and its settings, a PDF link may open by default in the same tab/window. But jQuery can change that behavior.
You may have a set of links setup to outside sources or even as affiliate links. jQuery can be used to automatically set those links to nofollow for SEO.
Using jQuery, a “print page” link can be created on the page which will open the browser’s print dialog box when clicked.
Using jQuery, a “reload page” link can be created on the page which will allow the user to reload the page when clicked.
There are times where you may want/need to disable a text link or set of links on your sites temporarily using jQuery.
There are times when you only want specific elements of your site to show AFTER the page has finished loading. For instance, a heavy hero-image section.
Some sites place a smooth-scrolling, back-to-top button in the lower, right-hand corner of the site so the user can get back to the page top easily.
Using the jQuery animate() method, a link clicked can smoothly scroll down (or up) the page to a page anchor.
Thanks for your support!
All are affiliate links. Thank you for your support!