Helpful Information
 
 
Category: JavaScript programming
Dynamic-FX slide in menu v6.5

I'm using the Dynamic-FX slide in menu v6.5 on my site,
http://www.regardless-shorthairs.com
and the menu bar "bounces" anytime you scroll down the page.

I'm very new to javascripting, and don't know where to look for my error. I'd appreciate any help.

Thanks, Judy

<!--

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/
YOffset=25; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=400; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#B4A17F";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=170; // Must be a multiple of 10! no quotes!!
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="#ffe4b5";
hdrBGColor="#442200";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="#F4EBC9";
linkOverBGColor="#F4EBC9";
linkTarget="_top";
linkAlign="Left";
barBGColor="#442200";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#ffe4b5";
barVAlign="center";
barWidth=20; // no quotes!!
barText=" JUNE 02 UPDATE"; // <IMG> tag supported. Put exact html for an image to show.

///////////////////////////

// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header

ssmItems[0]=["IN MEMORY"] //create header
ssmItems[1]=["<B>Heidi</B>", "Heidi_Mem.htm", "_new"]
ssmItems[2]=["PUPPIES"] //create header
ssmItems[3]=["<B>Fever's Litter, 5/27</B>", "Zack_Fever_Litter.htm", "_new"]
ssmItems[4]=["<B>Freida's Litter, 6/27</B>", "Mac_Freida_Litter.htm", "_new"]

ssmItems[5]=["MAY & JUNE BRAGS"] //create header
ssmItems[6]=["<B>Buck</B>", "Buck_Brag.htm", "_new"]
ssmItems[7]=["<B>Rose</B>", "Rose_Brag.htm", "_new"]
ssmItems[8]=["<B>Midas</B>", "Midas_Brag.htm", "_new"]
ssmItems[9]=["<B>Toke</B>", "Toke_Brag.htm", "_new"]
ssmItems[10]=["<B>Warner</B>", "Warner_Brag.htm", "_new"]
ssmItems[11]=["<B>Bull</B>", "Bull_Brag.htm", "_new"]
ssmItems[12]=["<B>Moon</B>", "Moon_Brag.htm", "_new"]
ssmItems[13]=["<B>Flash</B>", "Flash_Brag.htm", "_new"]
ssmItems[14]=["<B>Tree</B>", "Tree_Brag.htm", "_new"]
ssmItems[15]=["<B>Ginny</B>", "Ginny_Brag.htm", "_new"]
ssmItems[16]=["<B>Stein</B>", "Stein_Brag.htm", "_new"]

ssmItems[17]=["MAY ARTICLES"] //create header

ssmItems[18]=["<B>Line-breeding</B>", "ezb_line-breeding.htm", "_new"]
ssmItems[19]=["<B>The Neck of the Giraffe</B>", "ezg_neck_giraffe.htm", "_new"]




buildMenu();

//-->

hi,
try this:

menuIsStatic="yes"; //this sets whether menu should stay static on the screen


put "no" to have the menu stay where they are.

Speedracer:
Thanks for addressing my problem. As a last resort, I'll change the Menu Static to "no", but I really would like the menu to scroll down the page--that isn't what I'm talking about.

The menu on my pages "bounces" up and down after you quit scrolling down the page--so rapidly that you couldn't click on a link if you wanted to.

The menu shown on Dynamic Drive didn't do this, so I assume it was caused by a scripting error on my part.

It's very distracting to anyone trying to read, and my site is very content heavy.

Would you mind taking a quick look: http://www.regardless-shorthairs.com

so you can see what I'm talking about, and possibly let me know what you think may be causing this, and what, if anything, I can do to correct it?

Thank you.

G'day Judy...

I've viewed several of your pages with my IE5.0 and that side bar does 'spring' as you say. Personally I don't like the effect but I have seen other sites with that same scrolling menu bar do the same thing, too. I'm not techi enough to know if it's inherent in the script... or a problem with IE5

My conratulations on an excellent site, anyway... 'springy' bar or not... LOL

Cheers!
KB...

I think I solved your slide menu bounce problem....
Simply change the value of YOffset=25; // no quotes!! from 25 to 35 making it larger than the staticYOffset value. I could not get the menu to bounce like you discribe on my test site after changing only that value.
Let us know if it works for you as others also are having the same problem.
HTH.
PS. I almost Had two of the menu's working(from your other post) then buggered it up(my fault for trying to "think" after 4 am). I'll try again when i get the time and let you know.

Edit: For the benefit of forum browsers the changed value was made to line 7 of the "ssmItems.js" file.

newmate:

The change you suggested above worked! The slide in no longer bounces. Thank you so much.










privacy (GDPR)