accordion

Collapse accordion horizontally on large screens and vertically on small screens

淺唱寂寞╮ 提交于 2019-12-11 07:28:33
问题 On this Answer is a great solution for the horizontal collapse: Bootstrap 3.0 Collapse Horizontally But the layout I am working on has that accordion slide under the div to the left of it for responsive view which then looks visually bad. Is it possible to have the accordion change orientation and slide downward in the SM and XS sizing. I modified the code a little on this fiddle: http://jsfiddle.net/kylebellamy/q9GLR/176/ But the other issue I'm seeing is that the text is also rotated inside

Bootstrap3 accordion table not working on IOS mobile

天大地大妈咪最大 提交于 2019-12-11 06:53:18
问题 I have an accordion table working fine on all devices and browsers but not working at all in ios mobile. the solutions I found are only for div's and using href but in my case I really need to use tables with several columns. Here you have the code http://jsfiddle.net/k3yrnsux/ I'm using Boostrap 3. Can someone help? <div class="table-content"> <table id="table-collapse" class="table table-responsive table-hover table-striped" style="border-collapse:collapse;"> <thead> <tr> <th>#</th> <th

jQuery Accordion dynamically add more sections?

孤街浪徒 提交于 2019-12-11 06:37:19
问题 On my ASP.net MVC 3.0 I have a View looks in that i have a section of code <div id="accordion"> @Html.Action("Action", "Controller") </div> @Ajax.ActionLink("Add Another Content", "Action", "Controller", new AjaxOptions { UpdateTargetId = "accordion", InsertionMode = InsertionMode.InsertAfter, HttpMethod = "POST" }, new { @class = "standard button", id = "AddAnother" }) The Generated HTML markup for the above code will look like this <div id="accordion"> <h3><a href="#"> Title</a> </h3> <div>

LinkButton not firing OnClick event in Accordion

有些话、适合烂在心里 提交于 2019-12-11 06:14:23
问题 I have not been able to get the break point I have on LinkButtonDelete_Click to fire. Is there a trick to dealing with buttons inside of AJAX Accordions? Thank you. <cc1:Accordion ID="Accordion1" runat="server" DataSourceID="ObjectDataSource1" SelectedIndex="-1" RequireOpenedPane="false"> <HeaderTemplate> <asp:Label ID="LabelDisplayName" runat="server" Text='<%#Bind("FirstName") % >'></asp:Label> </HeaderTemplate> <ContentTemplate> <asp:LinkButton ID="LinkButtonDelete" runat="server" OnClick=

Can't make jQ UI accordion work w/ cookie after jQ/UI upgrade

醉酒当歌 提交于 2019-12-11 05:09:28
问题 I have this piece of code, that uses cookies to make jquery accordion selection persist trough refresh The problem is that it only works with jQuery UI 1.7.2 and jQuery JavaScript Library v1.4.1 If i update to jQuery UI - v1.10.0 and jQuery JavaScript Library v1.9.0, it doesn't persist anymore (no errors, just not persisting accordion selection across page loads) Here is the code $( function() { var cookieName = 'stickyAccordion'; $( '#accordion' ).accordion( { active: ( $.cookies.get(

how can I collapse a specific part of an accordion styled on page load

一个人想着一个人 提交于 2019-12-11 04:41:08
问题 I have got links from several pages linking to a specific page where my accordion grid is. And on page load I want the target part of the accordion grid to collapse automatically for the user. Take for example: Page A and Page B. Page A is where the user is coming from to view something on Page B. Page B has an accordion with 4 (e.g 1,2,3 & 4) parts. If the user click on link 2 from Page A to Page B, the number 2 part of the accordion should collapse for the user to see. Find below the codes:

Accordion with a link to external resource

梦想与她 提交于 2019-12-11 04:02:56
问题 I am trying to have an accordion with whole header DIV clickable which also includes a link which does not influence accordion status but instead open an external link in new a tab/windows. but if I do this, header is capturing click event on my link and it toggles accordion status only. Example code: <div class="accordion" id="accordion2"> <div class="accordion-group"> <div class="accordion-heading accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> <a

Angular UI bootstrap accordian - expand creates scrollbar and page “jump”

ぐ巨炮叔叔 提交于 2019-12-11 03:12:48
问题 I'm using the angular ui bootstrap accordian. Everything works great except when I expand an accordian section that is big enough to cause the browser to show a scrollbar for the page, the whole page jolts to the left by the amount of the width of the scrollbar. When the accordian is small enough that a scrollbar isn't needed, the page jolts back to the original size. I'm not sure what to do about this...does this require a hack, or is there some elegant solution using accordian settings or

Collapse plugin: Only show one panel at a time

荒凉一梦 提交于 2019-12-11 02:55:12
问题 I'm having a hard time figuring this out, and maybe I'm just not searching the right terms. I have a regular twitter collapse panel. I only want it to show one panel at a time. By default, it allows you to open all of the panels at once, but I want it to automatically close any other open panel when you expand another one. http://twitter.github.com/bootstrap/javascript.html#collapse <div class="accordion" id="monogram-acc"> <div class="accordion-group"> <div class="accordion-heading"> <div

Angular ui-bootstrap accordion not working

こ雲淡風輕ζ 提交于 2019-12-11 02:51:35
问题 An example copied directly from http://angular-ui.github.io/bootstrap/ Does not work at all, neither locally nor in plunker. Don't know why. Bootstrap CSS is loaded, so is ui-bootstrap-tpls.min.js and angular.min.js (angular itself is working just fine though). Here's the plunker: http://plnkr.co/edit/15GWWFSUwab4VmaxfFPf I am getting no js errors in a browser, yet it's not working. Please help. I need to get this working on my website (i.e. the accordion doesn't work even when I write my own