regex

Open Links to a Different Site in a New Window with Prototype

Using the JavaScript library Prototype I can easily make any external links open in a new window, as well as change the rel=”external” links to open in a target=”_blank” window!

Read the full article →

From Query String to Cookie with JavaScript

Take a query string and save the values to a cookie using JavaScript. A perfect solution for tracking query string’s values throughout a site that isn’t using any server side scripting.

Read the full article →