trying to create a dynamic dropdown/popup menu like ebay

Last post 08-26-2005 10:29 AM by PLBlum. 2 replies.

Sort Posts:

  • trying to create a dynamic dropdown/popup menu like ebay

    08-25-2005, 6:59 PM
    • Member
      15 point Member
    • rheide
    • Member since 08-25-2005, 10:43 PM
    • Posts 3

    Hello All. We are trying to find a component or some code to use that would create a dynamic dropdown/popup menu like used on ebay (as well as probably a lot of other sites). We are not opposed to paying for components, etc.

    The main things that we like about the ebay popup/dropdown is:
    1. it stays up on the screen until you click the X
    2. depending on the status of the auction, the items change (ie. if the auction is over, End Item would not be displayed)
    3. it seems to work with most browsers.

    for all of you unfamiliar with the seller side of ebay, here is a screenshot: click here

    FYI - Our coders were having a hard time "finding" code to use and they are now working on other parts of our application so I told them I would "ask around". You may feel the need to say "get some new coders" or "where the heck did you find your coders" ... to that I would say ... we are working on it. :-)

    Thanks in advance!

  • Re: trying to create a dynamic dropdown/popup menu like ebay

    08-25-2005, 9:58 PM
    • Member
      720 point Member
    • KhaingLay
    • Member since 01-19-2005, 11:05 PM
    • Myanmar
    • Posts 148
    You will need to use <div> and a little javascript. Here is sample code.

    <div style="LEFT: 280px; POSITION: absolute; TOP: 208px" id="divMessage">
        <table cellpadding="0" cellspacing="0" width="150" border="0" bgcolor="#EFEFEF">
            <tr>
                <td width="140" runat="server" id="lblTitle"></td>
                <td width="10"><img src="" onclick="JavaScript:document.all.divMessage.style.display = 'none'"></td>
            </tr>
            <tr>
                <td width="100%" colspan="2" id="lblDetails" runat="server">
               
                </td>
            </tr>
        </table>
    </div>


    You can change the <div> position as you like. After that, you'll need to put data to lblTitle and lblDetails from codebehind. This way provide to display data dynamially.

    Hope it will help.

  • Re: trying to create a dynamic dropdown/popup menu like ebay

    08-26-2005, 10:29 AM
    • All-Star
      30,305 point All-Star
    • PLBlum
    • Member since 06-28-2002, 1:20 PM
    • Boston, MA
    • Posts 5,343
    • TrustedFriends-MVPs
    There are numerous third party menu controls. In fact, due to a highly competitive market, you will probably find them all to be very feature rich. Most will let you setup style sheets that customize things, such as yellow background, bottom border is gray 1 pt, etc. Take a look at this list http://www.411asp.net/home/assembly/navigator.
    Take a look at Telerik's "r.a.d." products, which include a menu and panelbar (which is a different UI of a menu).
    --- Peter Blum
    Creator of Peter's Data Entry Suite (formerly Professional Validation And More and Peter's Date Package) and Peter's Polling Package
    www.PeterBlum.com
Page 1 of 1 (3 items)