How Do You Create A HTML Pop Up Box, Popup Overlay

Jake Bunce

XenForo moderator
Staff member
Code:
<a href="page.html" onClick="window.open('page.html','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=50,top=50,screenX=50,screenY=50');return false">text</a>
This makes a nice little popup window when you click the link. You can define the size.
 

DRE

Well-known member
Code:
<a href="page.html" onClick="window.open('page.html','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=50,top=50,screenX=50,screenY=50');return false">text</a>
This makes a nice little popup window when you click the link. You can define the size.
How can this be done without the addressbar up top?
 

EQnoble

Well-known member
I don't know about other browsers but in firefox this is disabled by default:

URL = about:config
disable.png
 
Top