jQuery UI Widgets Forums Navigation NavigationBar, ToolBar, NavBar 2 questions reqarding navigationbar

This topic contains 6 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author

  • gd
    Member

    Hello,

    I just started to use your plagins.
    Is is OK couple questions under one topic?

    1. Custom extra jqxButton on navigationbar header does not recieve cklick event
    I have dafault behaviour header click expand content
    on my button click I have default behaviour, but I would like to have button click event
    Could you provide small sample, if it is possible?

    2. I tryed to do dynamic items ( I read, you are not implemented dynamic items )
    but my problem
    Is it posible to have real bar height? (real – if some item content collapsed, content height excluded from total height)

    It would be nice to have
    -change bar( like add item, collepse item, add item content, … )
    -refresh bar
    -get height (real height)

    Thank you
    Ghennady


    Peter Stoev
    Keymaster

    Hi,

    1. How do you add extra button in the header?
    2. In the default mode, the widget’s content height is equal to the widget’s height – the sum of the headers height.
    3. There are already “add”, “update” and “remove” methods. I suppose that you’ve read an old topic. You may look at the available APIs here: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxnavigationbar/jquery-navigationbar-api.htm

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    2 questions reqarding navigationbar #24935

    gd
    Member

    Hi,

    regarding extra button on header

    var post = CreatePost( i + 1, item.Day, item.Month, item.Year, item.Author, item.Title, item.Content, item.Comments );
    $(“#jqxNavigationBar”).append(post);

    and

    function CreatePost( i, day, month, year, author, title, content, comments ) {
    var post = ‘

    ‘ +

    ‘ + day + ‘‘ +
    ‘ + month + ‘‘ +
    ‘ + year + ‘‘ +

    ‘ +
    ” + author + ” +
    ‘Comments(‘ + comments + ‘)’ +
    ” + title + ” +

    ” +

    ” + content +
    ” +

    ‘ +

    ‘ +

    ‘ +
    ‘Petia’ +
    ‘Loading …’ +
    ” +

    ‘ +


    return post;
    }

    button id=’jqxButton’ has click event headler but it never rise

    2 questions reqarding navigationbar #24936

    gd
    Member

    ooo…
    it is unreadable

    2 questions reqarding navigationbar #24938

    gd
    Member

    function CreatePost(i, day, month, year, author, title, content, comments) {
    var post =

    + day +
    + month +
    ‘ + year ‘

    + author +
    Comments(‘ + comments + ‘)
    + title + +

    + content +

    Name
    Loading …

    return post;
    }

    between “var post =” and return post it is one string

    2 questions reqarding navigationbar #24939

    gd
    Member

    could you give some email

    2 questions reqarding navigationbar #25049

    Peter Stoev
    Keymaster

    Hi,

    You may send the sample to support@jqwidgets.com.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.