Kryptronic Software Wiki : ExternalLinks

Kryptronic Kryptronic Software Wiki

Opening Links In New Windows


The XHTML specification does not support the use of the target attribute on link tags (<a href=). ClickCartPro provides a JavaScript function that allows you to use links that will open in a new browser window if a user has JavaScript enabled. The necessary JavaScript function is loaded by default.

To create a link that will open in a new window add rel="external" tag to your link tag. A complete link tag that would open in a new window would look like this:

<a href="http://www.google.com" title="Search Using Google" rel="external">Google</a>


This allows you to keep your pages XHTML compliant and they will pass validation using this format.


ClickCartPro - Administration
ClickCartPro - Skinning (Changing The Look Of Your Site)
Wiki: Getting Started