[ic] show img_icon inside COMMON_MENU if it exists
Rick Bragg
lists at gmnet.net
Thu Jun 12 02:48:27 UTC 2008
Hi
I would like to add an image to the top menu bar if it exists Basically
if the img_icon field has a value, I would like to show an image next to
the menu item. This is what I would like to do inside the COMMON_MENU
file:
----------------
{MV_LEVEL:}
<!-- class={NAME} down menu_class='[scratch menu_class]' -->
<td valign="bottom">
<a
href="{PAGE}"
title="{DESCRIPTION}"
onMouseOver="top_mousein(this)"
onMouseOut="top_mouseout(this)"
id="{CODE}"
class="topmenu">
--> [if type=explicit compare="{IMG_ICON}"]
--> <img src="{IMG_ICON}" alt="{NAME}">
--> [/if]
{NAME}</a>
</td>
<td valign="center" class="topmenu">
-<!-- <img src="bg.gif" align="middle" height="1" width="1"> -->
</td>
{/MV_LEVEL:}
This is the wrong syntax of course, but does anybody know how to do
this?
Thanks
rick
--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.
More information about the interchange-users
mailing list