Hello, I'm trying to use a Collapse Menu and I can't seem to find where to separate the left image from the text. Here's a link to what menu I'm trying to use: http://milonic.com/treemenu/collapse/
and here's the link to download the script: http://milonic.com/treemenu/collapse/collapse.zip
Thanx for any help anyone can give!!
Separating image from text in Collapse Menu
Hi,
the menu_data are in that file:
http://milonic.com/treemenu/collaps ... se_data.js
and the "left"image is not really "separated" as you assume.
Look at the aI(".." string:
The images are red_blip and blue_blip, both 16px wide by 14px high. And the size (width) controlls what you call separation from the text. The color of those images may be transparent gifs or show any other color.
Hope this helps
Michael
the menu_data are in that file:
http://milonic.com/treemenu/collaps ... se_data.js
and the "left"image is not really "separated" as you assume.
Look at the aI(".." string:
Code: Select all
aI("text=News;showmenu=News;type=tree;image=blue_blip.gif;overimage=red_blip.gif");
Hope this helps
Michael
Sorry, I should have specified better...
...I want the text to be a link to a specific page and the image to be the "button" that opens the collapsable menu. Thanx for your input though!
Hi
as in any other milonic menu (You may study the samples) in this menu too, links are placed by a url within the aI(".." ; ) ; string. If text is there or not, or image/overimage are placed. You can even show a submenu and at the same time have a link set to a page by a url . For a combination of overimage and image, shaped like a button, just omitt the text and place the images there...whatever you want.
Michael
as in any other milonic menu (You may study the samples) in this menu too, links are placed by a url within the aI(".." ; ) ; string. If text is there or not, or image/overimage are placed. You can even show a submenu and at the same time have a link set to a page by a url . For a combination of overimage and image, shaped like a button, just omitt the text and place the images there...whatever you want.
Michael
soo...
...you're saying to put an "aI()" for the image, and then one for the text that displays just to the right of the image? If so, I tried that, and it just puts the image in its own space and then the text in its own space right below the image space.
Hi
it is better you start setting up your file, provide a url of your site or you send your menudata. It seems not to be the right way just to describe, there is too much misunderstanding.........
It depends on what you want, text over an image, then you have to use bgimage and overbgimage and text ; or text next to an image then you use image and overimage and text. Or images without text,just omitt the text, keep images only.
Michael
it is better you start setting up your file, provide a url of your site or you send your menudata. It seems not to be the right way just to describe, there is too much misunderstanding.........
It depends on what you want, text over an image, then you have to use bgimage and overbgimage and text ; or text next to an image then you use image and overimage and text. Or images without text,just omitt the text, keep images only.
Michael
Okay, go to: http://milonic.com/treemenu/collapse/
and that's exactly what I'm talking about...when you put your mouse over one of the options there, you'll see that the entire bar (image, text, and just blank space) is all one link. I would like it so that if there is a sub menu for one of the links that the image is what opens the submenu rather than clicking on the text or the blank space to do the exact same thing. (currently you can click either the image, text, or the blank space to open the submenu) I'm just wanting the image ONLY to open the sub menu and then the text ONLY to be a link to another page rather than opening a submenu...but have the option to open the submenu by clicking on the image to the left of the text! Does that make sense!?
and that's exactly what I'm talking about...when you put your mouse over one of the options there, you'll see that the entire bar (image, text, and just blank space) is all one link. I would like it so that if there is a sub menu for one of the links that the image is what opens the submenu rather than clicking on the text or the blank space to do the exact same thing. (currently you can click either the image, text, or the blank space to open the submenu) I'm just wanting the image ONLY to open the sub menu and then the text ONLY to be a link to another page rather than opening a submenu...but have the option to open the submenu by clicking on the image to the left of the text! Does that make sense!?
Hi,
I´m sorry, but even now, don´t understand.
It is not the text, not an image and not blank space or whatever which "is a link".
The menu item is composed by a string, the aI("..." ; ); string.
And in that string you can have e.g.
text,image,arrow,url-link,showsub,backgroundimage,separators,function call etc.,type setting
So it is on YOU to have one of these properties within the item string or a combination of these properties. And it is in no case the "image only" which opens a sub, but the showmenu definition in that string. If you want the bar subdivided into several links, that is not possible with this menu only. (Or is it feasible to have a horizontal menu be part of an item ?? This I don´t know and haven´t thought of it at all!!)
Your question
Michael
I´m sorry, but even now, don´t understand.
It is not the text, not an image and not blank space or whatever which "is a link".
The menu item is composed by a string, the aI("..." ; ); string.
And in that string you can have e.g.
text,image,arrow,url-link,showsub,backgroundimage,separators,function call etc.,type setting
So it is on YOU to have one of these properties within the item string or a combination of these properties. And it is in no case the "image only" which opens a sub, but the showmenu definition in that string. If you want the bar subdivided into several links, that is not possible with this menu only. (Or is it feasible to have a horizontal menu be part of an item ?? This I don´t know and haven´t thought of it at all!!)
Your question
in this regard does not make any sense.Does that make sense!?
Michael