...

View Full Version : Form pop-up



thickandthin
11-22-2002, 01:47 AM
I have a poll on my site, and I want the results when voting to open in a pop-up instead of a window, how can I do that please?

x_goose_x
11-22-2002, 01:50 AM
I'm guessing this is what you want:

<form action="whatever" target="_blank">

thickandthin
11-22-2002, 01:51 AM
I know that but I want the window to have no scollbar, statusbar, or toolbar.

thickandthin
11-22-2002, 02:28 AM
hello?

glenngv
11-22-2002, 07:06 AM
this is really a javascript question

<html>
<head>
<script language="javascript">
function openPopUp(){
window.open("","_popup","toolbars=0,scrollbars=1,location=0,resizable=0,status=0,width=800,height=600");
}
</script>
</head>
<body>
<form action="whatever" target="_popup">
...
<input type="submit" name="btnSubmit" value="Vote" onclick="openPopUp()">
</form>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum