-
DHTML Modal window v1.1 - Reclicking/reopening windows
1) Script Title: DHTML Modal window 1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem: I am using this with iframes and have altered the background colors in dhtmlwindow.css to match my site. The modal window looks beautiful the first time, but if I click to open it again without refreshing the page, a white border reappears around the iframe.
I *think* I'm seeing .drag-contentarea with a white background, even though the CSS has it set to dark blue.
I also think this might have something to do with the uniqueID. I have multiple modal windows on the page and I initially had this problem if I clicked to open one window, then tried to open another. It was resolved by giving each link a uniqueID. But when I'm just clicking the same link for a second time, that won't really work...
link: http://upgradeyourlifestyle.org/home...ubcat&catID=25 (a work in progress, so sorry if other pieces look funny)
Any ideas?
EDIT: Aha, figured it out! There's a line in dhtmlwindow.js that says: t.contentarea.style.backgroundColor="white". I replaced "white" with my background color and now all is well.
You may ignore this post.
Last edited by megana; 01-15-2009 at 04:44 PM.
Reason: Issue resolved.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks