[ic] topmenu-flyout using {img_icon}

Eric Bont eric_bont at hotmail.com
Thu Nov 18 14:20:19 EST 2004


Hi,

I want to use the topmenu with menu-images for the first level and 
down-flyouts for other menulevels, so I use  {IMG_ICON}. This works well but 
for showing the menu-images but when I use this tag the dhtml flyout don't 
work. Below the script I use. Any idea whats wrong in this script?

Any help appreciated.

Eric



[menu name="[scratch menu_bar]"
		menu-type=flyout
		use-file=1
		anchor_down=1
		entities=description
		exclude_on=exclude_on
		items=depends_on
		js_prefix=top_
		flyout_class=submenu
		flyout_style="border: 5px solid black; padding: 10px; padding-left: 10px"
		submenu_image_right="[var IMAGE_DIR]/sm_right.gif"
		inactive=inactive
		indicator_class="menu_class=name"
		indicator_page=page
		link_class=submenu
		link_style='font-size: 10pt'
		nbsp=name
		logged_in=member
	  ]
[menu-header]
<table class=menubar>
<tr>
		<td valign=center class=submenu style="padding: 0; margin: 0">
		<img src="bg.gif" align=middle height=1 width=1>
		</td>
[/menu-header]
{MV_LEVEL:}
		<td valign=bottom>
<!--
	<a
	href="{PAGE}"
	title="{DESCRIPTION}"
	onMouseOver="top_mousein(this)"
	onMouseOut="top_mouseout(this)"
	id="{CODE}"
	class=topmenu>{NAME}</a>
-->

	<a
        href="{PAGE}"
        title="{DESCRIPTION}"
	id="{CODE}"
	class=topmenu>
	{IMG_ICON?}<img name="img{CODE}"
        src="{IMG_ICON}"
        onmouseover='this.src="{IMG_DN}"'
        onmouseout='this.src="{IMG_ICON}"'
	border=0>
	{/IMG_ICON?}
	</a>

	</td>
	<td valign=center class=submenu style="padding: 0; margin: 0">
	<img src="bg.gif" align=middle height=1 width=1>
	</td>
{/MV_LEVEL:}
[/menu]
<td>
[if session admin]
<a href="[area href="admin/menu_editor" form="qmenu_name=[scratch 
menu_bar]"]" class=topmenu_soft style="font-size: 8pt; font-weight: 
normal">edit</a>
[/if]
</td>
</tr>
</table>

_________________________________________________________________
Speel games met je online vrienden via MSN Messenger 
http://messenger.msn.nl/



More information about the interchange-users mailing list