Results 1 to 2 of 2

Thread: Modal Window not Disabling Parent Elements

  1. #1
    Join Date
    Sep 2011
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    1) Script Title: DHTML Modal Window v1.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm

    3) Describe problem:

    I have a page that includes a right sidebar, with a section for someone to initiate the process to join an e-mail list. When the "SIGN UP HERE" button is clicked in the right sidebar, a modal window appears, however, the navigation elements on the initial page are still active / enabled. How do I disable all of the elements on the initial page?

    my page:

    http://mrfuzzyandthebarbarian.com/home-nuts.php
    Last edited by jscheuer1; 01-20-2014 at 04:55 AM. Reason: merge

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In the mrfuzzyandthebarbarian.com/dhtmlmodal/modalfiles/modal.css file, make the highlighted change:

    Code:
    .drag-handle{ /*Overwrite default drag handle bar background color with below*/
    background-color: #03277C;
    }
    
    #interVeil{ /*CSS for veil that covers entire page while modal window is visible*/
    position: absolute;
    background: black url(blackdot.gif);
    width: 10px;
    left: 0;
    top: 0;
    z-index: 50;
    visibility: hidden;
    filter:progid:DXImageTransform.Microsoft.alpha(opacity=80);
    opacity: 0.8;
    }
    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Resolved Parent form submit from modal window
    By perl_geek in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-18-2011, 12:22 PM
  2. DHTML Modal Window parent refresh
    By D3rG4mml3r in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-29-2009, 07:35 AM
  3. modal window while processing parent website script
    By ricmetal in forum Looking for such a script or service
    Replies: 3
    Last Post: 12-13-2008, 05:13 PM
  4. DD Modal window v1.1 - close and reload parent
    By kraftworkz in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-30-2008, 08:40 PM
  5. Need help accessing parent window form elements form child modal window.
    By cnek03 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-30-2007, 07:18 PM

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
  •