Solved

need to bring a div content to foreground

Posted on 2008-10-23
7
1,809 Views
Last Modified: 2011-05-15
I have 9 <div>s in my page i also have an image uploader tool . i want to show the contents of the 3rd <div> on top of the other. I have set z-index value and am able to show its contents on top of other divs but the div having the image uploader script do not move to the background. how will i place  the contents of the 3rd div on top of the image uploader.
the image uploader is a javascript inside a div
<div id="three"  style="position:absolute;z-index:1;">
.
.
.
.
<div id="six" style="position:absolute;z-index:1;">
<script>
var iu = new imageuploader ...................

0
Comment
Question by:cutevb
  • 3
  • 2
7 Comments
 
LVL 13

Expert Comment

by:numberkruncher
ID: 22788189
Is your image uploader a flash control?

If it is, there is a special flash variable that you have to set to allow it to work with z-index.

wmode = 'opaque';   // Solid background to Flash control, but it does work with z-index.
wmode = 'transparent'; // Transparent background to contorl, and again works with z-index.

wmode = 'window';  // Flash control has its very own window, and thus does NOT work with z-index. (Default)

Useful Link: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15523
0
 

Author Comment

by:cutevb
ID: 22788367
i am using aurigma tool for image uploading
0
 

Author Comment

by:cutevb
ID: 22788844
its a java applet
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Accepted Solution

by:
cutevb earned 0 total points
ID: 22828201
i searched and found that div content cannot be overlayed on java applets but with iframes it can be done
0
 
LVL 13

Expert Comment

by:numberkruncher
ID: 22829439
Fantastic, I am glad you managed to solve your problem. That's quite interesting, I didn't realize that you could use iframes to get around this issue.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35762997
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now