Custom excerpts are better for UI/UX because in their absence, most WordPress themes will just grab text from your content. But writing custom excerpts of proper length can be tricky. What you need is a character counter on your WordPress excerpt box!
JavaScript
Google Analytics, Ghostery, Ad Blockers, And Event Tracking
Blocking of third-party tracking scripts like Google Analytics using ad blockers and tools like Ghostery is one way people attempt to protect their privacy on the Internet. This is great. However, when Google Analytics is missing, some critical piece of website functionality may break. This article explains a common scenario where this may happen and demonstrates a workaround that webmasters can implement to prevent the problem.
Ensure Execution Order Of Multiple SetTimeout() Functions In JavaScript
Depending on how they are coded, the behavior of multiple setTimeout() JavaScript functions may be erratic. This article discusses the problem and describes how to guarantee their proper execution order.
Working With JavaScript OnLoad Functions
A typical web page that uses JavaScript will usually have one independent script per task. For example, there might be one script to validate a form, another script for Google analytics, etc. This means that for each type feature or web page plugin, a separate script is necessary. This could become a problem when multiple scripts attempt to call a global function like the JavaScript onload function. This article discusses the problem, and a neat best practice method to fix it.
Learn JavaScript At Udemy With This 80% Discount Coupon
The awesome guys at Udemy recently contacted me to help promote their JavaScript Beginner’s Course across the web. I have written a few articles on JavaScript tips before and have also written articles on Online Education and Massive Open Online Courses (MOOCS). So I wasn’t surprised. You can take the course with an 80 percent discount using the coupon TechnicalNotesofEhiKioya
Maintain Scroll Position On PostBack Using JavaScript
Say you have a web form containing a div that contains a datalist. The rows of your datalist, (along with other controls) contain checkboxes. Now every time a checkbox is checked and unchecked, you need to do some server side validation in code before letting the user proceed. Your datalist contains tons of rows and by default, each time a validation occurs, the datalist “refreshes” and scrolls back to the top. This can easily get annoying for users and can ruin the general user experience. But we can fix it with a bit of JavaScript 🙂