0

I have a java script popup window, using the code below:

<html>
<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by:  Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=0,width=70,height=70,left = 477,top = 349');");
}
// End -->
</script>
<title>
HTML code.
</title>
</head>
<BODY onLoad="javascript:popUp('Print.html')">
Print the page
</body>
</html>

But I want to change it to a transperent window that covers the text, like those adverts that popup on your screen.
Also, I dont want it to open in a new window, would this be possible, or would I have to use

<meta http="content="5" URL="popup2.html">

to make it do that in the same window.
(If you dont know what the code does, it makes the page refresh in 5 seconds)

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by fobos
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.