Jump to content
gongpex

How to make display form

Recommended Posts

Hello everyone,I think I difficult to say it because I don't know how to call it:but please see this image : sign-in.jpgwhen I click "sign in" it appears like this image.Can someone give me the javascript code?and please and tell me what called of this javascriptThank you very much

Share this post


Link to post
Share on other sites

Its a div container that contains a form, which is hidden from view within the page, until the user click a button/link which use js to show the container, and position itself and and transparent background over the page content, filling the whole browser screen window.a css code to position a container in middle/centre of page is found at http://simon.html5.org/sandbox/css/center-fixed

Share this post


Link to post
Share on other sites

Relatively easy to make. Don't forget you have position:absolute and z-index:++ to allow you to basically splatter any element over existing content.

Share this post


Link to post
Share on other sites
Its a div container that contains a form, which is hidden from view within the page, until the user click a button/link which use js to show the container, and position itself and and transparent background over the page content, filling the whole browser screen window.a css code to position a container in middle/centre of page is found at http://simon.html5.org/sandbox/css/center-fixed
so this only using CSS?not javascript?please give me the code or script if not objectionThank you very much Edited by gong

Share this post


Link to post
Share on other sites

well, like he said, it uses both. Javascript shows an element that has been set to hidden, and CSS positions it so it will appear in the center of the screen when shown.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...