Hi!

        The following code won't work with the mozilla control, while it works
fine with mozilla:

In the html file:
<!-- Creates a link to a popup window -->
<script type="text/javascript" language="JavaScript">
        makeExampleLink( 'ProfileExample.html' );
</script>

The javascript sourcecode:

function makeExampleLink( theUrl ) {

        // Target
        theUrl = "'" + theUrl + "'";
        var buff = 'javascript:openPopupExample( ' +
                           theUrl + ' ) ';
        
        buff = '<a href = "' + buff + '" ' +    
                   'title = "Click here for an example" ' +
                   'class = "example">' +
                   ' Example </a>';
                                   
        document.write( buff );
}

What am I doing wrong? O:-) I absolutelly need this in order to ship...

TIA




--
Fernando Rodr�guez
frr at wanadoo dot es
--

Reply via email to