Results 1 to 2 of 2

Thread: Drop-in content box All

  1. #1
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Drop-in content box All

    http://www.dynamicdrive.com/dynamici.../dropinbox.htm

    Hi there,

    I started making my website with Dreamweaver 2004, using some of these great scripts from your site.
    But I have a problem with the drop-in content box, and some oher scripts. I copy and paste them in the exact correct way, but they don't appear. Well, actually, they DO appear, but they are hidden behind a great picture I use as my background in a layer. How do I solve this problem? Has it something to do with my picture-properties? (tried to change some things but it didn't work). Or do I have to change something in the script?
    Thanks in advance
    marietjen
    Belgium

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sounds like a CSS z-index issue. Try giving the drop in box(es) a very high z-index value, by applying it based on the CSS class of the box. Lets say your initialization code for the box is as follows:

    Code:
    var dropinbox1=new dropincontentbox({
    	source:['#dropbox', 'dropincontent.htm'], //#id of DIV to show if defined inline, or [#id, path_to_box_content_file] if defined in external file
    	cssclass:'dropinbox standardshadow', //arbitrary class(es) to add to the drop in box to style it
    	showduration:10 //disappear after x seconds?
    })
    You can target the dropinbox class in your CSS:

    Code:
    <style>
    .dropinbox{
    z-index:10000;
    }
    </style>
    DD Admin

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
  •