Whats the code to make a pop up...?

Need help with the site/forum/pets? Ask questions and get help from other members here.

Whats the code to make a pop up...?

Postby smallplant » Sun Jan 04, 2009 3:19 am

I've seen on some HTML sites there are pops ups...not like spam advertising but something that comes up and says: "sorry the site is closed" or "Welcome to (blah blah blah)" can anyone help me?
ImageImage
hello ! i'm not very active anymore, so please dont expect a speedy response to a msg or trade. i only log on every few months, for old times sake. 👍❤️
( this does not mean i will trade away all my pets. )
User avatar
smallplant
 
Posts: 540
Joined: Sun Jul 06, 2008 7:23 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Whats the code to make a pop up...?

Postby Rosalie123 » Sun Jan 04, 2009 7:38 am

Here you go:
<SCRIPT language="JavaScript">alert("Your text here") </SCRIPT>
<BODY onUnload="alert('Your text here');">
Hope this helped! :D

P.S. The last place where you put your text, appears when they are exiting the website.
Image
User avatar
Rosalie123
 
Posts: 349
Joined: Wed Oct 29, 2008 9:44 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Who is online

Users browsing this forum: No registered users and 6 guests