how to position a javascript menu in joomla

25
How to position a JavaScript menu in Joomla & www.likno.c om AllWebMenus Pro

Upload: likno-software

Post on 17-Dec-2014

809 views

Category:

Software


0 download

DESCRIPTION

In this presentation you can see how to position a JavaScript menu in Joomla through the AllWebMenus Pro and the AllWebMenus Joomla Component. AllWebMenus Pro is a powerful menu creator with a WYSIWYG interface. It requires absolutely no coding skills as the application creates all the code needed. You are able to create any type of JavaScript/CSS menus, such as horizontal drop down menus, vertical menus, sliding menus, responsive menus, floating menus, mega menus and many more. All the menus created in AllWebMenus Pro are going to perfectly work in all browsers and devices (PCs, tablets, smartphones). AllWebMenus info: http://www.likno.com/allwebmenusinfo.html AllWebMenu Joomla Component info: http://www.likno.com/addins/joomla-menu.html

TRANSCRIPT

Page 1: How to position a JavaScript menu in Joomla

How to position a JavaScript menu in Joomla

&

www.likno.comAllWebMenus Pro

Page 2: How to position a JavaScript menu in Joomla

In this presentation we will show you how to position your JavaScript menu in your Joomla website, through AllWebMenus Pro and the AllWebMenus Joomla Component.

www.likno.comAllWebMenus Pro

Page 3: How to position a JavaScript menu in Joomla

In general, there are 4 main choices to position a menu in AllWebMenus Pro: Relative to Window:

www.likno.comAllWebMenus Pro

Page 4: How to position a JavaScript menu in Joomla

Relative to an Element:

www.likno.comAllWebMenus Pro

Page 5: How to position a JavaScript menu in Joomla

Relative to an Image:

www.likno.comAllWebMenus Pro

Page 6: How to position a JavaScript menu in Joomla

Manually trigger Main Menu or any Group on user action:

www.likno.comAllWebMenus Pro

Page 7: How to position a JavaScript menu in Joomla

While you are in AllWebMenus Pro, you can set the Menu Positioning by clicking on “Menu Positioning” button.

www.likno.comAllWebMenus Pro

Page 8: How to position a JavaScript menu in Joomla

Let’s see each choice separately and the steps needed to be done in AllWebMenus Pro and in AllWebMenus Joomla Component.

www.likno.comAllWebMenus Pro

Page 9: How to position a JavaScript menu in Joomla

First, let’s see the “Relative to Window” positioning. Click on “Menu Positioning” and choose “Relative to Window”. You are able to also set the Window Anchor and the Offsets.

www.likno.comAllWebMenus Pro

Page 10: How to position a JavaScript menu in Joomla

Then, you need to Compile your menu project for Joomla and upload the zip file through your AllWebMenus Joomla Component panel.

www.likno.comAllWebMenus Pro

Page 11: How to position a JavaScript menu in Joomla

Then, just visit your Joomla website and you will see the menu displayed where you placed it relative to the window.

www.likno.comAllWebMenus Pro

Page 12: How to position a JavaScript menu in Joomla

Let’s see the “Relative to an Element” positioning. Click on “Menu Positioning” and choose “Relative to an Element”. You see that you have 2 choices, relative to the Default ID or relative to a Custom ID (in which you can type your custom ID). You are able to also set the Window Anchor and the Offsets.

www.likno.comAllWebMenus Pro

Page 13: How to position a JavaScript menu in Joomla

If you know that you have a specific ID in your Joomla website or you want to manually add it, you can choose the Custom ID. Then, you only need to compile your menu project and upload the zip file to your Joomla. The menu will be displayed on your pages as long as the custom ID exists on them.

www.likno.comAllWebMenus Pro

Page 14: How to position a JavaScript menu in Joomla

If you choose the Default ID you need to also compile and upload the zip file. Then, in order for the menu to be displayed you need to publish the specific AllWebMenus Module that is created for your menu.

www.likno.comAllWebMenus Pro

Page 15: How to position a JavaScript menu in Joomla

So, after you have uploaded the produced zip file click on Extensions -> Module Manager.

www.likno.comAllWebMenus Pro

Page 16: How to position a JavaScript menu in Joomla

Search for “AllWebMenus” and you will see that a module with the name of your menu is created. You can click on that to select the position where you want it to appear.

www.likno.comAllWebMenus Pro

Page 17: How to position a JavaScript menu in Joomla

Choose the Position where you want your menu to be displayed. Also, make sure that the status is set to Published. Then, the menu should appear where you selected.

www.likno.comAllWebMenus Pro

Page 18: How to position a JavaScript menu in Joomla

Then, just visit your Joomla website and you will see the menu displayed in the position you chose.

www.likno.comAllWebMenus Pro

Page 19: How to position a JavaScript menu in Joomla

Let’s see the “Relative to an Image” positioning. Click on “Menu Positioning” and choose “Relative to an Image”. Type the Image Filename. Note that the image should exist in your page. Then, you can also set the Anchors and Offsets.

www.likno.comAllWebMenus Pro

Page 20: How to position a JavaScript menu in Joomla

Then, you need to Compile your menu project for Joomla and upload the zip file through your AllWebMenus Joomla Component panel.

www.likno.comAllWebMenus Pro

Page 21: How to position a JavaScript menu in Joomla

Then, just visit your Joomla website and you will see the menu displayed where you placed it relative to the image.

www.likno.comAllWebMenus Pro

Page 22: How to position a JavaScript menu in Joomla

Now, let’s see the Manually trigger Main Menu or any Group on user action.This is a more advanced method to show your menu and it requires that you insert some code on your Joomla page.Click on Click here to generate the “Trigger Code” for Main Menu or any Group.

www.likno.comAllWebMenus Pro

Page 23: How to position a JavaScript menu in Joomla

You are able to select if the menu will be triggered on Mouse Over or on Mouse Click. You can choose the Positioning Element as well as the Anchors and Offsets for the menu. Finally, you can click on “Copy” to copy the produced code.

Of course, when you are done you need to compile your menu project and upload the produced zip file to your Joomla.

www.likno.comAllWebMenus Pro

Page 24: How to position a JavaScript menu in Joomla

In order for the menu to appear on your page, you need to paste in your menu trigger element the code you copied in AllWebMenus Pro.

So, you could have for example a button that clicking on it the menu would be displayed:

<button onclick="awmShowGroup('menu-gr0',0,0,0,0,this);" onmouseout="awmHideMenu('menu');" >Click here</button>

www.likno.comAllWebMenus Pro

Page 25: How to position a JavaScript menu in Joomla

Visit www.likno.com

for more information

www.likno.comAllWebMenus Pro