Solved

How to make a DIV layer appear over an OBJECT tag...?

Posted on 2002-04-15
7
2,043 Views
Last Modified: 2012-06-27
I have an object tag as declared:

<OBJECT id=SSUltraGrid1 style="LEFT: 9px; WIDTH: 100%; TOP: 15px" height=300 width=480 classid=clsid:B3014671-7872-4671-BE73-5D05EB5B2AF5><PARAM NAME="_ExtentX" VALUE="19606"><PARAM NAME="_ExtentY" VALUE="7938"><PARAM NAME="_Version" VALUE="131072"><PARAM NAME="GridFlags" VALUE="17040384"><PARAM NAME="LayoutFlags" VALUE="67108864"><PARAM NAME="Caption" VALUE="SSUltraGrid1"><PARAM NAME="OLEDropMode" VALUE="0"></OBJECT>

I have several layers that are in DIV tags that need to be able to display OVER the object tag when made visible. However, it appears that the OBJECT tag is a client window to the IE Browser, and therefore manipulating the Z order does not appear to help.

I have embeded the OBJECT in a DIV and changed its Z order to no avail.

Does anyone know how to make a standard DIV layer appear over an OBJECT or ActiveX Control...?

Thanks

David
0
Comment
Question by:quantum2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
ID: 6942110
There is no way to do it.  Objects have an vurtual z-index of infinity. You could try making the div and Ilayer, but I'm not sure that will work either.  The options are to hide the object, move it out of the way, or re-design the page so that the object and layer do not nee to occupy the same space.

Cd&
0
 
LVL 18

Expert Comment

by:bruno
ID: 6942120
There are certain things that have a z-index of infinity within the IE browser.....I have never tried with the object tag, but it sounds to be this way.

the one most people have a problem with are the select boxes, which also have a z-index of infinity.  

You might just be out of luck on this one, sorry!


BRUNO
0
 
LVL 18

Expert Comment

by:bruno
ID: 6942128
dammit Cd& your comment was not there when I started typing, but then the phone rang....durn phone....
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:quantum2
ID: 6942330
I was afraid of that....I was hoping for an undocumented browser trick with VB Script or something... not this time.

I hate the fact that I have to use ActiveX for anything on this site, but there is nothing I can do. It looks like a re-design is in order.

Thanks for all of the comments...
0
 
LVL 18

Expert Comment

by:bruno
ID: 6942366
generally this question comes up as part of a "my drop down menu's won't show up on top of xxxxxx"...

so either a redesign, or with some fancy scripting you can make the object go away when the menu shows up, but you didn't specify if this was a menu or just something with the design...


BRUNO
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6942461
Sorry there was no trick to get around it.  Thanks for the A. :^)

Cd&
0
 
LVL 1

Author Comment

by:quantum2
ID: 6943773
Bruno,
This is exactly the case. It is navigation, however, I wanted to be more specific with the case. On any normal day, I would never use an AX control. But, unfortunately I have no choice. I could not convince the powers that be that good old DHTML would be better, they opted for the cheap sexy AX control rather than taking the time to do it right with JS, CSS and DHTML.

Oh well....

The result was a minor design change. I dont like it as much, but it works. I think it is crappy design for MS to design a control that in VisualC++ and VB can have a Z order defined at runtime but when placed in a browser, it has a persistent Z order of zero.

Anyway... thanks to everyone for the quick replies.

Q2
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

729 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