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:06
Question for JOHN - Followscroll with menu in table.
Poster: vikenk
Dated: Tuesday May 9 2006 - 14:16:34 BST
Hi John,
I was hoping you wold share your secret on how you were able to bend the rules and get the menu to FollowScroll while positioned relative in a table.
I'm having a real hard time positioning the menu the way I want in a site that I'm redesigning and all of my problems would go away if I could use relative positioning and FollowScroll together. In the past, you've pointed to your ASU website as an example, but I have not been able to figure it out by looking at your code.
What do you say? Will this magician give up his secret?
Poster: John
Dated: Tuesday May 9 2006 - 16:03:13 BST
Hi Viken -
Not really sure how to answer this. I pointed to the site because that's where all the code is. There's nothing hidden anywhere else.
Also, you've really got me confused when you mention 'relative'. The menu is positioned absolute. The td is just there as a 'placeholder' for it - like an elevator shaft.
Poster: vikenk
Dated: Thursday May 11 2006 - 13:32:10 BST
Hi John,
Sorry it took so long to reply.
John wrote:
Also, you've really got me confused when you mention 'relative'. The menu is positioned absolute. The td is just there as a 'placeholder' for it - like an elevator shaft.
OK, I see. That makes sense now. The menu is still placed absolutely even though the main menu items are placed in the table. The menu itsself, then, is not contained within the boundaries of the table. That's why followscroll works.
In theory, with the way you have it configured, you woudn't even need to the table for it to work.
Thanks John.
Poster: John
Dated: Thursday May 11 2006 - 15:07:55 BST
vikenk wrote:
In theory, with the way you have it configured, you woudn't even need to the table for it to work.
Hi,
True, but having the td there allows me to add some other non-menu elements to various pages when needed. The basics of that series of pages is sort of a template, although not used as a 'true' template.
There - now that should confuse you further...