PDA

View Full Version : Tutorial: Making PopUp -window.



BassBoost
03-02-2008, 09:12 AM
Do you want make popup window for your site? If yes, this tutorials is made for you!

First step: Open notepad. Write in it


<html>

<head>

<title>PopUp-Window</title>

<script type = "text/javascript">

// Määritellään funktio PopUp():
function PopUp()
{
window.open("inpopup.htm", "PopUp", config="height=300,width=350");
}

</script>

</head>


<body onload = "PopUp()">

</body>

</html>

Save save it as.. index.html/what you want.htm

Then open new notepad and write in it


Hello, this is my first PopUp -window!


And save it as.. "inpopup.htm"

Then open index.html/what you want.htm with firefox, etc.

Have funny..


fgt85

And btw: First tutorial, and 1st msg. :)

Firesnipe
03-02-2008, 09:59 AM
Ns tut

BassBoost
03-02-2008, 01:32 PM
Thank you. :skeetskeet