EXAMPLES

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bdaul
Advanced
Advanced
Posts: 11
Joined: Mon Aug 20, 2007 6:24 am

EXAMPLES

Post by bdaul »

In the example section of the Milonic site:

You can click on an example...a note comes up with "properties" of that particular example. If it says VERTICAL and I want it to be HORIZONTAL is there a parameter to make the menu horizontal?

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

Re: EXAMPLES

Post by Ruth »

Hi,

That property is 'orientation' so you'd look in the menu and see what the orientation is and change it accordingly. Note that the default orientation is vertical, so if no orientation is noted, the menu will be vertical. For example, if you just removed the orientation=""; then it would be vertical. Personally, I put the code in but I know some don't.

Code: Select all

with(milonic=new menuname("main")){
alwaysvisible=1;
orientation="horizontal";
Be aware, that some of the examples, if they have backgrounds used, like buttons and such, you might not be able to change the orientation and keep the same background. Which example did you like?

Ruth
Post Reply