473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

z-index

Hi group

have a javascript drop down menu ....all works fine..

then I put a flash movie in the center of the page and now the menu opens
behind the falsh movie ... how can I change it so it vil appear over the
flash movie...

I believe it has something to do with the z-index ...but the only thing I
can find are the following:
.......

var body=menu.bodys[st_cumbi];
if(st_cumbi) getpar(body).sub=[st_cumei,st_cumbi];
body.z_index= !st_cumbi ? 1000 : getpar(getpar(body)).z_index+10;
if(body.offset=="auto")
{
if(st_cumbi)
body.offset=getpar(getpar(body)).arrange=="vertica lly" ? "right" :
"down";
else
body.offset= "down";
.......

Do anyone have a solution ?
Jul 23 '05 #1
4 1999
Scott wrote:
have a javascript drop down menu ....all works fine..

then I put a flash movie in the center of the page and now the menu opens
behind the falsh movie ... how can I change it so it vil appear over the
flash movie...

I believe it has something to do with the z-index ...but the only thing I
can find are the following:
......

var body=menu.bodys[st_cumbi];
if(st_cumbi) getpar(body).sub=[st_cumei,st_cumbi];
body.z_index= !st_cumbi ? 1000 : getpar(getpar(body)).z_index+10;
if(body.offset=="auto")
{
if(st_cumbi)
body.offset=getpar(getpar(body)).arrange=="vertica lly" ? "right" :
"down";
else
body.offset= "down";
......

Do anyone have a solution ?


I (and most certainly everyone else, too) have not the slightest idea what
you are up to, particularly because all the objects and properties you are
using are not built-ins in any known HTML UA's DOM. Post the URL instead.
PointedEars
--
Man, this program is quite buggy... But one day it will be the perfect
browser!
Jul 23 '05 #2
On Sat, 21 Aug 2004 18:42:38 +0200, Scott <sn********@hotmail.com> wrote:
then I put a flash movie in the center of the page and now the menu opens
behind the falsh movie ... how can I change it so it vil appear over the
flash movie...
[snip]
Do anyone have a solution ?


If I recall correctly, I'm afraid there isn't one. It's simply down to how
the Flash plug-in renders the animation.

It's similar to the behaviour shown by some form elements. The SELECT
element, for example, has a tendency to disallow anything to appear above
it (in a z-index sense) because the browser leaves rendering to the
operating system.

If it can be solved using manipulation of the z-index, it's easier to do
it through CSS than JavaScript. The CSS property is "z-index". The higher
the number, the higher the element.

Good luck,
Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #3
Scott wrote:
Hi group

have a javascript drop down menu ....all works fine..

then I put a flash movie in the center of the page and now the menu opens
behind the falsh movie ... how can I change it so it vil appear over the
flash movie...


I believe you can't put anything on top of a flash movie.. I remember
when I first started using Flash I was very excited about the prospect
of using Flash in combination with DHTML.. until I found out the hard
way (and by asking right here..) that you can never put anything on top
of a flash movie, that no matter what you do browsers always put Flash
movies on top of everything else.. I would love to be wrong about this,
if I am someone pls tell me!!.. :) ... Frances

Jul 23 '05 #4
In article <opsc3dizdrx13kvk@atlantis>, Michael Winter
<M.******@blueyonder.co.invalid> wrote:
On Sat, 21 Aug 2004 18:42:38 +0200, Scott <sn********@hotmail.com> wrote:
then I put a flash movie in the center of the page and now the menu opens
behind the falsh movie ... how can I change it so it vil appear over the
flash movie...


[snip]
Do anyone have a solution ?


If I recall correctly, I'm afraid there isn't one. It's simply down to how
the Flash plug-in renders the animation.

<snip>

An iFrame will also appear in front ignoring the z-index. Just
rearrange the page so the division does not appear in the same spot as
the flash movie.

--
Dennis Marks
http://www.dcs-chico.com/~denmarks/
Mail to the return email address is bounced.
Go to web site for active email address.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JohnDpatriot | last post by:
After installing XP SP2 on my machine, I continually get the Script Error permission denied when I attempt to adjust the Zindex of an object on the page . see below ...
22
by: DJ WIce | last post by:
Hi, I'm looking for a script to get the hi-est z-index on a page. I want my javascript menu to be always on top of the page (moves along on top when you scroll down). Does anyone know how to...
5
by: Razzbar | last post by:
I'm using a div as a floating dialog box. I'd rather use a popup window, but due to all the popup blockers in use, I have to use another method, a div that has absolute positioning. The damn...
0
by: torchestra | last post by:
I have two activex object. I have to different classes; one with z-index:2000 and one with z-index:1. Both classes have absolute positioning and left and top set to 0. The two objects is located...
0
by: torchestra | last post by:
I have two activex object. I have to different classes; one with z-index:2000 and one with z-index:1. Both classes have absolute positioning and left and top set to 0. The two objects is located...
2
by: reynoldlariza | last post by:
Can somebody please help me, i tried playing around with IE6 and Firefox 2.0 browser for setting zIndexes and hide & show of divs. It seems to work to both. I tried repeatedly clicking on different...
1
by: Sabbaath | last post by:
But haven't really found anything that answers the issue. Basically, I have a js function that has these lines in it, among others: var navSectionBg = document.getElementById("mainNav_" +...
2
by: zz2uk1 | last post by:
Im trying to show a text box above a div in a simple webpage. Im viewing in IE 7 and Chrome and the text box is always below the div, although I have set the zIndex fairly high. I have included...
1
by: gandhi.vishal | last post by:
Hello, I have an issue. I'm not seeing the reportviewer data at all. The column names come up fine but there is no data in the report table. Here is what I'm doing I created a dataset with the...
1
Claus Mygind
by: Claus Mygind | last post by:
How come I can set this style element document.getElementById("popTime").style.left = "0px"; but not this document.getElementById("freqJobDiv").style.zIndex = "20"; I have two nested...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.