Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Cross-browser JavaScript modal windows

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/28/2007 at 10:10 PM Reply With Quote
Cross-browser JavaScript modal windows

Here's our approach to implementing cross-browser modal mode windows.
- when window is opened all other elements of the page become inaccessible
- unlimited nesting of the modal windows not limited to boundaries of opening dialog
- configurable size and position of the window
- move window by drag-n-drop of the header
- iframes based (doesn't suffer from IE problem with windowed controls displayed through all elements)
- appearance of each dialog is configurable via CSS independently
- ajax friendly implementation

License: free for any kind of applications. Modifications allowed. Keep the credits inside the script file intact.

Attachment: (3.59kb)
This file has been downloaded 4035 times
View User's Profile View All Posts By User U2U Member

Posts: 1
Registered: 1/7/2009
Location: Sydney Australia
Member Is Offline
posted on 1/7/2009 at 03:12 AM Reply With Quote

Hi thanks for this modal pop-in code... I found it quite useful.

One thing... There seems to be a couple of odd effects after you close the modal pop-in window until you refresh the original window.
A quick and dirty hack I implemented was to add the following line to the end of the function f_dialogClose:
This forces the window to refresh from cache when you close the pop-in. Seems to work for me.

cheers! :)
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004