Tree/collapsable menu expansion issue
collapsible menu in a table
Problem not yet solved
Description:
It seems, that submenus of a collapsible menu in a table (which is centered) can be positioned only by using the screenposition ="center"; property together with the left="offset=-x"; where x has to be computed reducing the tablewidth by the width of the menu and deviding the result by 2;
When the window is resized, and the width of the window is getting smaller than the width of the table, the positioning of the submenu needs an additional offset to be computed by the difference between table width and available width of the window, not exceeding a minimum value. This should be reported I think, in order to solve that in a general correction of the offset, (for a menu in a table, when the menu is a treemenu/collapsible menu). I am trying to solve that by a corresponding js function. Question: Is there a possibility to solve this in general in one of the coming releases?
Michael
test sample with slightly different parameters: http://www.dhyg.de/testfile1.html
Description:
It seems, that submenus of a collapsible menu in a table (which is centered) can be positioned only by using the screenposition ="center"; property together with the left="offset=-x"; where x has to be computed reducing the tablewidth by the width of the menu and deviding the result by 2;
When the window is resized, and the width of the window is getting smaller than the width of the table, the positioning of the submenu needs an additional offset to be computed by the difference between table width and available width of the window, not exceeding a minimum value. This should be reported I think, in order to solve that in a general correction of the offset, (for a menu in a table, when the menu is a treemenu/collapsible menu). I am trying to solve that by a corresponding js function. Question: Is there a possibility to solve this in general in one of the coming releases?
Michael
test sample with slightly different parameters: http://www.dhyg.de/testfile1.html
Last edited by Migru on Thu Jan 05, 2006 12:21 pm, edited 1 time in total.
table based colaps. menu, table centered, menu left oriented
Hi
try as follows
set up a .css file, called it margin.css, containing
Include this in your head section with
The code in the testpage , where the table is centered e.g.
and the
main menu (here first 5 lines only)
and the menu "Subservices" , here 6 lines only:
In my test sample, due to the .css settings, there was no longer a shift of the sub to left or right, when the table was centered and when the window was resized, even to a smaller than the tables size.
Michael
PS: test-sample: http://www.dhyg.de/testpage1.html
try as follows
set up a .css file, called it margin.css, containing
Code: Select all
html{
margin:0px;
}
body{
margin:0px;
FONT-FAMILY:verdana;
}
Code: Select all
<link rel="stylesheet" href="margin.css" media="screen">
Code: Select all
<body >
.........milonic files ........
.
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
main menu (here first 5 lines only)
Code: Select all
with(new menuname("main Tree Menu")){
style = tstyle1;
alwaysvisible = 1;
itemwidth=217;
position="relative";
Code: Select all
with(new menuname("SubServices")){
style = sub1Style;
screenposition="center";
left="offset=-291";
padding=0;
itemwidth="100%";
Michael
PS: test-sample: http://www.dhyg.de/testpage1.html
Hi Michael,
Well thanks again for all your help. I've tested this locally for the novospa website but cant get it to work. I see your testpage works 95% .. if you make the window very small the menu moves to left by may be 2 or 3 pixels. Can you do just one more thing to see if it will work with my page.
first I have a big table 1000px with 3 columns. and then in the center column I have a 900px table. So the 50px colums on the right an left have images in them. Then the center 900px table is exaclty the same as your entire testpage(800px table).
To test this you dont have to make it 900px, you can make a big table of 1000px and leave 100 px on each side. Then see if i works with your last solution.
Thanks again..
Are we gonna get any help from team members ??
Ali.
Well thanks again for all your help. I've tested this locally for the novospa website but cant get it to work. I see your testpage works 95% .. if you make the window very small the menu moves to left by may be 2 or 3 pixels. Can you do just one more thing to see if it will work with my page.
first I have a big table 1000px with 3 columns. and then in the center column I have a 900px table. So the 50px colums on the right an left have images in them. Then the center 900px table is exaclty the same as your entire testpage(800px table).
To test this you dont have to make it 900px, you can make a big table of 1000px and leave 100 px on each side. Then see if i works with your last solution.
Thanks again..
Are we gonna get any help from team members ??
Ali.
menu of aliasim
Hi aliasim
the problem with the design of your site is, that the menu is not exactly positioned at the border of your table, as it is the case in my sample. That is why css settings will not really do the job, when an additional offset is required for the case, when the width of the window is less than the width of the table and the menu with the table cannot be placed along the margin. I thought even of putting the menu into a file loaded in an additional iframe, and see how and if that is possible and how it works. Because of this, the menu could exactly be positioned at the margin/border of any table cell and it is comparatively easy to place an iframe into the table cell, like the one in my sample. If i find the time, I will try this. An iframe, like a frame/window has its own id and name and can be adressed. But in your design there is no iframe at all. Maybe somebody has a better idea ? You have a license, why don´t you ask for direct support from Milonic, with reference to these posts ? ( /forum/viewtopic.php?t=6757)
With regard to your reflection on
this is only of a very theoretical value. Who, please, will resize a window that way in order to get information from web-browsing ? And by "nowrap" or similar action, it should be possible to fix it, so that the table will not resize at all, I think that is later on a minor issue.
I stay turned to this too !
Michael
the problem with the design of your site is, that the menu is not exactly positioned at the border of your table, as it is the case in my sample. That is why css settings will not really do the job, when an additional offset is required for the case, when the width of the window is less than the width of the table and the menu with the table cannot be placed along the margin. I thought even of putting the menu into a file loaded in an additional iframe, and see how and if that is possible and how it works. Because of this, the menu could exactly be positioned at the margin/border of any table cell and it is comparatively easy to place an iframe into the table cell, like the one in my sample. If i find the time, I will try this. An iframe, like a frame/window has its own id and name and can be adressed. But in your design there is no iframe at all. Maybe somebody has a better idea ? You have a license, why don´t you ask for direct support from Milonic, with reference to these posts ? ( /forum/viewtopic.php?t=6757)
With regard to your reflection on
-if you make the window very small the menu moves
this is only of a very theoretical value. Who, please, will resize a window that way in order to get information from web-browsing ? And by "nowrap" or similar action, it should be possible to fix it, so that the table will not resize at all, I think that is later on a minor issue.
I stay turned to this too !
Michael
IFRAME VS IFRAME
Hi,
the vertical collapsable menu is now "trapped" in an IFRAME, no movement at all neither to the left nor to the right, just down, where it should be, when the subs are opened.
http://www.dhyg.de/download/testpage2.html
All menu items target to another iframe .
Everything can be styled. Did not take too much effort into styling, css etc. actual simple colouring is for demonstration purpose only.
Michael
the vertical collapsable menu is now "trapped" in an IFRAME, no movement at all neither to the left nor to the right, just down, where it should be, when the subs are opened.
http://www.dhyg.de/download/testpage2.html
All menu items target to another iframe .
Everything can be styled. Did not take too much effort into styling, css etc. actual simple colouring is for demonstration purpose only.
Michael
-
- Beginner
- Posts: 8
- Joined: Fri Dec 30, 2005 9:02 pm
Actual treemenu in an IFRAME
Michael,
Your solution seems to work well. This is great!
Thank you for being so creative and finding a working solution.
Krista
Your solution seems to work well. This is great!
Thank you for being so creative and finding a working solution.
Krista
Hi
Welcome
Michael
PS: I have posted some additional information here:
http://milonic.com/forum/viewtopic.php?t=6971
Welcome
Michael
PS: I have posted some additional information here:
http://milonic.com/forum/viewtopic.php?t=6971
Hi Aliasim
with
http://www.dhyg.de/download/testpage2.html
as a workaround, your problem may be considered as solved !!!
Michael
with
http://www.dhyg.de/download/testpage2.html
as a workaround, your problem may be considered as solved !!!
Michael
Hi,
My site is a coldfusion fusebox 3 site. It's not plain html site. I'm not saying that it's not gonna work for me. But I used these Iframes long long time ago. Can I only use 1 Iframe around my menu and leave everthing else the same? When you go through the site u might notice the banner on the top changes everytime and ofcourse so does the text. Page actually re-loads with parameters and variables. I may not be able to use Iframes.
My site is a coldfusion fusebox 3 site. It's not plain html site. I'm not saying that it's not gonna work for me. But I used these Iframes long long time ago. Can I only use 1 Iframe around my menu and leave everthing else the same? When you go through the site u might notice the banner on the top changes everytime and ofcourse so does the text. Page actually re-loads with parameters and variables. I may not be able to use Iframes.
Hi
yes you are right,
it is a problem of the design of this site too, reloading a page after each mouse-click creates certain patience, for the visitor of the site as well as for the web-designer. I am preferring sites, where parts of the pages will not change after each mouse-click, making those pages smoother, more pleasant to surf. But this might be my personal taste and not everybodies.
When I look at your design, I think I would do it with even 3 iframes, one for the top-banner, one for the menu and one for the text part. THe menu controlls the text window/frame, loading files....and each of these files, when it is called, may itself call an additional file, just containing the banner to be loaded into the top-iframe. It is most simple. The entire thing could be organised in a table, with two vertical table columns to the right and left etc.
Where is the problem ? Of course I am not really familar with all the details of your site.
Michael
yes you are right,
it is a problem of the design of this site too, reloading a page after each mouse-click creates certain patience, for the visitor of the site as well as for the web-designer. I am preferring sites, where parts of the pages will not change after each mouse-click, making those pages smoother, more pleasant to surf. But this might be my personal taste and not everybodies.
When I look at your design, I think I would do it with even 3 iframes, one for the top-banner, one for the menu and one for the text part. THe menu controlls the text window/frame, loading files....and each of these files, when it is called, may itself call an additional file, just containing the banner to be loaded into the top-iframe. It is most simple. The entire thing could be organised in a table, with two vertical table columns to the right and left etc.
Where is the problem ? Of course I am not really familar with all the details of your site.
Michael
Well, it looks like a simple site but it's a complete Content Management System(CMS). It also has a webstore which will be active very soon with shipping and options and all products. Our client can login and change any page content, banner, add products setup tons of things. This CMS has been designed in Coldfusion Fusebox and we cant make changes to it now. It's already workig for 3 other clients. but they have different menu. When the designer desgiend this for the client they chose to have a collapsible menu and I proposed that we can use Milonics menu it will work fine. Now I'm getting the heat when it's acting funny for "some" visitors.
If I change this to an Iframe now it will have static links and our CMS will lose it's functionality. see what I'm saying. Those pages get all the info from the SQL databse. I'm busy with some other projects and not getting time for this one. But I will soon work on this one. I've also been told by my boss to look for some other collapsible menu if milonics cant get it solved. Team members dont look interested. On the other hand I really really really appreciate all your work and all that you have been doing to help. There are not many people like you out there.
Thanks.
Ali.
If I change this to an Iframe now it will have static links and our CMS will lose it's functionality. see what I'm saying. Those pages get all the info from the SQL databse. I'm busy with some other projects and not getting time for this one. But I will soon work on this one. I've also been told by my boss to look for some other collapsible menu if milonics cant get it solved. Team members dont look interested. On the other hand I really really really appreciate all your work and all that you have been doing to help. There are not many people like you out there.
Thanks.
Ali.
treemenu
Hi
no impatience please,
I´m sure, before long there will be a solution.
(Please remember, the "team members" are not employees of Milonic) They are users, as you and me, though they are certainly more familiar with the system, as they are much longer using it and working on many different versions. You can only gain experience by doing things over a long period.
So wait and see, in one of the next updates, that problem will be settled. I am confident.
For me I found that workaround, and I am already using it (not yet on any site/page published) But it works fine in my working environment.
By the way, this "static links"you mentioned, I do not very well understand, because in an Iframe, in general, you can put a file "file001.html" containing the menu only, and then it even does not work relative. The iframe itself can be addressed to put in whatever you want, may be even a complete different menu "file999.html". And I do not see, why one of these files might get its information by a database.... Of course, such an object needs general support in the system and when its not supported by your CMS you might not get it to work in a correct way. And. I certainly should not forget, it depends on the overall-design.
Michael
no impatience please,
I´m sure, before long there will be a solution.
(Please remember, the "team members" are not employees of Milonic) They are users, as you and me, though they are certainly more familiar with the system, as they are much longer using it and working on many different versions. You can only gain experience by doing things over a long period.
So wait and see, in one of the next updates, that problem will be settled. I am confident.
For me I found that workaround, and I am already using it (not yet on any site/page published) But it works fine in my working environment.
By the way, this "static links"you mentioned, I do not very well understand, because in an Iframe, in general, you can put a file "file001.html" containing the menu only, and then it even does not work relative. The iframe itself can be addressed to put in whatever you want, may be even a complete different menu "file999.html". And I do not see, why one of these files might get its information by a database.... Of course, such an object needs general support in the system and when its not supported by your CMS you might not get it to work in a correct way. And. I certainly should not forget, it depends on the overall-design.
Michael
Hi Ruth,
Now I need to fix this menu. It does not let me fill out a support ticket. What do I do now ? Here is what I get
Account Number: 1xxxxxx
Support Level: Low
Valid Until: Not Applicable with [-1] Days Remaining
Name on Account: Ali Qureshi
Email Address: ali@myemail.ca
Registered Website:
--------------------------------------------------------------------------------
No Support Available
Now I need to fix this menu. It does not let me fill out a support ticket. What do I do now ? Here is what I get
Account Number: 1xxxxxx
Support Level: Low
Valid Until: Not Applicable with [-1] Days Remaining
Name on Account: Ali Qureshi
Email Address: ali@myemail.ca
Registered Website:
--------------------------------------------------------------------------------
No Support Available
iframes
Hi aliasim,
have a look at http://www.dhyg.de/ where - at the moment I have set up a testpage which uses an iframe for the menu (left hand) and targets the output into another iframe (right hand). whereas two more iframes are on top, in order to exchange the banner on top and/or the small banner top left.
Though the page is in German, you will understand how it works. Click e.g. on 3. and then on 3.3, after that 7. and after that on 7.3 etc.
At the moment I am expanding the table to the bottom and to the right, in order to set up background images into these cells (looking like drop shadows).
Michael
have a look at http://www.dhyg.de/ where - at the moment I have set up a testpage which uses an iframe for the menu (left hand) and targets the output into another iframe (right hand). whereas two more iframes are on top, in order to exchange the banner on top and/or the small banner top left.
Though the page is in German, you will understand how it works. Click e.g. on 3. and then on 3.3, after that 7. and after that on 7.3 etc.
At the moment I am expanding the table to the bottom and to the right, in order to set up background images into these cells (looking like drop shadows).
Michael
That seems to be saying your licensed support and upgrade has expired. The support and upgrade is valid for one year from date of purchase. You are of course entitled to use the forum, but to continue with actual Milonic support you would need to renew that.aliasim99 wrote:Now I need to fix this menu. It does not let me fill out a support ticket. What do I do now ? Here is what I get
Valid Until: Not Applicable with [-1] Days Remaining
If your support period is not expired, you'll need to contact Milonic directly about the problem.
Ruth
Another Issue
Hmm.. There is onother issue with the menu. Now if I click any of the top level menu items, they open up in a new page, really wierd. No, I do not have target = blank for them. only one PDF link is suppose to open in a new page. Any ideas ?
http://www.novospa.ca/index.cfm
http://www.novospa.ca/index.cfm