www.webdeveloper.com
Results 1 to 5 of 5

Thread: login window

  1. #1
    Join Date
    Apr 2012
    Posts
    111

    login window

    is there a good tutorial online that shows how to create a simple popup window that is a login screen? also, the background then gets faded?

  2. #2
    Join Date
    Feb 2011
    Posts
    231
    Hi,
    You can create the login form into a .html file, than use the following code in javascript to open a popup with that file:
    Code:
    window.open('file.html', 'name', 'height=200, width=150, top=100, left=100');

  3. #3
    Join Date
    Apr 2012
    Posts
    111
    it should actually open in the same window.

  4. #4
    Join Date
    Feb 2011
    Posts
    231
    Try use greybox. its open source

    http://orangoo.com/labs/GreyBox/

    GreyBox can be used to display websites, images and other content in the same window.
    Or Highslide JS: http://highslide.com/

  5. #5
    Join Date
    Apr 2012
    Posts
    111
    For some reason, the page is not showing up. here is my code:

    Code:
          <a href="http://www.google.com/" title="Google" rel="gb_page_center[640, 480]">Launch google.com in a 640x480 window</a>
    It just goes to the page saying "this page cannot be found" on my server. am i missing something?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles