470,593 Members | 2,459 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,593 developers. It's quick & easy.

dynamic menu

I have created a vertical menu:
www.fadilo.altervista.org

I would like the menu to
always be visable in the top left of the screen (where it isn't
placed), only when
the user scrolls down the page.

I would like this:
http://www.milonic.com/mfa/2005-Octo...u-do-this.html

suggestions (or script)?

thanks very much.............

Mar 4 '07 #1
4 1604
On Mar 5, 7:59 am, "zachille" <fad...@gmail.comwrote:
I have created a vertical menu:www.fadilo.altervista.org

I would like the menu to
always be visable in the top left of the screen (where it isn't
placed), only when
the user scrolls down the page.

I would like this:http://www.milonic.com/mfa/2005-Octo...c-menu-do-this....

suggestions (or script)?
Use their code.

--
Rob

Mar 4 '07 #2
On 5 Mar, 00:19, "RobG" <r...@iinet.net.auwrote:
On Mar 5, 7:59 am, "zachille" <fad...@gmail.comwrote:
I have created a vertical menu:www.fadilo.altervista.org
I would like the menu to
always be visable in the top left of the screen (where it isn't
placed), only when
the user scrolls down the page.
I would like this:http://www.milonic.com/mfa/2005-Octo...c-menu-do-this....
suggestions (or script)?

Use their code.

--
Rob
I would want to use this code:

function moveFollower(){
var doc=(document.compatMode=="CSS1Compat")?
document.documentElement:document.body;
if (!doc || !document.getElementById)
return;

var divMenu=document.getElementById("follower"),
yMenuFrom = parseInt (divMenu.style.top, 10)||0,
yMenuTo = doc.scrollTop,
wheight = doc.clientHeight,
timeoutNextCheck = 500;

if ( yMenuFrom != yMenuTo && wheight >= divMenu.offsetHeight )
{
yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 30 );
if ( yMenuTo < yMenuFrom )
yOffset = -yOffset;
timeoutNextCheck = 5;
divMenu.style.top = yMenuFrom + yOffset;
}

setTimeout (moveFollower, timeoutNextCheck);
}
window.onload=function(){
moveFollower();
}

Mar 5 '07 #3
On Mar 5, 10:17 am, "zachille" <fad...@gmail.comwrote:
On 5 Mar, 00:19, "RobG" <r...@iinet.net.auwrote:
On Mar 5, 7:59 am, "zachille" <fad...@gmail.comwrote:
I have created a vertical menu:www.fadilo.altervista.org
I would like the menu to
always be visable in the top left of the screen (where it isn't
placed), only when
the user scrolls down the page.
I would like this:http://www.milonic.com/mfa/2005-Octo...c-menu-do-this....
suggestions (or script)?
Use their code.
--
Rob

I would want to use this code:
[..snip..]

Take a look at thread "Keep sections in a fixed location" by
msubodth@gmail

Mar 5 '07 #4
On 5 Mar, 17:26, scripts.cont...@gmail.com wrote:
On Mar 5, 10:17 am, "zachille" <fad...@gmail.comwrote:
On 5 Mar, 00:19, "RobG" <r...@iinet.net.auwrote:
On Mar 5, 7:59 am, "zachille" <fad...@gmail.comwrote:
I have created a vertical menu:www.fadilo.altervista.org
I would like the menu to
always be visable in the top left of the screen (where it isn't
placed), only when
the user scrolls down the page.
I would like this:http://www.milonic.com/mfa/2005-Octo...c-menu-do-this....
suggestions (or script)?
Use their code.
--
Rob
I would want to use this code:

[..snip..]

Take a look at thread "Keep sections in a fixed location" by
msubodth@gmail
Could you give to an example for modification code?

...thanks YOU!

Mar 5 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Stromboli | last post: by
1 post views Thread by Nathan Bloomfield | last post: by
1 post views Thread by biela | last post: by
2 posts views Thread by vikram | last post: by
19 posts views Thread by mart2006 | last post: by
3 posts views Thread by RahimAsif | last post: by
reply views Thread by benfly08 | last post: by
10 posts views Thread by mart2006 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.