Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:26

Creating a <div>-area inside the menu


Poster: Steel2k6
Dated: Tuesday November 15 2005 - 12:25:24 GMT

Hi folks,

I would like to create a <div></div> area inside a menu item - I know this sounds strange, but I have to create a scrollable text inside a menu item.
So in the end it would look like

aI("text=<div style='height:200px;background-color:red;overflow:auto'>mytext</div>" );

But the menu will not show the content. I think it has something to do that the script will be internally parsed for a "<div>" or "</div>" or something like that.

Does anybody know how I could solve this problem?

Thank you in advance!


Poster: Ruth
Dated: Tuesday November 15 2005 - 17:38:40 GMT

I'm not exactly sure why you need the div? You can set the itemheight inside the aI string and you can set the menu to overflow=scroll which would make any item which has more content than its height scroll.

Ruth

Perfect


Poster: Steel2k6
Dated: Wednesday November 16 2005 - 9:34:23 GMT

Ruth wrote:
You can set the itemheight inside the aI string and you can set the menu to overflow=scroll which would make any item which has more content than its height scroll.

Ruth


Thank you, Ruth. This works great! :) I did not know about these menu properties.

Re: Perfect


Poster: John
Dated: Wednesday November 16 2005 - 13:57:37 GMT

Steel2k6 wrote:
I did not know about these menu properties.

Hmmm - sounds like some study is in order. :roll:

Use the links in Ruth's sig lines to learn more of what it can do.