Sorry for the dummy questions, I inherited ownership of this script with the website I'm working with (and currently redesigning).
1) Is there a way with version 3.5.11 to assign an image that appears at the top and at the bottom of the menu?
2) if not: is there a way to get the height of the menu that is generated? I have a template that this is going into, and if I can't get an image to appear top and bottom, I need to get the height of the menu so that I can position these images appropriately through CSS. These heights will vary since I have one index.php file for the entire site (approx 120 pages and 9 unique menus)
3) last part: I can't find a lot of documentation on putting the menu in a table and generating it on the fly. Example: can I load all the menu display parameters through the standard menthods of including the .js and .php files and include the menu array data through php includes or switch statements? This way I could have a common set of attributes for all 9 menus.
3 part question
There's probably a better way, but you could do this. It's how I did it when I had version 3.
Best of all would be to switch to version 5 which is incredibly versatile, ability to use things like onclass, onfunction, and zillions of things I have no idea what they do, are or how to do them.
Ruth---Happy Holidays
Code: Select all
addmenu(menu=["main",
5,95,150,1,"",navbar,1,"center",,,,,,,,,,,,,1
,"<img src=whateverimage.xxx border=0>","#",,,1
,"This Site","show-menu=mysite",,"",1
,"Contact","show-menu=contact","#",,1
,"Milonic Menus","show-menu=milonic",,,1
,"<img src=whateverimage.xxx border=0>","#",,,1
])
Ruth---Happy Holidays
Forgot about the table question. Try these. And you can do a search limit it to version 3 and do tables, or placemenu or table cells etc. And, I have no idea about the 2nd part of your ?
http://milonic.com/forum/viewtopic. ... =placemenu
http://milonic.com/forum/viewtopic. ... ght=tables
Ruth
http://milonic.com/forum/viewtopic. ... =placemenu
http://milonic.com/forum/viewtopic. ... ght=tables
Ruth
Cool, thanks for the reply.
I tried the first thing already - but if you apply padding to the menu it pads the image as well.
I'll have to see if I can apply CSS to the menu items individually and create my spacing that way - if so, then I'll be pretty happy.
Thanks for the other links as well - I'll trundle my way through them.
I tried the first thing already - but if you apply padding to the menu it pads the image as well.
I'll have to see if I can apply CSS to the menu items individually and create my spacing that way - if so, then I'll be pretty happy.
Thanks for the other links as well - I'll trundle my way through them.