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() .

Member Avatar for GreenDay2001

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")

Member Avatar for GreenDay2001

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>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.