Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7957071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:11:23+00:00 2026-06-04T04:11:23+00:00

How to produce frameless window in HTML5, JavaScript, please? I searched the web and

  • 0

How to produce frameless window in HTML5, JavaScript, please?

I searched the web and found mostly links to use libraries. I wish to develop my own frameless window from scratch, without using a third party library.

By frameless window I mean a window having no frames, no status bar, no default minimize button, no default close button, no roll bars… It looks like a standalone image with painted close button.

Would be anybody so kind and provide me with ideas or code that will be accepted by most of the browsers?

EXAMPLE:

As few of you asked, what exactly I mean, I found a very nice example at Rapidshare. There is a large blue/orange button in the middle of the screen saying Upload. Just press it, please, and a frameless window appears.

The window represents exactly what I am trying to achieve. I have seen it many times, when displaying enlarged images, or prompting for login information, etc.. I like the animation associated with displaying that window too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:11:24+00:00Added an answer on June 4, 2026 at 4:11 am

    just for quicks to show the concept ..

    create two divs directly under body

      <div id="backmask"></div>
      <div id="contentwindow"></div>
    
      <!-- somewhere else in your page -->
      <a href="somepage.html" class="showinwindow">click me</a>
    

    css for these ( roughly )

      <style type="text/css">
    
        #backmask { 
          display:block; 
          width:100%;
          height:100%;  
          background-color:black;
          position:absolute; top:0; left:0;
          z-index:1000;
          display:none;
    
          opacity:0.7;
          filter:alpha(opacity=70);
         }
    
        #contentwindow { 
          display:block; 
          width:800px;
          height:600px;  
          background-color:white;
          position:absolute; top:50px; left:50px;
          z-index:1001;
          display:none;
         }
    
        .bodywithwinOpenClass { overflow:hidden; width:100%; height:100%; }
      </style>
    

    and then ( im using jquery for quicks )

       <script type="text/javascript">
    
       $(".showinwindow").click( function(e) {
    
       /* we don't want the visitor to leave, stop the normal action */
       e.preventDefault();
    
       /* get what to show */
        var contenttoload = $(this).attr.("href");
    
      /* set the body up */
      $("body").addClass("bodywithwinOpenClass");
    
       /* show wins and masker */
       $("#backmask").css("display","block");
       $("#contentwindow").css("display","block");
    
      /* load the content  */
      $("#contentwindow").load(contenttoload);
    
       });
       </script>
    

    this was just typed in directly and not ran, contains no candy ( for positioning etc ) hope it explains the concept behind all the pluggins etc you will find

    • the reverse is needed to “close” it
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to produce random integers (uniformly distributed). I found this snippet on an
I need to produce a string for use in an query e.g. SELECT whatever
Is it possible to produce an alert similar to JavaScript's alert(message) in python, with
I produce a bunch of objects in Java. Each object has attribute area and
I'm trying to produce this XML statement (minus the formatting and specific values): <swatchcolor
I would like to produce a character list of all of the first letters
I want to produce a desktop application with a very simple GUI (a background
I would like to produce C# helper files from the KML2.2 xml schema using
I have need to produce LINE, BAR, and PIE charts in Rails. I have
Can a C++ compiler produce a not so good binary? You can think here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.