General
This script opens a floating layer popup. This technique allows the user to work in the main window while still being able to view the popup. The popup window will hover at the same spot where it opens, even if the user scrolls down the page.
| X |
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt
ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci.
[You can close the layer by clicking the X at the top right of this layer.] |
Notes
- Created by: Sandeep Gangadharan
- Web Site: http://www.sivamdesign.com/home/
- Posted: November 20, 2006
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: floatingLayer.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.

