SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with DHTML Goodies modal message script

    Hi,

    I'm using the modal message script from DHTML Goodies.com and it works great, however, I have an embeded flash nav on the page, and the DIV it creates to cover the page, covers everything but the flash. The flash nav is pushed over the modal message...

    Link to script:
    http://www.dhtmlgoodies.com/index.ht...=modal-message

    Here is the code where it creates the transparent DIV that covers the page when you open up the modal message.. I assume this is where it needs to be altered to include flash?

    Code:
    	__createDivs : function()
    	{
    		// Creating transparent div
    		this.divs_transparentDiv = document.createElement('DIV');
    		this.divs_transparentDiv.className='modalDialog_transparentDivs';
    		this.divs_transparentDiv.style.left = '0px';
    		this.divs_transparentDiv.style.top = '0px';
    		document.body.appendChild(this.divs_transparentDiv);
    		// Creating content div
    		this.divs_content = document.createElement('DIV');
    		this.divs_content.className = 'modalDialog_contentDiv';
    		this.divs_content.id = 'DHTMLSuite_modalBox_contentDiv';
    		document.body.appendChild(this.divs_content);
    		// Creating shadow div
    		this.divs_shadow = document.createElement('DIV');
    		this.divs_shadow.className = 'modalDialog_contentDiv_shadow';
    		document.body.appendChild(this.divs_shadow);
    
    	}

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I guess a simpler question would be, how can you make DIV's overlap flash? I did some searching, said if you use <param name="wmode" value="transparent"> in the flash, it would do the trick, however that did nothing for me.

    Thanks


Bookmarks

Posting Permissions

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