WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Empty Image space in WebFXMenuButton (not in mozilla), hockey player, September 2, 2004
     Re:Empty Image space in WebFXMenuButton (not in mozilla), hockey player, September 2, 2004

Subject: Empty Image space in WebFXMenuButton (not in mozilla) From: hockey player Date: September 2, 2004


This only happens in IE.

The code is below.

My menubar is showing an empty image element to the right of the menubutton text.

Is there a fix for this? Seems to work fine in mozilla.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


    <script type="text/javascript" src="xmenu/cssexpr.js"></script>
    <script type="text/javascript" src="xmenu/xmenu.js"></script>
    <link href="xmenu/xmenu.css" type="text/css" rel="stylesheet">
    <style type="text/css">

        html {
         border:  0;
         overflow: hidden;

        body {
         border: 0;
         margin: 0;
         overflow: hidden;

        .menuBottom {
         top:  14px;
         height:  3px;
         width:  100%;
         background: buttonshadow;
         overflow: hidden;



<script type="text/javascript">

    webfxMenuUseHover = true;
    webfxMenuHideTime = 500;
    webfxMenuShowTime = 10;

    var yMenu = new WebFXMenu;
    var gMenu = new WebFXMenu;
    var hMenu = new WebFXMenu;
    yMenu.add(new WebFXMenuItem('Yahoo', 'http://www.yahoo.com', 'yahoo'));
    yMenu.add(new WebFXMenuSeparator());
    yMenu.add(new WebFXMenuItem('Broadbus', 'http://www.Broadbus.com', 'Broadbus'));
    yMenu.add(new WebFXMenuSeparator());
    yMenu.add(new WebFXMenuItem('Matrixone', 'http://www.Matrixone.com', 'Matrixone'));
    gMenu.add(new WebFXMenuItem('Google', 'http://www.googleo.com', 'google'));
    gMenu.add(new WebFXMenuSeparator());
    gMenu.add(new WebFXMenuItem('Microsoft', 'http://www.Microsoft.com', 'Microsoft'));
    gMenu.add(new WebFXMenuSeparator());
    gMenu.add(new WebFXMenuItem('SeaChange', 'http://www.SeaChange.com', 'SeaChange'));
    hMenu.add(new WebFXMenuItem('Help', 'http://www.broadbus.com', 'help'));
    var myBar = new WebFXMenuBar;
    myBar.add(new WebFXMenuButton('Yahoo', '', 'tooltip', yMenu));
    myBar.add(new WebFXMenuButton('Google', '', 'tooltip', gMenu));
    myBar.add(new WebFXMenuButton('Help', '', 'tooltip', hMenu));
    myBar.add(new WebFXMenuButton('Yahoo Again', 'http://www.yahoo.com', 'yahoo'));


<script type="text/javascript">

<div class="menuBottom"></div>

    <a href="#"
       onfocus="if (!webfxMenuUseHover) webFXMenuHandler.showMenu(yMenu, this)"
       onmouseover="if (webfxMenuUseHover) webFXMenuHandler.showMenu(yMenu, this)"
       onblur="if (!webfxMenuUseHover) webFXMenuHandler.hideMenu(yMenu)"
       onmouseout="if (webfxMenuUseHover) webFXMenuHandler.hideMenu(yMenu)"
       onclick="return false"






Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX