Currently in Sandvox 1.5.2, Amazon List links only open within the current window of a browser. A question was asked on the Sandvox Yahoo! group, ["Without tinkering with the html on every page is there a way that I can get a new page to open with the Amazon links..."].
A [part solution that works] with Sandvox Pro, involves using a JavaScript from [http://javascript.about.com/library/bltarg.htm] that is 'injected' into the Head area of a pages code Sandvox: Site > Page Code Injection... : Head area : Sandvox will insert its content between these fields
I say 'part solution' because the script in its current form works too well. It opens *every* link on the 'injected' page created by Sandvox in a new window. That includes the internal site links on the menu bar as well as the Amazon external links. I'm sure there is a way to limits its effect with some fiddling to the code.
To make the code work from the javascript site linked to above, enclose the text in a <script... tag, like this:
<script type="text/javascript">
<!--
function externalLinks() {
if (!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName("a");
for (var i=anchors.length-1; i>=0; i--) {
var anchor = anchors[i];
if (anchor.href && anchor.href.substr(0,7) == "http://")
anchor.target = "_blank";
}
}
window.onload = externalLinks;
// -->
</script>
Interestingly, the script doesn't work on a page that includes the FancyZoom script mentioned in the [HowTo about FancyZoom]
