accordion

jquery Accordion "destroy" not working

I'm using jQuery Accordion and would like to make a printable page where all the "accordions" are expanded. I found the .accordion( 'destroy' ) option. However, when I implement it only the existing visible div is show after click the destroy button. Any help would be appreciated. <link type="text/css" href="/js/theme/ui.all.css" rel=...

Layering problem with jQuery accordion and IE7

I have a strange problem with the jQuery accordion plugin and IE7 (and maybe earlier, haven't tested there). I'm using a customized jQuery UI theme built with ThemeRoller. I've tweaked it some to adjust colors, margins, and borders. The accordion is located inside a DIV which is, in turn, nested inside my main content. Simplified mar...

Embeded Flash in asp.net accordian performs poorly

I'm using the ajax toolkit accordion extender and I notice it performs a little "funky" when I try to embed some flash in the content sections. You can see what I have working now at : http://kristinsconfections.com/gallery.aspx. As you can see when you toggle the accordion it's a little choppy. I'm pulling the flash slideshow from fl...

How to get the size of a Flex Accordion child?

I am calculating the maxHeight of an Image embedded in a Canvas-based component that is part of a Canvas-based component that is the child of an Accordion. I need to get the actual number of pixels available to the currently selected child Container. Oddly enough, measuredHeight and getExplicitOrMeasuredHeight() give the design-time siz...

Hide jQuery Accordion while loading

I am testing a site build with a slow connection and I noticed the jQuery Accordion stays expanded for a long time, until the rest of the site is loaded, and then finally collapses. Not very pretty. I was wondering how I could keep it collapsed through the loading process and only expand when clicked. I am working with the standalone ...

jQuery vertical hover accordion

Hi, What jQuery plugins exist for a vertical hover accordion? I am looking for a plugin to be used for a menu where: sub-menu items will only expand after a second being hovered over (so something that perhaps uses the hoverIntent plugin); it can degrade gracefully if Javascript is turned off; and will collapse/close any sub-menu item...

jquery accordion change event missing newContent

Hi there, I'm using jQuery UI accordion for the first time and I think I'm missing something here. I wrote the following code: <div id="theAccordion"> <h2><a href="#">Header1</a></h2> <div>old content 1</div> <h2><a href="#">Header2</a></h2> <div>old content 2</div> <h2><a href="#">Header3</a...

jQuery UI accordion with autoHeight=true has unnecessary scrollbar on non-default panes

I am having trouble with jQuery accordion. When I create a content pane where the non-default pane has more content than default pane, and autoHeight is true, this provides nice animations when switching panes, but the non-default pane gets a scrollbar which I don't want. You can see this in action by going to http://jqueryui.com/themer...

scrollTo doesn't scroll to correct position

I'm trying to use jQuery.scrollTo plugin with accordion (where one block expands after clicking on it and another contracts), but it doesn't scroll to the right position. Here is a demo: pelmeshkin.com/temp/scrolltoaccoridon As you can see, the first click scrolls correctly, but every next one goes further than it should. It seems to...

jQuery Accordion open collapsed

Hi, using jquery v1.3.2 and jQuery UI 1.7.1 I have 1 tab control with 3 tabs in it. Each tab contains 1 accordion control. $(document).ready(function() { $('#acc1').accordion({ collapsible: true, autoHeight: false }); $('#acc1').accordion({ collapsible: true, autoHeight: false }); $('#acc1').accordion({ collapsible: true, autoHe...

How to make FF and IE act the same when pressing the back button with hash marks#

Im using a jquery accordian that uses hash marks to differentiate between open accordion tabs. demo page http://sandbox.unwrongest.com/jquery.accordion/ When clicking through a few tabs then using the back button, Firefox only displays hash values changing. In IE the hash values don't change with the back button and goes directly to...

Change bg image when toggling an accordion menu...

I have an ccordion menu, and each menu header has a little arrow img that changes when the menu slides down and up. This is the code so far: $(document).ready(function() { $("div.menu_body").hide(); $("#menuheader div.menu_head div.detailsPanel").toggle(function() { $(this).addClass("detailsPanelSelected").parent(this).next("div....

How to get the Accordion in ASP.Net Ajax Toolkit to resize?

Hi, Does anyone have any ideas how to get the Accordion control in the ASP.Net Ajax Control Toolkit to automatically resize so that it fills the DIV element it is contained in, and will react to that element being resized? Thanks! Martin ...

Jquery accordion and thickbox clash

I am having a problem using thickbox and accordion on the same page ie none of them work. I have checked that they both use the latest version of jquery. Below are my includes. There are no other jscript files included. I am using this on a wordpress template if this can cause an issue. <script type="text/javascript" src="<?php bloginfo...

How do I connect to events when using templates?

I'm new to Silverlight/XAML/C# and havn't figured out all the concepts yet. I'm using the Accordion control together with some templates, the XAML looks like this: <layoutToolkit:Accordion x:Name="MatchesAccordion" SelectionMode="ZeroOrMore" Width="Auto" SizeChanged="MatchesAccordion_SizeChanged"> <layoutToolkit:Accordion.HeaderTemp...

How to implement displaying the requested named anchor using JQuery / JavaScript / CSS

The page has a container div which holds multiple content divs. Each content div has a named anchor. Only one of the content divs is displayed at a time: Example: <style> .lurk { display: none; } </style> <div class="container"> <div id="c1"> <a name="#c1">One</a> is the loneliest number. </div> <div id="c2" class="lurk"> ...

Drag & Drop involving accordion panes (VB/ASP)

Hello all, I have an accordion control in ASP 3.5, with multiple accordion panes. For the sake of simplicity, I will only focus on one pane as the problem is pane specific. Using JQuery, I created a draggable function and applied it to my .drag cssclass. On Page_Load, I create a bunch of image objects and assign that class to them, in ad...

Add items to a jQuery Accordion with jquery

Hi, I'am using the jQuery accordion plugin to make an accordion of some data. Then i want the user to be able to add more data to the accordian. I have setup the accordion to function properly, then ive made a function that prepends a "list item" to the accordion that matches the accordion semantics. Is it possible to "update" the acco...

set active accordion in Jquery

I am using MVC with C# also with jquery. I am using an jquery accordion to see the list of employee details. On clicking an accordion it'll show the employee details. When i click Edit of an Employee, it takes to the Employee details page and after save it'll have the EmployeeDetailsID in session. When i come back to the accordion page...

Get Hidden Field Value from Active jquery accordion

I am using MVC with C#. I need to get the value from the hidden field of the active accordion in $(document).ready function. ...