Scrollbars and Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

Scrollbars and Menu

Post by max909 »

Hi,

I have a menu, and i want to show it in the browser without ths scrollbars.

Currently whenever I show the user will do a right click menu near the bottom of the page, menu shows but scroll bars also appear on the page, now the user has to scroll the page using the mouse wheel or the scrollbars of the browser, and then whole menu shows up.

Currently the application shows up in a intranet site, so i am not able to produce the screenshots.

Thanks in advance
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

overflow= scroll

Post by max909 »

If i specify the follow property
overflow="scroll";

in menu, it will work but the results are not desired ones.

Check this image for more details


Image




Any solutions ?
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

don´t think you are right, the scroll bar to the right with your label "These scrollbars are created by using overflow = scroll ...etc.") is NOT created by that property, I think this scoll bar is created automatically by the browser.

The Right Click Module has nothing to do with any table cell and you can controll the top position by setting for example

top="offset=2"; // in this case 2px below the click position. If you want it further up, select e.g. top="offset=-40";

Michael
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

Offset

Post by max909 »

Wont Milonic do it itself ?

I mean if am at the bottom, the menu should appear above the mouse pointer, and if i have pointer above the mouse, then the position should be different ???
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

yes correct, I´m wondering, there is something like a collision detection which is there by default. If you go to the sample page

http://milonic.com/menusample27.php

you can see, that the menu pops up automatically, once you come too close to the lower margin of your window.
I´m using that menu, and yes, the menu pops up automatically further up, once you click too close to the lower margin. I cannot confirm, that there is a bug or so, with the menu. Must be a problem with your page or with the way you have implemented it. Can´t you provide a url? See the sample page and the order, the js files are called. And see, that you have the latest versions.

Michael
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

Post by max909 »

If I click near the right of the screen , then menu will automatically placeitself so that the horizontal scroll bar is not shown.

The problem only occurs if we clikc near the bottom of the screen.

I think that the computation of screen height and height has to do with it.

This is actually a handed over code from another organization, so i am not sure which version of Milonic how i am using ?

How can i know which version of Milonic i am using ?
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

Open the js-files (with an editor) and you will see something like
Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.746 - Built: Monday April 10 2006 - 16:13
All Milonic files need to have the same release number.
This is actually a handed over code from another organization
Please note: to get support, you should have a license!

Michael
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Max,

we really need to see your website to figure out what's going on with the menu not shifting the submenu when it detects the bottom/right/left/top of the page.

Ruth
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

recently there was a user who had the Milonic files renamed, deleted the copyright and release notes in the files and obviously had tried to edit them, and then wondering that the menu did not work as expected....

Michael
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

Post by max909 »

Thanks to all for your comments.

I think the problem lies that i dont having the license information. So, i think its better to abandon Milonic and look out for some other (possibliy Freeware) Menu.

Thanks once again to all
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Sorry we couldn't help you. We do our best to solve problems posed here, but without information there's not much we can do. Screenshots are great to see what's happening, but they don't give us the html, css, menu_data.js file so we can figure out what in the code is causing the problem.

One answer I can give, you said you didn't want scroll bars in the menu, well then you need to eliminate the overflow="scroll"; since the whole purpose of that property is to put scroll bars in the menu if there is not enough space to show the whole menu.

Good luck.

Ruth
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

there are certain conditions to obtain a so-called free license.
If your site meets those conditions, why don´t you try to obtain a free license?

See: http://milonic.com/nonprofits.php

Michael
max909
Beginner
Beginner
Posts: 7
Joined: Fri Mar 10, 2006 2:54 pm

Post by max909 »

We are not a non-profit organization, so we can not go for the non profit license.

As i told that the code was handed over to our team, but the js didnt contain the milonic license information, i was just searching the Internet and found out that it is Milonic, thats why i posted this message.

The handed over code does not contains any information related to the license of Milonic, dont you guys put any kind of watermarking or similar in your code ?

Thanks,
Mansoor.
Post Reply