exit window open




JavaScript Source Code 3000: Navigation: Exit Window (Source)




























Exit Window (Source)








Here is the source code for the Exit Window JavaScript. You should have seen the JavaScript effect when you followed the link here - the new window.







JavaScript Source Code 3000: Navigation: Exit Window
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s). The script is yours!




    





<!-- TWO STEPS TO INSTALL EXIT WINDOW:

1. Paste the coding into the HEAD of your HTML document
2. Copy the onunLoad event handler into the BODY tag -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<! >
<! >

<!-- Begin
function leave() {
window.open('http://www.yourserver.com/page-to-open.html','','toolbar=no,menubar=no,location=no,height=500,width=500');
}
// End -->
</SCRIPT>

<BODY onUnload="leave()">



<!-- Script Size: 0.64 KB -->











Wyszukiwarka

Podobne podstrony:
exit window
open new window
open window
open c (3)
windows
Instalacja systemu Windows z pendrive a
Klucze Rejestru Windows
Windows Messages
open
Cwiczenie z Windows Server 2008 wysoka dostepnosc
WindowsFormsApplication1 csproj FileListAbsolute (11)
Nie wspierajcie ekumenicznej organizacji Open Doors!
Windows 2 Laboratorium 4b
Klastry pracy awaryjnej w srodowisku Windows Instalacja konfiguracja i zarzadzanie klastr
optymalizacja windowsa xp pod mach3

więcej podobnych podstron