Solved

DHTML - Layers question

Posted on 1999-01-28
4
254 Views
Last Modified: 2013-12-25
Is it possible to overlay a layer containing a flash movie with another layer with text? How ? (Especially in IE4)
0
Comment
Question by:aloha
[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
4 Comments
 
LVL 4

Accepted Solution

by:
rafistern earned 100 total points
ID: 1859276
<object height=150>
</object>
<div style="position:relative;top:-150;">
A whole load of text
</div>
The rest of the text.



This should work in both IE4 and NS4. I have only included in the object tag that which is important to the example (the height which is the same as the negative offset of the overlaid text).
0
 

Author Comment

by:aloha
ID: 1859277
I have not tested this but it look like what I have already.  The problem is that the layer with the text, which I want to see "on top" of the layer with the flash movie is not showing. Can You tell why? I've set the z-index of the layer and all that but it still is not visible!
0
 
LVL 6

Expert Comment

by:PBall
ID: 1859278
This is probably the same stuff when trying to put a div in front of a select box or a textarea.

The only solution I found to this is to create the div as a scriptlet thus giving it equal footage w/ the flash (which is not really DHTML component.

Looks like any Active X controls will be displayed in front of any DHTML divs.

0
 
LVL 2

Expert Comment

by:jedimike
ID: 1859279
you can make the background of the div transparent, but it only works in IE4..it is buggy in Netscape4
use CSS....background-color: transparent
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

624 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