PART II Creating multiple styles using the time honored copy and paste method.
Probably the most used way to create a second style - and easiest in the sense that it is something with which most are familiar - is to highlight, copy and paste the existing style into the menu data file below the style you created for your main menu; change the style name, then change all the aspects you want to be different. In this example, I used the original style created in Part I [seen as mainStyle below], and then changed everything. The resulting menu_data.js file would have the 1st style called mainStyle followed by the 2nd one called subStyle. Once you create the two styles you will need to assign each one to the menus which you wish to employ that style. Using this method you could define a totally different style for every menu, just copy, paste and change for however many styles you create making sure you rename each one created. Finally, assign the style you want to its menu. The results for the two styles created here would be this:
fontfamily="Verdana, Tahoma, Arial";
fontfamily="New Times Roman, Courier New, Brochure";
The TWO most important things to remember:
If property is only a number with no letters or symbols do not use quote marks, [some downloads still have quote marks in them from the older versions, do not use them, it usually makes no difference but some browsers are extremely picky] in all other cases you quotes. Thus you would code like this: borderwidth=1; but borderwidth="1px";
Don't forget the semi-colons!
Hosted by Ruth, this section is for those brand new to the menu. We won't teach you HTML, but we will help get your menu experience off to a good start.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest