Hi,
I need to call (open) a popup window from a .bat file. I.e. I have created a .URL file (with the [url]http://.[/url]… link) which is called from the .bat file.
I visited the javascript generator to have the code for a popup browser window but that was meant to be called from another html page.
Is it possible to define a popup window which is displayed on its own, not called from another html page. The javacode from the generator is pasted below.
Thanks for hints on how to create a menu- and buttonless browser window from a .bat file
regards
bushtor
<!– TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document2. Use the code to open the popup page on your site –>
<!– STEP ONE: Copy this code into the HEAD of your HTML document –>
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– Idea by: Nic Wolfe (
<!– Web URL: [url]http://fineline.xs.mw
<!– This script and many more are available free online at –>
<!– The JavaScript Source!! [url]http://javascript.internet.com
<!– Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(“page” + id + ” = window.open(URL, ‘” + id + “‘, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=300,left = 500,top = 375’);”);
}
// End –>
</script>
<!– STEP TWO: Paste this onLoad event handler into the BODY tag –>
<BODY onLoad=”javascript:popUp(‘test.html’)”>
<!– Script Size: 0.73 KB –>