Assuming that you want to create a website with more than one languages you can follow the steps below:

1. Make sure that your web server is properly configured to handle dynamic pages like php, asp, jsp etc.

2. Create two separate menus using the AllWebMenus application. You have to give each menu a different name. In our example the names are:

- english.js

- french.js

3. Compile both menus and link just one of them in the target html page which in our case must be a php page. You can rename the page extension from html to php.

4. Next thing to do is to find a way to pass a variable in that html in order to alter the awm linking code and more precisely the section containing the path of the menu javascript file. This line to be changed is: <script xsrc='english.js' language='JavaScript1.2' type='text/javascript'></script>

If you leave this line intact, then the English menu will be loaded always. What we want in this case is to create a script to change the name of the file under a specific condition. In our example the condition is a parameter in the URL that tells the page what language is the chosen one.

Our URL may be: http://ourdomainname/multiplelang.php?lg=en or http://ourdomainname/multiplelang.php?lg=fr
As you can see the file to contain our menu has to be a php file (or asp, jsp depending on the programming language used) otherwise it will be impossible to pass the lg parameter in the awm linking code.

5. Here is a sample php page containing the code needed for this parameter to be passed in the awm linking code:

<!– This section contains the code needed for the URL parameter to be passed in our page and to give the menu the proper name –>

<?php

$userLang= $_GET['lg'];

if ($userLang == "en") {

$menuName="english";

}

else {

$menuName="french";

}

?>

<!– END –>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title></title>

<script type="text/javascript">

var userLang = "<?php echo($userLang);?>";

var menuName = "";

if (userLang == 'en'){

menuName = "english";
}

else {

menuName = "french";
}

</script>

</head>

<body>

<!– DO NOT MOVE! The following AllWebMenus code must always be placed right AFTER the BODY tag–>

<!– ******** BEGIN ALLWEBMENUS CODE FOR menu ******** –>

<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [4]',awmMenuName='menu',awmBN='636';awmAltUrl='';</script>

<!– The following section creates the javascript needed to load the proper js file –>

<script language="javascript">

document.write( "\<script" );

document.write( " charset='UTF-8'" );

document.write( " type='text/javascript'" );

document.write( " xsrc='" + menuName + ".js'" );

document.write( "\>" );

document.write( "\</script\>" );

</script>

<!– END –>

<script type='text/javascript'>awmBuildMenu();</script>

<!– ******** END ALLWEBMENUS CODE FOR menu ******** –>

<span id="awmAnchor-<?php echo($menuName);?>"> </span>

</body>

</html>

Disclaimer: This guide is for users who are familiar with programming languages like php/asp/jsp etc. Improper use of the scripts above may result in menu abnormal appearance and/or script errors.

 

We are excited to inform you that we can now also be found in the popular social networking platform, Facebook (www.facebook.com).

We have created a new 'Group' and 'Page' that will allow you to interact with other users, upload and share your framed images, and much more!

Join our Photo Frame Show Group at:
http://www.facebook.com/group.php?gid=4766208485

Become a fan of our Photo Frame Show Page at:
http://www.facebook.com/pages/Photo-Frame-Show/15286504554


- Already have a Facebook account?

Easy! All you need to do is either search for 'Photo Frame Show' directly or just click on the links above, sign in to your account, join our Group or become a fan.


- Don't have a Facebook account?

Don't worry! It's very easy to create one and completely FREE! Simply visit www.facebook.com and sign up for an account.

After you register, sign in to your account, and either search for 'Photo Frame Show' directly or just click on the links above, sign in to your account, join our Group or become a fan.


- But hey, thats not all!

Additionally, we would like to let you in on one of our 'little secrets' - We will soon be releasing a Facebook application that will allow you to frame photos which you have posted on your Facebook account and send them directly to your Facebook buddies as e-cards.

This application will make your photos and sharing, much more cooler!

By joining our group or page, you will be notified once the application is released.


As always, thank you for your support!

The Photo Frame Show team
Let the framing begin!
www.frameshow.com


 

The transparency in Likno Drop Down Menu Trees can be achieved with the appropriate CSS definitions in the Root Style Editor.

Add the following code to the text box of the Root Style Editor (as shown in the image below):

opacity:0.5;filter: alpha(opacity = 50);

Change the values to fit your requirements: in ‘opacity’ the values are between 0.0 (fully transparent) and 1.0 (opaque); in filter the values are between 0 (fully transparent) and 100 (opaque).

ldmt transparency of tree

 

You can follow this procedure in order to create a Menu Item that will send an email to a friend with the URL to the current page!

 

In the <Link> property of the item add

mailto:&subject=Check%20this%20page%20out&body=<awm:theUrl>

Then, in the AllWebMenus project file, go to “Tools > Project Properties > Advanced Scripting”, and add in the text box

theUrl = document.location;

 

If you just want to send a specific page to someone (and not the current), then in the <Link> property of the item you should add

mailto:&subject=Check%20this%20page%20out&body=www.mywebsite.com

 

 
Click here to view a tutorial about how to Compile/Link DHTML Menus with AllWebMenus DHTML Menu Maker.
 

 


© 2008 Likno Software Blog - DHTML Menus, Javascript Menus, Drop Down Menus