dhtmlWindow modal little correction
1) Script Title:
dhtmlWindow modal
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem:
When the width of the content page (under the modal windows) is larger than the browser window, the mask (veil) under the dhtml window modal don't have then maximun width of the content page.
So if we use the bottom scrollbar , we can access to the content page.
I have mad a little modification to te script (modal.js) as (fisrt line 32):
this.docheightcomplete=(d.standardbody.offsetHeight>d.standardbody.scrollHeight)? d.standardbody.offsetHeight : d.standardbody.scrollHeight
this.docwidthcomplete=(d.standardbody.offsetWidth>d.standardbody.scrollWidth)? d.standardbody.offsetWidth : d.standardbody.scrollWidth
//this.interVeil.style.width=d.docwidth+"px" //set up veil over page
this.interVeil.style.width=this.docwidthcomplete+"px" //set up veil over page
this.interVeil.style.height=this.docheightcomplete+"px" //set up veil over page
thanks for your good script.
Gabriel