How to create a JavaScript menu

1,100 views
724 views

Published on

In this presentation we describe how you can create a simple horizontal drop down JavaScript menu in AllWebMenus Pro.

AllWebMenus Pro is a powerful WYSIWYG application in which you can create any kind of JavaScript menus or CSS menus. You are able to create horizontal menus or vertical menus, mega menus, responsive menus, sliding menus, floating menus, popup menus etc.
All the menus produced by AllWebMenus Pro are going to perfectly work in all browsers and devices (PCs, Tablets, Smartphones).

AllWebMenus Pro info: http://www.likno.com/allwebmenusinfo.html
AllWebMenus Pro menu examples: http://www.likno.com/jquery-builders/examples.php?p=awm&e=htmlmenu
AllWebMenus Pro download: http://www.likno.com/download.html

Published in: Internet
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,100
On SlideShare
0
From Embeds
0
Number of Embeds
490
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

How to create a JavaScript menu

  1. 1. How to create a JavaScript menu in AllWebMenus Pro www.likno.comAllWebMenus Pro
  2. 2. AllWebMenus Pro is a powerful WYSIWYG application for creating stunning JavaScript/CSS menus. It requires no coding skills as the application handles all the code needed. www.likno.comAllWebMenus Pro
  3. 3. You can choose from among a wide range of menu themes/templates/examples that come with the application to create your own menus. www.likno.comAllWebMenus Pro
  4. 4. With AllWebMenus Pro you can create any type of menu, such as horizontal drop down menus, vertical menus, sliding menus, responsive menus, mega menus, popup menus, floating menus and many more. www.likno.comAllWebMenus Pro
  5. 5. All the menus produced by AllWebMenus Pro are going to perfectly work in all browsers, platforms and devices. www.likno.com They work alike in all Editors (like DreamWeaver, Microsoft Expression Web, Net Objects Fusion, CoffeeCup and more) and all CMS (such as WordPress, Joomla, Drupal, DotNetNuke and more). AllWebMenus Pro
  6. 6. In this presentation we are going to show you how you can create a basic horizontal drop down JavaScript menu in AllWebMenus Pro. www.likno.comAllWebMenus Pro
  7. 7. Open AllWebMenus Pro. In the splash screen that appears, click on Create a new menu project and click Continue. www.likno.comAllWebMenus Pro
  8. 8. On the next screen select any menu theme you want (for this presentation we have selected the “Flat Floral” menu theme) and click Select. www.likno.com
  9. 9. First, let’s save our menu project. You can go on the menu File -> Save as or just click Ctrl + S. Select the folder where you want to save your menu project, give it a name and save it. www.likno.comAllWebMenus Pro
  10. 10. Let’s change our menu structure. We are going to create the following menu structure: Home Services - Development - Design - Web Design - Graphics Design - Digital Marketing About Us Contact Us www.likno.comAllWebMenus Pro
  11. 11. In Menu Editor we click on the first menu item and then we click on Text property. We insert “Home” and we click on the right arrow shown below so we can transfer that value to the Mouse Over and Mouse Click states, as well. www.likno.comAllWebMenus Pro
  12. 12. Then, we select the Main Item 2 and we write “Services” in the Text property, we click on the right arrow so we can transfer that value to all the states. We do the same steps for all the main items (Home, Services, About Us, Contact Us). www.likno.comAllWebMenus Pro
  13. 13. In our default menu structure we only have 3 main menu items. But for this example we need a forth main menu item. So, we select the last menu item (About Us), we click on the “plus” icon and then click Add Item – After Select. This way we create a new main menu item right after the “About Us” menu item. www.likno.comAllWebMenus Pro
  14. 14. For the submenu items we select the Sub Item 1 first and on the Text property we write “Development”. We do the same for all our sub menu items. www.likno.comAllWebMenus Pro
  15. 15. For the third level submenu items we select the Sub Items inside the Submenu Group+ and we change their Text values. So, for the “Web Design” item we select the Sub Item 4 and we change its Text value to “Web Design”. www.likno.comAllWebMenus Pro
  16. 16. Finishing our menu structure we notice that we do not need the Sub Item 6 that has been left. Select it and click on the “minus” icon as shown below (or simply hit Del) to remove that item from the menu structure. www.likno.comAllWebMenus Pro
  17. 17. The menu structure now looks the way we wanted. In the Menu Preview pane we can see the way that menu looks like. www.likno.comAllWebMenus Pro
  18. 18. Now, let’s customize its styling. Of course, if you don’t want to change any values you can leave it as is. In general, you can change the Styling properties in Style Editor Tab. www.likno.comAllWebMenus Pro
  19. 19. Now, let’s change the Background Color of the Main Menu Items. Go to Style Editor -> Main Items Style -> Background Color and click on it. Select the color you want and click OK. www.likno.comAllWebMenus Pro
  20. 20. The Menu looks like below. We notice that still there is a red color around the main menu items and we do not want that. This comes from the Main Group. www.likno.comAllWebMenus Pro
  21. 21. Go to the Style Editor -> Main Group Style -> Background Color and select “None (transparent background)”. www.likno.comAllWebMenus Pro
  22. 22. Go to the Style Editor -> Main Group Style -> Padding and set it to “0” in order to remove the extra padding. www.likno.comAllWebMenus Pro
  23. 23. Now, we need to choose the Menu Positioning. Click on Menu Positioning -> select Relative to an Element, leave the Default ID, set the Element anchor and Menu Anchor. www.likno.comAllWebMenus Pro
  24. 24. We are ready to compile our menu project. Click on Compile and the Project Properties window will appear. Select your Site_Root folder, the Compiled menu name (you can leave the default) and click OK. www.likno.comAllWebMenus Pro
  25. 25. Then, you receive the Menu compiled successfully window, click on Link menu to web pages so that you can link the menu to your pages. www.likno.comAllWebMenus Pro
  26. 26. Select the page/s in which you want the menu to be linked, click the right arrows button to move them to the right side and finally click Link. www.likno.comAllWebMenus Pro
  27. 27. Then, click on Preview Page to see your page in your default browser. www.likno.comAllWebMenus Pro
  28. 28. As we see, the menu is still not displayed in the page. This is because we still haven’t placed our menu positioning element in our page. www.likno.comAllWebMenus Pro
  29. 29. In AllWebMenus go to Menu Positioning and click on Copy to copy the default ID so we can place that element to our page. www.likno.comAllWebMenus Pro
  30. 30. We create a <div> element in our page, where we want the menu to be displayed and we give it an ID value the value we copied before in AllWebMenus. www.likno.comAllWebMenus Pro
  31. 31. Let’s reload our page. This time we see that the menu appears as it should. www.likno.comAllWebMenus Pro
  32. 32. Visit www.likno.com for more information www.likno.comAllWebMenus Pro

×