# "float" and "hover" script

**URL:** <https://forum.kirupa.com/t/float-and-hover-script/164733>\
**Category:** flash\
**Created:** [October 4, 2005, 1:00pm UTC](https://forum.kirupa.com/t/float-and-hover-script/164733 "2005-10-04T13:00:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixi](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@pixi](https://forum.kirupa.com/u/pixi)\
**Post date:** [October 4, 2005, 1:00pm UTC](https://forum.kirupa.com/t/float-and-hover-script/164733/1 "2005-10-04T13:00:25Z")

</div>

Hi Guys,

I created this little header for a client, and am using script to load and animate the elements. at the end of the “intro” the buttons, and lines ot text need to sorta “hover” or “float” a bit.

Im tweenig at the moment, but want some code / a function to do this same effect. Anyone got any ideas?

[Sample animation](http://www.maxdefinition.net/clients/gnu/siteHeader/header_Default_With_Intro.html)

Help much appreciated 🙂 Thanks
