popup window 003






Pop-Up Window 003






newWindow = null
function openWindow() {
newWindow = window.open("images/bh4.jpg","newWin","width=400,height=600")
}
function closeWindow() {
if(newWindow && !newWindow.closed) {
newWindow.close()
}
}


















A:hover {color: #FF0000; font-family: Arial}











Back

Pop-Up Window 003

 





Open Birdhouse  Close Birdhouse

 





This script offers an open and close link
on the pop-Up Window.




Script instructions for <HEAD></HEAD> tags




<SCRIPT LANGUAGE="JAVASCRIPT"
TYPE="TEXT/JAVASCRIPT">
<!-- Paste between the <HEAD></HEAD> tags. -->

newWindow = null
function openWindow() {
newWindow = window.open("images/bh4.jpg","newWin","width=200,height=200")
}
function closeWindow() {
if(newWindow && !newWindow.closed) {
newWindow.close()
}
}

</SCRIPT>
 




Script instructions for <BODY> of the HTML
Document




<A HREF="javascript:openWindow()">Open Birdhouse</A>&nbsp;&nbsp;<A
HREF="javascript:closeWindow()">Close Birdhouse</A></p>
 




Paste script between the <HEAD></HEAD> tags.















newWindow = null
function openWindow() {
newWindow = window.open("images/bh4.jpg","newWin","width=200,height=200")
}
function closeWindow() {
if(newWindow && !newWindow.closed) {
newWindow.close()
}
}













Paste script where needed in the body of the HTML Document.


















Open Birdhouse  Close Birdhouse














© Copyright 2003
Ultimatephp.com





Wyszukiwarka

Podobne podstrony:
2006 05 Password Tricks Customizing the Password Popup Window
popup window5
popup window 001
popup window6
popup window 002
auto popup window
popup window
popup window4
popup window7
windows
Instalacja systemu Windows z pendrive a
Klucze Rejestru Windows
Windows Messages
Cwiczenie z Windows Server 2008 wysoka dostepnosc
WindowsFormsApplication1 csproj FileListAbsolute (11)
Windows 2 Laboratorium 4b
Klastry pracy awaryjnej w srodowisku Windows Instalacja konfiguracja i zarzadzanie klastr

więcej podobnych podstron