ok here is how I got it without errors if anyone has similar woes.
function.
{literal}
}
function popUp()
{popUp=window.open('{$ImagesDir}/color chart.jpg, width=350, height=450')}
{
{/literal}
Call.
<form>
<input type=button value="Pop-up Window" onClick="javascript:popUp()">
</form>
More work to do, it can't find the image but at least no errors. I'm learning as I go so was happy with that for now.
|