Hi everyone,

Am hoping that someone can please help me with this problem. Its a little indepth for me but i have been unable to find out any information concerning it.

On this page http://www.region3.com/stafflist.htm the Email link opens up a popup box that allows you to send an email to that particular address.

I have no idea how to even start making something like that as i'm very new to web design etc.

What i'm trying to do is when someone clicks on a link like a name on my webpage, it opens up a popup window like on that site that allows an email to be sent to that particular person. Obviously, i'd like to find out how to make the popup window have a background/design imbedded also.

Any help would be very much appreciated. I'm at my wits end.

Thank-you

The JavaScript command to open a new window is the "open" method of the "window" object: window.open() .

To do that first insert just use window.open() function in onClick, onDoubleClick etc etc in your link or whatever it is. So remember. I am giving you an example for that window.open("[URL]http://www.google.com[/URL]","flyout","resizable=no,scrollbars=yes,width=300,height=300,top=300,left=300")

here's the full working example

<head>
</head>
<body>
<a href"#" onClick="window.open('http://www.google.com','flyout','resizable=no,scrollbars=yes,width=300,height=300,top=300,left=300')">Vishesh</a>
</body>
</html>
This article has been dead for over six months. Start a new discussion instead.