Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.getElementById('flashDiv').setAttribute('wmode', 'opaque');
- <div id="parent">
- <div id="sibling"></div>
- <embed id=βflashβ><other script code></embed>
- </div>
- //.parent may not need to be set to relative
- #parent { position: relative; }
- // the value on sibling1 just needs to be higher than .sibling2
- #sibling { position: relative; z-index: 20; }
- #flash { position: relative; z-index: 10; display:inline }
Add Comment
Please, Sign In to add comment