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:07
Scrollbars and Menu
Poster: max909
Dated: Friday April 28 2006 - 8:12:21 BST
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
overflow= scroll
Poster: max909
Dated: Friday April 28 2006 - 11:28:03 BST
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
Any solutions ?
Poster: Migru
Dated: Friday April 28 2006 - 14:02:38 BST
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
Offset
Poster: max909
Dated: Friday April 28 2006 - 14:45:03 BST
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 ???
Poster: Migru
Dated: Friday April 28 2006 - 15:03:40 BST
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://www.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
Poster: max909
Dated: Friday April 28 2006 - 16:02:04 BST
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 ?
Poster: Migru
Dated: Friday April 28 2006 - 21:10:43 BST
Hi
Open the js-files (with an editor) and you will see something like
Quote:
Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.746 - Built: Monday April 10 2006 - 16:13
Version 5.746 - Built: Monday April 10 2006 - 16:13
All Milonic files need to have the same release number.
Quote:
This is actually a handed over code from another organization
Please note: to get support, you should have a license!
Michael
Poster: Ruth
Dated: Friday April 28 2006 - 21:33:57 BST
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
Poster: Migru
Dated: Friday April 28 2006 - 21:39:13 BST
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
Poster: max909
Dated: Tuesday May 2 2006 - 6:14:25 BST
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
Poster: Ruth
Dated: Tuesday May 2 2006 - 7:58:08 BST
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
Poster: Migru
Dated: Tuesday May 2 2006 - 10:07:52 BST
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://www.milonic.com/nonprofits.php
Michael
Poster: max909
Dated: Tuesday May 2 2006 - 10:52:22 BST
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.