Hello All,

I hope that you can give me hand with this annoying little problem that I am
having, I need to open up a new window containing some HTML forms using
JavaScript.  I can get the script to work on a HTML page standalone, but
when I embed the script in a table on my cfm template the link opens up a
window with no data and the URL contains the script!

My function is as follows:

<SCRIPT type="text/javascript">
<!--

        function newwindow()    {

        
window.open(url,'CC','toolbar=no,location=no,scrollbars=no,directories=no,me
nubar=no,resizable=yes,width=550,height=450');

        }
// -->
</script>


My JavaScript link is as follows:

<a href="javascript:newwindow(url='newwindow.htm')">

On looking at the debug information after the blank page is opened the
JavaScript link is followed by a ColdFusion link, which is the same link as
the preceding page.  My question is what am I doing wrong and why does the
ColdFusion link appear after the JavaScript link?

Any help on this would be greatly appreciated.

Many Thanks in advance

Anthony Caroleo
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to