I'd like to create my own type of accordian however I am finding
difficulty with creating the query for selection.
Say I have a div with another two divs inside - I will call this
parent div as the SideBox.
The first child div is the header and it is the one that will be
clicked - I will call thi
A user can select multiple options (through checkboxes). Upon submit,
the jQuery loads the accordian menu out of the selected options (9). I
am trying to show the first one as visible and the rest as collapsed.
Now the problem is .. div:lt(1).show makes the first option show (but
it is not the fir
I would do this differently.
heading one
This is content for heading one
heading one
This is content for heading one
heading one
This is content for heading one
I would write the script as follows
this is a basic Jquery accordion with click event. can easily be converted
to
Thankyou very much Charlie, for the .find modfication, the working
example and the explanation of what is and what isn't a child or
sibling
Well done!
Thankyou from Josh H
On Jun 8, 8:16 pm, Charlie wrote:
> the reason it doesn't work is ul.links isn't a sibling of the li that click
> occurs
the reason it doesn't work is ul.links isn't a sibling of the li that
click occurs on, it is nested inside that li and therefore is a child.
In the Learning jQuery example, the div's that are being opened and
closed are siblings of the h3 that is being clicked
.next() will look for a sibling
Hello, I was wondering how to make
http://www.learningjquery.com/2007/03/accordion-madness
by Karl, work with an unordered lis instead of divs. I tried the below
but did not work. I think what I have done here ('.links:visible');
looks plain wrong (I can't put a class or an Id in there right??)
Hii guys,
Tell me how to change a div of an accordian on a
click of some other button
I also want to prevent the default event of changing div on click on
header
How do I do it?
Please help in urgency!!
what can i do to allow users to click on the accordion header to
navigate to a page?
the reason is, i am using accordions for my navigation. for some of
the pages, there are subpages so an accordian is used. but for others,
there are no subpages and i want users to be able to click the
"header" o
How can I change the default on the accordian to leave the Heading
open that I've chosen instead of reverting back to heading one?
I have 8 headings, heading 1 stays open with the content below
When I click on heading 3 and select from the content below it
defaults back to heading 1
Thanks,
Mini
Has anyone done a radiobuttonlist with accordion in that you select a value
and the accordian shows right underneath the selected radio button? I'd
only just need to show one collapsed panel. I want to shove in an IFrame
into that panel to show the user a website / page scrape in a login form.
I have been trying to implent an accodian that requires a click to open and
a click to close.
This is working fine here:
http://jamespfarrell.com/dev/consult3fixedheight.htm
all of the divs that contain the data are being returned as the same
height as the largest of them all...
so I added
hi all,
Im trying to produce a menu where if the list item has a class of selected
it will remain "open"...
the menu im using is
/store/Apparel/arsenal-football Arsenal
/store/Books/arsenal-footb
I am making an accordian menu with 4 main buttons. All buttons should
be closed at start. When you click 1 button the content area should
slide down and then the content should fade-in. I have for the most
part written the script to create this effect however i see some
glitches with it. When y
Hi,
I can't seem to figure out why IE6 crashes with this accordian script.
Here is a live demo: http://tiny.cc/TIQ11
http://code.jquery.com/jquery-
latest.js">
http://dev.jquery.com/view/trunk/
ui/ui.core.js">
http://dev.jquery.com/view/trunk/
ui/ui.accordion.js">
$(document
Using accordian 1.5 and jquery 1.1.2 * $Rev: 3353 $
In IE7 I keep getting the following error when clicking on one of the
menu items. it works in FF2 although it stutters a bit.
ERRORS:
errors at: elem[name] = value;
segment of code in jquery:
name = name.repl
Hi,
I am not sure if this is talked about elsewhere, but I have a problem
using accordian 1.5 with the interface plugin.
The problem is that when I click to open a different part of the
accordian it does not show up. Following it in firebug the code jumps
to the interface plugin at line 177 "com
16 matches
Mail list logo