[jQuery] Re: links in accordion plugin?

2008-03-27 Thread Jörn Zaefferer


Kevin Evans schrieb:
Thanks for the help, I'm quite a newbie at jQuery so not sure how to 
add that. I attempted to add that code to the jquery code the top in 
the head
I can highly recommend to learn a few jQuery basics then. Until then, 
try this:


jQuery('#list1b').accordion({
autoheight: false,
header: .accordion-heading
});

Jörn


[jQuery] Re: links in accordion plugin?

2008-03-26 Thread Jörn Zaefferer


Netherscurial schrieb:

Hello,

I have a page at http://www.consultwebs.com/videoNEW.htm which uses
the accordion plugin to run those tabs you see where the video is. It
works fine but none of the links works in the tabs, and some of them
disappear. Like under the Example Videos on Consultwebs' Client
Websites. heading. When you click on the links it closes the tab
instead of going to the page I want.

How do I get the links working in the paragraphs?
  
Try to specify the header to use for the accordion via the 
header-option, see http://docs.jquery.com/UI/Accordion/accordion#options


Jörn


[jQuery] Re: links in accordion plugin?

2008-03-26 Thread Kevin Evans
Thanks for the help, I'm quite a newbie at jQuery so not sure how to  
add that. I attempted to add that code to the jquery code the top in  
the head

I have this now:

script type=text/javascript
jQuery().ready(function(){
// simple accordion
jQuery('#list1b').accordion({
autoheight: false
});

$(.ui-accordion).bind(changeaccordion, function(event, ui) {
   ui.accordion-heading // internal widget instance
});
});
/script


It does not seem to be working, but I know I'm doing something wrong.

my heading code is like this:

a class=accordion-headingExample Videos on Consultwebs#39; Client  
Websites./a
Thanks again for the help!

Kevin


On Mar 26, 2008, at 2:38 PM, Jörn Zaefferer wrote:



 Try to specify the header to use for the accordion via the header- 
 option, see http://docs.jquery.com/UI/Accordion/accordion#options

 Jörn