ManyCodes.com codes & scripts Get free programming codes and tutorials!

28Jul/090

How to have a opening popup with your website

Here is how to have a opening popup with your website.

Put the code below within your site's <head> </head> tags. If you dont know how to implement this code into your site, please goto how to implement the code to your website

Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!-- this script is from www.manycodes.com -->
 
<!--   DESCRIPTION:  This will make a small Navigation Window in which you can place links to different pages.
 
 INSTRUCTIONS:  Place this script in the HEAD tags of
your webpage.
 
 FUNCTIONALITY:  Works in both Netscape & IE.
-->
 
<SCRIPT LANGUAGE="JavaScript">
 
//Modified by CoffeeCup Software
//This code is Copyright (c) 1997 CoffeeCup Software
//all rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.
 
<!--
 
coffeeWin=window.open("","coffeeWin","toolbar=no,width=200,height=250,directories=no,menubar=no,SCROLLBARS=no");
 
coffeeWin.document.write("<HTML>");
coffeeWin.document.write("<HEAD>");
 
coffeeWin.document.write("</HEAD>");
 
coffeeWin.document.write("<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#0000FF VLINK=#0000FF>")
 
coffeeWin.document.write("<CENTER>")
 
coffeeWin.document.write("<FONT FACE=VERDANA,ARIAL SIZE=2>");
 
coffeeWin.document.write("<B>");
 
coffeeWin.document.write("<FONT SIZE=3>Navigation Window</FONT>");
 
coffeeWin.document.write("<BR><HR WIDTH=180><BR><P>");
 
coffeeWin.document.write("<A HREF=http://www.webloger.5u.com TARGET=MAIN>Webloger Website</A>");
 
coffeeWin.document.write("<P>");
 
coffeeWin.document.write("<A HREF=http://www.microsoft.com TARGET=MAIN>Microsoft</A>");
 
coffeeWin.document.write("<P>");
 
coffeeWin.document.write("<A HREF=http://www.netscape.com TARGET=MAIN>Netscape</A>");
 
coffeeWin.document.write("<P>");
 
coffeeWin.document.write("<A HREF=http://www.infoseek.com TARGET=MAIN>InfoSeek</A>");
 
coffeeWin.document.write("<P>");
 
coffeeWin.document.write("</B>");
 
coffeeWin.document.write("</FONT>");
 
coffeeWin.document.write("</BODY>");
 
coffeeWin.document.write("</HTML>");
 
//-->
</SCRIPT>
<font face="Tahoma"><a target="_blank" href="http://www.manycodes.com/category/java/javascript-codes/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>