Solved

DHTML - Layers question

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Passing client data from form to server 5 56
WordPress:  Reset File Permission after server migration 5 64
wordpress 4.7.4, theme 8 43
How do I buy BitCoin? 4 30
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

751 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