Solved

DHTML - Layers question

Posted on 1999-01-28
4
247 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
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

766 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