# Change z-index after few seconds?

**URL:** <https://forum.kirupa.com/t/change-z-index-after-few-seconds/329430>\
**Category:** web dev\
**Created:** [August 28, 2012, 6:51am UTC](https://forum.kirupa.com/t/change-z-index-after-few-seconds/329430 "2012-08-28T06:51:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Post date:** [August 28, 2012, 6:51am UTC](https://forum.kirupa.com/t/change-z-index-after-few-seconds/329430/1 "2012-08-28T06:51:05Z")

</div>

Hello,

So I am making this web page where I have an SWF banner overlaying HTML content/div.  
I have set the div which contains html to z-index:-1 so that my banner can overlay it when the flash animation expands.

Problem is after the swf overlay is done and it goes back to it’s smaller shape the html content is still not selectable, since the swf is on top of it.

Is there a script or any method I could use you fix that?  
Thanks
