JavaScript Source Code 3000: Code Generators: Popup Window Maker
\n\n" + start + "BODY onLoad=\"javascript:popUp('" + page + "')\">";
}
if(howto == 'link') {
otherOutput = start + "!-- STEP TWO: Use the following link to open the new window -->\n\n" + start + "A HREF=\"javascript:popUp('" + page + "')\">Open the Popup Window" + start + "/A>";
}
if(howto == 'button') {
otherOutput = start + "!-- STEP TWO: Use the following button code for the new window -->\n\n" + start + "form>\n" + start + "input type=button value=\"Open the Popup Window\" onClick=\"javascript:popUp('" + page + "')\">\n" + start + "/form>";
}
scriptOutput = start + '!-- TWO STEPS TO INSTALL POPUP WINDOW:\r\n\r\n'
+ ' 1. Paste the first into the HEAD of your HTML document\r\n'
+ ' 2. Use the code to open the popup page on your site -->\r\n\r\n'
+ '\r\n\r\n'
+ '\r\n\r\n' + start + 'SCRIPT LANGUAGE="JavaScript">\r\n'
+ '\r\n'
+ '\r\n\r\n'
+ '\r\n'
+ '\r\n\r\n'
+ '\n" + start + "/sc" + "ript>\n";
output = scriptOutput + "\n\n" + otherOutput + '\n\n' + start +'!-- Script Size: 0.73 KB --'+'>';
document.mail.source.value = output;
document.mail.source2.value = output;
uncode();
}
// End -->
Popup Window Maker
Don't worry any more about editing the code by hand, use our code generator! Fill out the specifications of the popup window you would like to use, including the URL and the various options such as menubars, toolbars, scrollbars, etc, and click the generate button. Just add this generated code to your site, or even have us mail it to you! Neat!
This machine will make a script that will pop up and optionally center the popup window for you. Fill in the values below and click Make Code.
What filename should be opened?
(filename or http://....)
Would you like it to have toolbars?
Would you like the window to have scrollbars?
Would you like it to have the location bar?
Would you like it to have a status bar?
Would you like it to have a menu bar?
Would you like it to be resizeable?
How wide would you like it to be?
(in pixels)
How high would you like it to be?
(in pixels)
How should the window be opened?
by a button
by a link
automatically
Should we center the window on screen?
"Cut and Paste" the code above, or....
We'll send your generated code to you!
(just click "Send it!" once!)
Wyszukiwarka
Podobne podstrony:
2006 05 Password Tricks Customizing the Password Popup Windowpopup window 5popup window 001popup window 6popup window 002auto popup windowpopup window 3popup window 4popup window 7windowsInstalacja systemu Windows z pendrive aKlucze Rejestru WindowsWindows MessagesCwiczenie z Windows Server 2008 wysoka dostepnoscWindowsFormsApplication1 csproj FileListAbsolute (11)Windows 2 Laboratorium 4bKlastry pracy awaryjnej w srodowisku Windows Instalacja konfiguracja i zarzadzanie klastrwięcej podobnych podstron