Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:12
followscroll, table & scrollbars
Poster: Maz
Dated: Monday September 15 2003 - 20:13:40 BST
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
Poster: Maz
Dated: Tuesday September 16 2003 - 1:02:43 BST
I just updated * *fantastic* * 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
Poster: John
Dated: Tuesday September 16 2003 - 3:24:01 BST
Try this...
Code:
followscroll = "1,100,2";
Poster: Maz
Dated: Tuesday September 16 2003 - 4:37:10 BST
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
Poster: Hergio
Dated: Tuesday September 16 2003 - 4:52:40 BST
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!
Poster: John
Dated: Tuesday September 16 2003 - 14:46:45 BST
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
Poster: Hergio
Dated: Tuesday September 16 2003 - 20:24:12 BST
I can only aspire to be a code-junkie in the ranks of Andy Woolley someday!
Poster: John
Dated: Tuesday September 16 2003 - 20:39:42 BST
Hergio wrote:
I can only aspire to be a code-junkie in the ranks of Andy Woolley someday!
That man sure knows his stuff
Poster: Maz
Dated: Tuesday September 16 2003 - 20:49:12 BST
I can only aspire to be the ultimate crash test dummy some day
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.
oh... dear... next
maz