# Javascript Function Help

**URL:** <https://forum.kirupa.com/t/javascript-function-help/224897>\
**Category:** web dev\
**Created:** [May 7, 2007, 12:32am UTC](https://forum.kirupa.com/t/javascript-function-help/224897 "2007-05-07T00:32:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [May 7, 2007, 12:32am UTC](https://forum.kirupa.com/t/javascript-function-help/224897/1 "2007-05-07T00:32:55Z")

</div>

Hey all,

i have a javascript function which is as follows:

```auto
function menuContent() {
    Effect.BlindDown('d1');; return false;
}

```

which works great it blinds down which is what it is meant to do.

But my problem is that i want the ‘dl’ div to have transparency all the time, from when i open my website.

Here is the transparency code i have which works BUT just not in that function.

```auto
new Effect.Opacity( this.parentNode, {duration:0.8, from:1.0, to:0.85} );

```

i need this to happen at the same time as the blind down. So in short i’m looking for a solution on how to combine these two elements in the one function.

Any ideas anyone?  
Thanks in advance 🙂
