relWindow - New window based on 'rel' attr


/ Published in: JavaScript
Save to your folder(s)

Based on the linked SitePoint article but with options to limit the container (eg body copy) and set the target. Use '_blank' for a new window for each link. Also adds a class (based on the rel value) for styling. Call the 'relWindow' on window load.

URL: http://www.sitepoint.com/article/standards-compliant-world/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.