Solved

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

Posted on 2002-04-15
7
2,035 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
  • 3
  • 2
  • 2
7 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
dammit Cd& your comment was not there when I started typing, but then the phone rang....durn phone....
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 1

Author Comment

by:quantum2
Comment Utility
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
Comment Utility
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
Comment Utility
Sorry there was no trick to get around it.  Thanks for the A. :^)

Cd&
0
 
LVL 1

Author Comment

by:quantum2
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

771 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

9 Experts available now in Live!

Get 1:1 Help Now