Sliding menu - IE & Firefox  
Author Message
Noozer





PostPosted: 2/2/2006 7:50:33 PM Top

javascript, Sliding menu - IE & Firefox Anyone have a simple example of how I can use javascript to slide a menu on
and off the left side of the screen when a link is clicked?

Normally I wouldn't bother with something like this, but it's needed for an
intranet site I'm working on.

Thanks!


 
Noozer





PostPosted: 2/2/2006 7:53:00 PM Top

javascript >> Sliding menu - IE & Firefox
"Noozer" <email***@***.com> wrote in message
news:dmmEf.311293$tl.199347@pd7tw3no...
> Anyone have a simple example of how I can use javascript to slide a menu
> on and off the left side of the screen when a link is clicked?
>
> Normally I wouldn't bother with something like this, but it's needed for
> an intranet site I'm working on.

BTW, I should note that I can just swap styles between display:block and
display:none, but we'd really like to be able to have the menu "slide" out
of view.

Thx!


 
Noozer





PostPosted: 2/3/2006 3:26:00 PM Top

javascript >> Sliding menu - IE & Firefox Anyone have a simple example of how I can use javascript to slide a menu on
and off the left side of the screen when a link is clicked?

I do know about toggling the CSS display style from block to none, but we
want the menu to actually slide out of view, not just vanish.

Normally I wouldn't bother with something like this, but it's needed for an
intranet site I'm working on.

Thanks!




 
 
Nicko





PostPosted: 2/4/2006 11:16:00 AM Top

javascript >> Sliding menu - IE & Firefox On 3/02/2006 6:25 PM Noozer wrote:
> Normally I wouldn't bother with something like this, but it's needed for an
> intranet site I'm working on.

Look into the setTimeout() function in JavaScript for your dynamic
animation.