Questions tagged [collapsable]

203 questions
101
votes
5 answers

Pure CSS collapse/expand div

I have a pure CSS collapsable div which is based on someone else's code who uses the :target psuedoclass. What I am trying to set up is a page with 12+ questions, and when you click on the + button the answer div expands beneath. I cannot figure out…
dmarvs
  • 1,180
  • 2
  • 8
  • 4
27
votes
1 answer

jquery mobile collapsible and galaxy tab 10.1 json response gives random responses

Fairly new to jquery mobile and new to parsing json - have done much research to no avail. Have tried 10sec delay in settimeout function My app works correctly on my samsung galaxy s2 but on my samsung galaxy tablet 10.1 it does the following. Using…
cb52
  • 271
  • 2
  • 3
22
votes
2 answers

Visual Studio 2013 C++ outlining / collapsing if/else/while code regions

Apparently in VS13 they removed the outlining section in Option -> Text Editor -> C++ -> Formatting. Is there a way of collapsing if/while/etc statements in VS2013 C++? I know about the C# plugin and already got that, but I'm searching for a…
AndrewVS2013
  • 648
  • 1
  • 6
  • 14
15
votes
1 answer

jquery.fullPage.js how to enable scroll within a div without affecting the sections scroll

Right, this is not easy to explain... I'm using jquery.fullPage.js for a website. I have a few collapsable panel hosting a big amount of copy which requires scroll. My problem begins when I enable the scroll on this panel because it sends me to the…
Gonzalo Fernandez
  • 235
  • 1
  • 3
  • 8
14
votes
1 answer

Twitter Bootstrap: Collapse only certain menu items into drop-down

I'm wondering how to create a Twitter Bootstrap navbar that collapses items in that menu, one or two items at a time upon resizing the browser window. Most navbars I've seen have collapsed the entire navbar into one drop-down; basically hiding…
12
votes
2 answers

Showing partial text in bootstrap collapse accordion

I want to replace a script I have that allows users to "read more" with the Bootstrap collapse accordion. My problem is that as far as I've seen the accordion is either open or closed. Does anyone know about an option to show some text in closed…
LizardKG
  • 391
  • 1
  • 3
  • 10
11
votes
1 answer

Collapsable Sections: [Assert] Unable to determine new global row index for preReloadFirstVisibleRow (0)

I'm implementing collapsable section headers in a UITableViewController. Here's how I determine how many rows to show per section: override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return…
iOSProgrammingIsFun
  • 1,343
  • 1
  • 13
  • 28
11
votes
2 answers

Why does a table in a collapsible Bootstrap panel change width?

I have put together a Bootply demonstration here: http://www.bootply.com/Ss2aAnzqlZ. It's a panel with a table as per http://getbootstrap.com/components/#panels-tables. However, I've also made the panel collapsible. The collapsing bit works OK, but…
Phil Cairns
  • 733
  • 4
  • 14
8
votes
4 answers

Jquery Mobile: Dynamically change the text of the header of a collapsible div?

Place:

How can I dynamically change the text of the

header ('Place:') in the collapsible div? I…

Yuval A.
  • 5,007
  • 9
  • 47
  • 59
8
votes
3 answers

Expandable GridView with view recycling in Android

I am trying to implement a android activity where I have sections of items (for example car brands and their models). I want to be able to display the items in a grid (e.g. fixed to 3 columns) and each of the grids can be collapsed. Actually I want…
forkch
  • 137
  • 1
  • 1
  • 7
6
votes
2 answers

Collapsible table with data table plug-in

I am using data table plug-in for pagination..Now I want collapsible feature on click of every row of table... This is a snippet of my code : 1 pppol Approved
SweetWisher ツ
  • 7,240
  • 2
  • 27
  • 68
5
votes
2 answers

jQuery Mobile: make a collapsible element 100% width/NOT inset

Is there a way to make a collapsible element/set in jQuery Mobile not inset? By default it makes the collapsible element as an inset item. data-inset="false" does not alter the behavior.
cjcee
  • 75
  • 2
  • 7
5
votes
1 answer

Unable to expand and close collapsable on click

I have been on this for a little while and here is whats going on. I have an array in mobx Storage that I Would like to display in a collapsable view within a Flatlist in my React native component. The problem here is that when I click on it it does…
5
votes
1 answer

bootstrap: collapse-group within collapse-group

I've used the example from jsfiddle 68RXP collapse-group to create an expandable div: HTML:

Heading

Lorem ipsum

View details…

Adam Matan
  • 107,447
  • 124
  • 346
  • 512
5
votes
2 answers

Knockout, JQMobile, and generating a collapsible-set doesn't quite seem to work right

I've checked out a number of samples, but none are quite the same as what I'm trying to do. What I've got works, mostly, but it doesn't quite work right. Here's a fiddle to illustrate the issue. http://jsfiddle.net/5yA6G/4/ Notice that the top set…
DarinH
  • 4,768
  • 2
  • 20
  • 32
1
2 3
13 14