Simple, just 2 steps to make a pop-up window
Step 1:
U have a index file, copy this scrip into <head>...</head> section of yours
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
return false;
}
//-->
</SCRIPT>
width=400 : Width of pop-up page
height=200 : Height of pop-up page
scrollbars=yes/no : enable/disable scrollbars
Change them to what ever u want
Step 2:
The script above opens the pop-up, but something needs to run the script, so make a link for user click on it:
Example, u have votelink.html
<A HREF="votelink.html" onClick="return popup(this, 'pop-up')">Vote for us</A>
votelink.html : link to your correct file
pop-up : name of pop-up page
NOW WE DONE !