News & Blog
Using window.open Within a Link’s href Attribute
The Javascript window.open() function will open a popup window with a specified URL and is normally placed as a link’s ‘onclick’ action: Open Popup Sometimes however, if using a CMS for example, the onclick option of a link is not accessible and all you have access to is ...
Detect Leaving Visitors with jQuery
Users leaving your website is never a good thing, but there are some scenarios where you may need to catch them before they head elsewhere on the web as a result of them clicking a link on your site. Let’s imagine that you want to bring to the users attention the fact they are leavin...
Open jQuery Colorbox onLoad
Update – 26th December 2010 (Credit to azrad) Since writing this post it seems that ColorBox has been updated meaning the solution below is now longer needed. Simply using the latest version of colorbox will allow you to open the ColorBox onLoad. I came across a scenario today where ...