creating pop up

R

rene

please help me.
I'm a fool in webdesign.
how can I create a pop up window?
Kind regards
Rene
 
D

DI

You can get " Spawn " from Jimco Add-ins it is Free
http://www.jimcoaddins.com/addins.aspx
Now you can quickly and easily create hyperlinks that open in a new window configured exactly
the way you want! Spawn makes it a breeze to create popup windows right within FrontPage in a
flash!
 
E

etchy

-----Original Message-----
please help me.
I'm a fool in webdesign.
how can I create a pop up window?
Kind regards
Rene
.
the following java will creat a new window
that contains a htm that hyperlinks pages back to the
parent window. after this parent page. I have included
the child page (cpanel.htm). hope this helps.
<head>
<title>Parent Window</title>
<script language="Javascript"
type="text/javascript">
<!--Hide
function newwindow()
{
window.open
('cpanel.htm','newWin','width=300,height=200,left=0,top=100
,screenX=0,screenY=100,resizable=yes');
}

//end -->
</script>
</head>
<body bgcolor="#FF0000">
<div align="center">
<h1> Javascript</h1>
</div>
<a href="javascript:newwindow()">go to control
panel</a>
</body>

</html>

cpanel.htm follows

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Child Window</title>
<script language="Javascript"
type="text/javascript">
<!--Hide
function updateParent(newURL) {
opener.document.location = newURL
}
// end -->
</script>

</head>

<body bgcolor="#FFFFFF">
<div align="center">
<h1>Control Panel</h1>
<h3>
<a href="javascript:updateParent('index.htm')">YMCA Index
file</a><br />
<a href="javascript:updateParent('index.htm')">YMCA
file</a><br />
</h3>
</div>

</body>

</html>
 
M

Mirza Sivcevic

: please help me.
: I'm a fool in webdesign.
: how can I create a pop up window?
: Kind regards
: Rene

Set the hyperlink properties to open in new window

No no, you have to use java script.

I assume you want to create pop-up window when someone opens the page. Go
to google and search on " +java +pop-up "

Mike
 
M

Mike Sivac

Here:

<html>
<head><title></title>
<script type="text/javascript">
<!--
closetime=0;

function Start(URL){
windowprops="directories=no,location=no,menubar=no,resizable=no,scrollbars=n
o,status=no,toolbar=yes,width=750,height=500,left=25,screenX=25,top=25,scree
nY=25";
preview=window.open(URL,"popWin",windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function popupWin(){
url="XXXXXXXX"
delay=0;
timer = setTimeout("Start(url)", delay*1000);
window.status="";
}
//-->
</script>
</head>

<body>
<a href="javascript:popupWin();">
Click Here
</a>
</body>
</html>
 
D

DI

You can use " Spawn " it is Free from Jimco Add-ins
http://www.jimcoaddins.com/addins.aspx
Now you can quickly and easily create hyperlinks that open in a new window configured exactly
the way you want! Spawn makes it a breeze to create popup windows right within FrontPage in a
flash!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top