[ic] show img_icon inside COMMON_MENU if it exists
Stefan Hornburg
racke at linuxia.de
Thu Jun 12 07:24:29 UTC 2008
Rick Bragg wrote:
> 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]
{IMG_ICON?}
<img src="{IMG_ICON}" alt="{NAME}">
{/IMG_ICON?}
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list