chocolatechip-ui-jq
chocolatechip-ui-jq copied to clipboard
Is there a way to create a segmentedcontrol in the navbar and toolbar using chui for jQuery?
I have been studying the segmented controls examples that came with the jQuery download. I can get these to work when they are put inside of a
However, if I try and put the
Uncaught TypeError: Cannot call method 'refresh' of undefined chui.js:864 $.fn.UICreateSegmentedControl.segmentedControl chui.js:864 e.extend.each jquery-1.7.2.min.js:2 e.fn.e.each jquery-1.7.2.min.js:2 $.fn.UICreateSegmentedControl.segmentedControl chui.js:861 f.Callbacks.o jquery-1.7.2.min.js:2 f.Callbacks.p.fireWith jquery-1.7.2.min.js:2 e.extend.ready jquery-1.7.2.min.js:2 c.addEventListener.B
Is it possible to use the segmented controls within the
Thank you as always!
Well, technically that shouldn't be an issue. For example the segmented paging control is in the navbar and manages the panels fine. It looks like you entered markup in your post, but that got stripped out. If you put a line break and for spaces in front of your code, Github will preserve the tags and formatting, something like this:
<navbar>
<h1>Title</h1>
</navbar>
What is the purpose you are trying to achieve with a segmented control in the navbar? Do you want to toggle several subviews? The paging control already accomplishes this.