Questions tagged [collapse]

This tag is deprecated and should not be used, because it lacks discriminating power. Use a tag related to the library that the collapse function belongs to instead.

This tag is deprecated and should not be used. This tag has been deprecated due to lacking discriminating power.
Instead, use a tag related to the library that the collapse function belongs to.

1621 questions
0
votes
1 answer

Bootstrap collapse not collapsing back

I have a page where I have included the (Twitter) bootstrap. On this page I have a prefectly working accordion and within that accordion I have a collapsable div. See the code below:
Bas Slagter
  • 9,630
  • 7
  • 41
  • 70
0
votes
2 answers

JQuery codes for collapse?

I am not an expert in jquery and javascript. I was wondering if you know some codes for expand/collapse with a graphic button on the bottom of the content? I have an example link: http://www.longhollow.com - when you click "Time & Location" on the…
user1717475
  • 201
  • 2
  • 5
  • 9
0
votes
3 answers

Second time clicking div closes and directly opens

I'm working on a menu wich I can expand and collapse. When I click it my code works fine and collapses the div. And if I click again on my open en close div it opens fine also. But The second time doing this procces my div closes and opens directly.…
Robbert
  • 1,174
  • 5
  • 26
  • 53
0
votes
0 answers

QListWidget collapsing/expanding of item's content

Is there any built-in QT-ish way to display only first line of QListWidgetItem text and full content when doubleclicking? Current behaviour: Desired behaviour: Of course I can create new class that inherits from QListWidgetItem and overload mouse…
Moomin
  • 1,606
  • 5
  • 25
  • 45
0
votes
1 answer

Jquery show div reversed

I am building a simple website with jQuery and I have a small question: I have the following program: $(document).ready(function() { $('#nr1').click(function() { var $this = $(this); if ($this.hasClass("clicked-once")) { …
Niek Jonkman
  • 481
  • 4
  • 10
  • 22
0
votes
1 answer

jquery collapse: how to change style and change time open/close function

Good day to all, I'm using this plugin http://webcloud.se/jQuery-Collapse/ to add it on my website. Now I have tried to change the style of the header.. But it seems It can't be overridden, I'm referring to the text. And about the jquery function..…
Boy Pasmo
  • 6,923
  • 9
  • 35
  • 55
0
votes
2 answers

Treeview - Event on Node Click but not Expansion in Visual Basic (VS 2012 V11)

I'm trying to make a help file in Visual Basic. I've decided to go the route of replicating the old style help files with a TreeView panel, to the left, and a RichTextbox , on the right, of the form. (This set-up looks like the help file in…
user2348797
  • 353
  • 4
  • 9
  • 21
0
votes
1 answer

jqgrid treegrid cant collapsing and expanding

Can anyone explain to me what i may be done wrong? My treegrid is : var grid = $("#account"); jQuery(function($){ grid.jqGrid({ url: 'someurl', datatype: 'json', height: 'auto', …
aramadhani
  • 53
  • 2
  • 13
0
votes
1 answer

How do I implement a text box that expands (and collapses) upon a touch

Thanks for any advice on how to achieve this for a mobile website that runs on all browsers!
Marc Winter
  • 11
  • 1
  • 2
0
votes
3 answers

jquery collapse using image as trigger

I have a simple jQuery collapsible table, where the header row is the trigger to toggle the data i want to show/hide. What I'm after is to have an image within the header row and use this as the trigger, rather than the row itself. Here is an…
JustBaron
  • 2,229
  • 7
  • 23
  • 33
0
votes
2 answers

add class when click on a div

I'm trying to make a sidebar with a navigation menu that will expand/collapse when I click on a div. $(document).ready(function() { $('.btn-nav').click(function(){ $('.sidebar').addClass('expand'); }, function(){ …
Ruud Luijten
  • 125
  • 2
  • 12
0
votes
0 answers

Tracking collapse state of jQuery mobile, collapsible content,

I have implemented a collapsable list in jQuery Mobile. I am trying to develop a variable that is simply set to true or false depending on weather or not any element on the list is expanded (in other words it would only be false every element on the…
Ben Pearce
  • 6,162
  • 16
  • 64
  • 122
0
votes
2 answers

How to show the content of a jQuery text collapse when pressing enter?

This is my jQuery function (that works) that when I click it, it my text appears: $(function() { $(".slide_down01").click(function () { var $this = $(this), id = $this.attr("id"), div = $("." + id); if(…
0
votes
1 answer

win32 treeview handle expand or collapse event in the treeview wndproc not it's parent

I'm working with the tree control i wanted to handle item expansion or collapsing, finally i found that the tree send' an notification TVN_ITEMEXPANDING to it's parent window, as mentioned in this page…
ahmedsafan86
  • 1,677
  • 1
  • 26
  • 46
0
votes
1 answer

Collapsible / Sliding "Tray" (Div)

Slide right to left? http://www.learningjquery.com/2009/02/slide-elements-in-different-directions I've been jumping between the above trying to get my "tray" to work to no avail. Part of the problem is I don't want one of the divs to disappear…
Lorenzo
  • 673
  • 4
  • 10
  • 20
1 2 3
99
100