followscroll, table & scrollbars

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

followscroll, table & scrollbars

Post by Maz »

I think this is a question for Andy.

The problem is the followscroll vertical menu is constantly dithering up and down 1px. Is it in the numbers?

The menu in question has the script line in a table.

I removed the following:
position=relative

_followSpeed=5
_followRate=40


I have:
_scrollAmount = 3;
_scrollDelay = 20;

top = 113;
left = 1;
screenposition = "left;top";
followscroll = "5,10,1";
itemwidth = 105;
orientation = "vertical";
alwaysvisible = 1;

This set up is the most stable, but is there anywhere I can stop it dithering up and down 1px in any position. In some set ups, the browser scrolling set it off.

The link is at the bottom, xpmenu, or is it possible that something else is connect or affected? ... like padding, spacing, anything?

Any clues welcome
thankyou
maz
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I just updated * :D *fantastic* :D * now I'm positioned relative and everything works, alas I'm tweaking everything back to normal, but still can't get rid of the constant dithering 1px. :(

I've tried every combination of options. It starts out normal but soon after moving around on the page, it looks like its got the tremors (or too much mercury).

Do I have a conflict?
Where could it be from?

maz
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try this...

Code: Select all

followscroll = "1,100,2";
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

:D Couldn't help but laugh out loud when I figured it out.

I was thinking it was in perfect time, looked at the screen clock and sure enough it was acting as a pendulum keeping perfect time.

I'd better get back to grant writing before the clock chimes.

Thanks
maz
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Nice job John...yeah that followscroll can be tricky. You gotta know exactly what its doing and what each of the three fields really represent. Glad you're good to go!
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hergio wrote:Nice job John...yeah that followscroll can be tricky.
Thanks, Dave. BTW, most impressed at all the JS stuff you've been coming up with for the folks. Good work.
maz wrote:I'd better get back to grant writing before the clock chimes.
Don't forget mine :!: :D
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I can only aspire to be a code-junkie in the ranks of Andy Woolley someday! :lol:
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hergio wrote:I can only aspire to be a code-junkie in the ranks of Andy Woolley someday! :lol:
That man sure knows his stuff :!:
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I can only aspire to be the ultimate crash test dummy some day :D

I totally forgot what I did last night before I had a visitor distract me.
This morning things were a mess, I'm having one of those weeks starting Monday. The menu page was running down the browser scroll to infinity, at the bottom I could barely see the top menu items listed. Followscroll was somewhere stagnant in the middle.

This morning I thought okay, start over, maybe there's a new RC.

Suddenly this morning I remember what I did ;) to test the theory that the screen clock was ticking my followscroll menu, I made all the numbers 60 ie seconds and minutes. :oops:

oh... dear... next

maz
Post Reply