PDA

View Full Version : Drop-in content box All



marietjen
11-05-2004, 05:07 PM
http://www.dynamicdrive.com/dynamicindex17/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

ddadmin
08-01-2011, 04:41 PM
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:


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:


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