# Erain site: effect how-to?

**URL:** <https://forum.kirupa.com/t/erain-site-effect-how-to/93525>\
**Category:** Uncategorized\
**Created:** [November 1, 2003, 4:50am UTC](https://forum.kirupa.com/t/erain-site-effect-how-to/93525 "2003-11-01T04:50:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yean](https://avatars.discourse-cdn.com/v4/letter/y/a698b9/32.png) [@Yean](https://forum.kirupa.com/u/Yean)\
**Post date:** [November 1, 2003, 4:50am UTC](https://forum.kirupa.com/t/erain-site-effect-how-to/93525/1 "2003-11-01T04:50:35Z")

</div>

Hello guys!

I’m trying to make the same effect that you guys see in this page.

> **[ERAIN.COM](http://www.erain.com/)**
>
> Check out this GoDaddy hosted webpage! http://erain.com.

There is a bar on top of the page below the one with Products…Store…Suport…etc. When you do a rollOver on it, a white bar comes from the right to the left and stops at the button that you’re on. I would like to know which script I can use to get the same effect.

I’m trying to do this

the name of the object (bar) : bluebar

on(rollOver){

bluebar.\_x: …  
bluebar.\_y: …

}

it gives me what I want. the bar stops at the botton that I’m touching but it moves too fast, I want something smooth. Please if you know how to do this, post the script here.

Thanks !!! 🙂
