I have a hyperlink that would normally open a photo album script using the onclick, but if JS is turned off I would like the link to open the image in a blank page and not in the same window, for the visitor to close it not knowing that it was in the same window, therefore losing the visitor.
What method could I do this in?
I tried to add it in like so, but it did not work, and only shows all the hyperlink code in the page instead.
Code:
<a <noscript>target="_blank" </noscript>href="images/<? echo($imageFile); ?>" class="highslide" onclick="return hs.expand(this)">