# Sliding flash ad over html content

**URL:** <https://forum.kirupa.com/t/sliding-flash-ad-over-html-content/209479>\
**Category:** open source\
**Created:** [December 9, 2006, 5:37am UTC](https://forum.kirupa.com/t/sliding-flash-ad-over-html-content/209479 "2006-12-09T05:37:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [December 9, 2006, 5:37am UTC](https://forum.kirupa.com/t/sliding-flash-ad-over-html-content/209479/1 "2006-12-09T05:37:05Z")

</div>

You know those annoying flash ads that you see sliding over the html content with the close button? Well, I was asked to make one. Personally I hate em, :sigh: but I have seen threads on here asking how to do it, so I thought I post up a quick example. It uses the swfObject. Tested in IE6, IE7, FF 1.5+, Opera9.0 and NetScape. Nothing really ground breaking but thought someone might be interested =)

[Preview here \<–](http://2210media.com/uploads/slide_ad.html)

Source attached.
