My first file header.lzx contains a link( basically a text label). My requirement is when the user clicks on the link, a window should pop up with the specified URL (url of .lzx file), height and width parameters. For this i am calling a _javascript_ function of index.html from header.lzx file.
My text label code in the header.lzx looks like this:
<text text="help">
<method event="onclick">
LzBrowser.loadJS('top.openInfoDialog("./help.html", 725, 420)');
</method>
</text>
I am able to see the expected results in Firefox, not so in Internet Explorer.
I am getting the The following error...in IE
Permission Denied error at Line 1 Char 1 of 'top.openInfoDialog("./help.html", 725, 420)');
and also tried to open window directly on onclick( ) event
<method event="onclick">
var str =
('window.open("./help.html","About","fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,width=350,height=250,left=100,top=50")');
LzBrowser.loadJS(str);
</method>
Correctly working in firefox, but not in IE.
Please Help me, I need it work both in IE and Firefox.
Thanks in Advance
Manik
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
