A new option has been added in AllWebMenus v5.1.796, allowing you to change the Doctype of the Preview Pane (additional to the existing Encoding option):

DocType in AllWebMenus Preview

Before Build #796, the Preview Pane was always using the Doctype "XHTML 1.0 Transitional".

However, if you used a different Doctype in your actual pages (where your menu was linked to), you may had experienced differences in how the menu was rendered at Preview Pane vs those pages. The same applied for Encoding.

This inconsistency is solved through the "Doctype" property, where you can use any of the following options for the Menu Preview Pane:

None
HTML 4.01 Transitional
HTML 4.01 Strict
XHTML 1.0 Transitional (default)
XHTML 1.0 Strict
XHTML 1.1

Now, it is important to understand that both the "Doctype" and the "Encoding" values are used in previewing the menu within AllWebMenus only and are not applied to your actual pages. Your pages will have their own HTML code for Doctype and Encoding and therefore the menu will be rendered according to those values; NOT according to the Menu Preview values. The Menu Preview options are there just to facilitate the preview.

 

Hello everybody!

We wanted to inform you that we have released the latest version of AllWebMenus Pro - version 5.2 Build #794.

It includes some fixes and improvements that enhance the program's functionality:

- Fixed an issue related to specific offsets for Opera.

- Fixed an issue where items with submenu image would affect the total width of a horizontal menu.

- Fixed an issue where "mailto:" links did not work correctly in IE.

- Added an option for "Automatically open last edited project when opening AllWebMenus" in the "File" menu.

You can download the latest version at:
http://www.likno.com/download.html

Enjoy!

 

SWFObject is a commonly used JS library for instantiating Flash objects universally.  Flash objects are considered to be “windows” on top of the browser and this is why they cover the submenus by default. This can be easily changed however. SWFObject offers two distinct methods to embed Flash Player content:

  1. The static publishing method embeds both Flash content and alternative content using standards compliant markup, and uses JavaScript to resolve the issues that markup alone cannot solve.
  2. The dynamic publishing method is based on marked up alternative content and uses JavaScript to replace this content with Flash content if the minimal Flash Player version is installed and enough JavaScript support is available (similar like previous versions of SWFObject and UFO).

If you use the static publishing  method you just have to add the transparent parameter in SWFObject.  For example if the code of  SWFObject looks like the following:

<script type="text/javascript">

var so = new SWFObject("movie.swf", "mymovie", "200", "100%", "7", "#336699");

</script>

you have to add the following line of code:

so.addParam("wmode", "transparent");

so that your code look like the following:

<script type="text/javascript">

var so = new SWFObject("movie.swf", "mymovie", "200", "100%", "7", "#336699");

so.addParam("wmode", "transparent");

</script>

If you use the dynamic publishing method you need to apply the transparent parameter too. In this method you use the embedSWF function so as to embed your SWF with JavaScript. The definition of embedSWF is the following: swfobject.embedSWF(swfUrl, id, width, height, version, expressInstallSwfurl, flashvars, params, attributes, callbackFn) where:

  1. swfUrl (String, required) specifies the URL of your SWF.
  2. id (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by your Flash content.
  3. width (String, required) specifies the width of your SWF.
  4. height (String, required) specifies the height of your SWF.
  5. version (String, required) specifies the Flash player version your SWF is published for (format is: "major.minor.release" or "major").
  6. expressInstallSwfurl (String, optional) specifies the URL of your express install SWF and activatesAdobe express install. Please note that express install will only fire once (the first time that it is invoked), that it is only supported by Flash Player 6.0.65 or higher on Win or Mac platforms, and that it requires a minimal SWF size of 310x137px.
  7. flashvars (Object, optional) specifies your flashvars with name:value pairs.
  8. params (Object, optional) specifies your nested object element params with name:value pairs.
  9. attributes (Object, optional) specifies your <object>'s attributes with name:value pairs.
  10. callbackFn (JavaScript function, optional) can be used to define a callback function that is called on both success or failure of embedding a SWF file

So if the code of your SWFObject looks like the following:

<script type="text/javascript">

swfobject.embedSWF("myswfobject.swf", "mycontent", "935", "300", "9.0.0");

</script>

you have to replace it with the following one:

<script type="text/javascript">

var expressInstallSwfurl = {};

var flashvars = {};

var params = {wmode:"transparent"};

var attributes = {};

swfobject.embedSWF("myswfobject.swf", "mycontent", "935", "300", "9.0.0", expressInstallSwfurl, flashvars, params, attributes);

</script>

By adding the transparent parameter as described above, the submenus will always appear above SWFObject objects on all browsers.

 

After you have installed your AllWebMenus Pro application, you need to activate it in order to get the full functionality; otherwise it will be in trial mode!

To activate AllWebMenus Pro you need to get an Activation Code based on the installation ID of your application. To get an Activation Code, you have to log in to your Likno User Area account and click on the relative link of the AllWebMenus section (see the image below):

Then you will be redirected to a page where you will have to enter the installation ID so as to get the Activation Code. Please make sure that you have chosen the correct license, namely the license whose the installation ID you are using (see the image below). If  you try to get an Activation Code for a license different from the installed one you will get an error message which will inform you that your installation is not valid and you will not be able to activate your application.

To get your installation ID so as to place it in the Installation ID input field (see the image above) and get the Activation Code, you have to go to Help -> About of your AllWebMenus Pro application (see the images below):

When you get the Activation Code you have to copy it, go to Help -> Enter Activation Code, paste it in the Activation Code field and click on the Activate button (see the image below):

Well done! You have successfully activated your AllWebMenus Pro application.

Finally, there some things you must know so as to be able to successfully activate your application! First of all, you must have admin rights in order to be able to activate your application. This means that you have to run your AllWebMenus Pro application as administrator (to do that you just have to right click on the application's shortcut and choose run as administrator). If you are a Windows Vista/7 user you must have also read the following article before you try to activate your application: http://www.likno.com/blog/allwebmenus-user-account-control/408/. This article describes how to deactivate the User Account Control (UAC); UAC must be deactivated so that the activation procedure to be successfully completed!

 

The most important factor that determines the size of the menu is the content of the items. If you want to reduce the size of your menu you should keep in mind that the menu must have at least the necessary size for the content of the items to fit inside. If the content is large, then you should first of all reduce the size of the content.

The properties that determine the size of each item and the menu are the <Minimum Width>in the Main/Sub/Sub+ Group Style Editor (if you want to increase the size, perhaps this is the only property you should change), the <Size> in the Main/Sub/Sub+Items Style Editor and also the <Text Margin> and the <Content Padding> in the Main/Sub/Sub+ Items Style Editor.

1. How to specify the Minimum Width property of a group.

1. How to specify the <Minimum Width> property of a group.

2. How to speicfy the Size property of the items of your menu.

2. How to speicfy the <Size> property of the items of your menu.

3. How to specify the Text Margin property of the items of your menu.

3. How to specify the <Text Margin> property of the items of your menu.

4. How to specify the Content Padding property of your menu items.

4. How to specify the <Content Padding> property of the items of your menu.

Also you can check/uncheck the "Uniform Items" option in the <Type> property of the Main/Sub/Sub+ Group Style Editor that forces all items to have the same size - the size of  the largest item. You can modify the values of these properties and change the size of the items.

5. How to specify the Uniform Items option of a group.

5. How to specify the "Uniform Items" option of a group.

Finally, If you just want to widen the menu, you have only to change the <Minimum Width> property of the Main Group Style in the Style Editor.

 


© 2009 Likno Software Blog – DHTML Menus, Javascript Menus, Drop Down Menus