1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Styling and Customization Questions' started by DRE, Nov 22, 2012.

  1. DRE

    DRE Well-Known Member

  2. DRE

    DRE Well-Known Member

    CORRECTION: I MEANT POP-UP BOX, SEPARATE WINDOW, NOT OVERLAY
     
  3. Jake Bunce

    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.
     
    aiman.h.kallaf, luutruong and DRE like this.
  4. DRE

    DRE Well-Known Member

    Thank you!! Will try it out tonight.
     
  5. DRE

    DRE Well-Known Member

    How can this be done without the addressbar up top?
     
  6. EQnoble

    EQnoble Well-Known Member

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

    URL = about:config
    disable.png
     

Share This Page