z-index, getting 1 .swf to be above another .swf when in a floating div layer


hi all,

i atempting swf higher on screen in html page.

i thought using z-index attribute achieve having difficulty it.

firstly have tried javascript solution.

<script language="javascript">
<!--
function makeswf1higher() {
div1.style.zindex="4";
div2.style.zindex="3";
-->
</script>

<body onload="makeswf1higher()" >
<div id="div1"> //mswf here </div>
<div id="div2"> //mswf here </div>


secondly have tried css z-index solution.

<style type="text/css">
<!--
#div1 {
position:relative;
width:200px;
height:115px;
top: 0px;
visibility: visible;
left: 0;"
z-index: 50;"

}
#div2 {
position:relative;
width:783px;
height:446px;
top: 0px;
visibility: visible;
left: 0;"
z-index: 1;"
}

-->
</style>


and neither produces result me. please show me doing wrong here.

any appreciated.

add table 2 rows put first 1 in fist row , second
in next row. or make 2 div's work , put them in there.
i think tables work better , end frustration.
dave

"complexity" <webforumsuser@macromedia.com> wrote in message
news:e4lqnl$o0m$1@forums.macromedia.com...
> hi all,
>
> atempting swf higher on screen in html page.
>
> thought using z-index attribute achieve
> having difficulty it.
>
> firstly have tried javascript solution.
>
> <script language="javascript">
> <!--
> function makeswf1higher() {
> div1.style.zindex="4";
> div2.style.zindex="3";
> -->
> </script>
>
> <body onload="makeswf1higher()" >
> <div id="div1"> //mswf here </div>
> <div id="div2"> //mswf here </div>
>
>
> secondly have tried css z-index solution.
>
> <style type="text/css">
> <!--
> #div1 {
> position:relative;
> width:200px;
> height:115px;
> top: 0px;
> visibility: visible;
> left: 0;"
> z-index: 50;"
>
> }
> #div2 {
> position:relative;
> width:783px;
> height:446px;
> top: 0px;
> visibility: visible;
> left: 0;"
> z-index: 1;"
> }
>
> -->
> </style>
>
>
> , neither produces result me. please show me
am
> doing wrong here.
>
> appreciated.
>




More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62