jQuery UI Widgets Forums Lists ListBox Show title?

This topic contains 1 reply, has 2 voices, and was last updated by  support 12 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Show title? Posts
  • Show title? #1247

    alec
    Member

    Hi,

    I’m using your ListBox. Everything works fine but I want to show some kind of hint (like a title) when user’s cursor is over any menu item.
    I see that you’re building your items dynamically and I don’t know how to do this.
    Can you help me?

    Best Regards!

    Alec.

    Show title? #1252

    support
    Participant

    Hi Alec,

    You can associate a tooltip to each list item by setting the title option.

    For example:

    var source = [
    { html: "Item1", title: 'Item1' },
    { html: "Item2", title: 'Item2' },
    { html: "Item3", title: 'Item3' },
    { html: "Item4", title: 'Item4' },
    { html: "Item5", title: 'Item5' },
    ];
    // Create a jqxListBox
    $("#jqxWidget").jqxListBox({ source: source, width: '200', height: '250px'});

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.