jQuery UI Widgets › Forums › Navigation › NavigationBar, ToolBar, NavBar › 2 questions reqarding navigationbar
Tagged: html accordion, Navigation Bar
This topic contains 6 replies, has 2 voices, and was last updated by Peter Stoev 11 years, 8 months ago.
-
Author
-
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
GhennadyHi,
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.htmBest Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/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
ooo…
it is unreadablefunction 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
could you give some email
Hi,
You may send the sample to support@jqwidgets.com.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.