Results 1 to 5 of 5

Thread: Veil not disappearing

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Veil not disappearing

    1) Script Title: dhtml modal window

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

    3) Describe problem: New guy here. I'm trying to use the modal window on the top of a home page to show some legal info, implementing as a page load with a hidden div. So far, I'm pretty much using the code out of the box. The window appears, the veil appears.

    Problem: When I click the X at the top to close the window, the veil does not go away.

    What am I missing?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

  3. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    be warned, it's an adult oriented site.


    the open line is commented out, this is a production page.
    Last edited by dbellevue; 01-26-2009 at 09:24 PM.

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Sorry then, the rules forbid links to adult sites on these forums. What you could do is remove all the unnecessary, adult material and only leave the code you are having problems with and post that here. Also, remove your link.

  5. #5
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    From the top of the page as viewed in the browser:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>mysite.com</title>
    <base href="http://store.mysite.com/merchant2/">
    <link rel="stylesheet" href="windowfiles/dhtmlwindow.css" type="text/css" />
    <script type="text/javascript" src="windowfiles/dhtmlwindow.js">
    /***********************************************
    * DHTML Window Widget- © Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    </script>
    <link rel="stylesheet" href="modalfiles/modal.css" type="text/css" />
    <script type="text/javascript" src="modalfiles/modal.js"></script>
    </head>
    <body bgcolor="black" link="white" alink="tomato" vlink="white">
    <script type="text/javascript">
    //var warningwin=dhtmlmodal.open("warningwin", "div", "warningdiv", "Legal", "width=350px,height=150px,left=150px,top=100px,resize=0,scrolling=0", "recal", "sessiononly") </script>

    <div id="warningdiv" style="display:none">
    <h4>Legal Notice</h4>
    </div>

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
  •