Note ID: S1036
Product: Selteco Menu Maker
Version: 3.x or above

Request Support

Bannershop GIF Animator

Selteco Menu Maker

Selteco Flash Designer

 

Building menus with images

The following example illustrates how to use images in a menu.

1. Create images

Create images to use as menu items. You can use any image editing application (for example Selteco Photo Lab):

In this example we use 3 images: home.gif, item1.gif and item2.gif

2. Create top menu in Menu Maker

  1. Launch Menu Maker and create blank menu
  2. Double-click "Home" item and use IMG tag:

    <img src="home.gif" width=80 height=20 border=0>

  3. Add Item 1, Item 2 and some submenu items so your menu can look like this:

3. Adjust fixed menu options

  1. Choose "Menu" > "Fixed Menu" (make sure this option is checked)
  2. Choose "Menu" > "Fixed Menu Options"
  3. Set "Top Menu Height" to the height of your images
  4. Set "Top Menu Bar Width" to the total width of all images
    (in this example 3 * 80 = 240 pixels)

4. Adjust base URL

  1. Choose "Menu" > "Select base URL"
  2. Type the path to your images (in this example images are in c:/images/ folder)

5. Preview and export

You should be able to test your menu now:

To export the menu:

  1. Choose "File" > "Export JavaScript file" command.
  2. Navigate to images folder (c:/images/ in this example) and type the file name of .js file. Click OK to export.
  3. In HTML Include dialog click "Copy" to copy HTML code to clipboard. Click OK to close the dialog.
  4. Create HTML page and paste HTML code

Download project files: s1036.zip


Comments?

If you would like to briefly comment on this article, you can enter your remarks in the space below (up to 255 characters):


Products | Purchase | Downloads | Support | Developer | Contact | Privacy Policy

Copyright © 2002 Selteco Software. All rights reserved.