Hi Brad:

>umm... actually you will need to use single quotes inside the openWindow
>  call.
>
> so
>  'key_data' => ["<a href=\"javascript:
> openWindow('http://www.domain.com/file.html','win', 400,
> 400);\">?<\/a>"]
>
> should do the trick.

[Louis] Well it finally worked but now the problem is the scrollbars won't
show. Snip of the JS code is pasted below from previous post.

<script language="JavaScript">
function openWindow(u, n, w, h)
{
  var win = window.open(u, n, "toolbar=no,location=no,"+
              "status=no,menubar=no,scrollbars=yes"+
            "width="+w+",height="+h);
}
</script>

Cheers.

-- 
I'm always learning something new everyday. Thanks Sluggers.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to