Re: [jQuery] extending functions?

2006-10-04 Thread Franck Marcia
OK

I modified Accordion to be more flexible:
http://fmarcia.info/jquery/accordion.html.

You can now set an action when an item is clicked, shown or hidden and
you can choose the animation speed.

Any comment appreciated.

Cheers,

Franck.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] extending functions?

2006-10-04 Thread sivy
Hi Franck (et al),

You know, I had a whole post written as to how I needed to be able to
extend the accordion object somehow, but in the process realized that
it would be easier to explain what it is I'm trying to do. I've been
asked to create a wizard version of the accordion, such that:

1) each section contains some group of form elements, and a next button.
The form must validate before the next button can be clicked (and
indeed, the next button is not even active until the form validates).
Following sections are un-clickable at this point.

2) The next button opens the next section of the accordion. The previous
section remains clickable.

3) As each section is completed, they become clickable (you can go back
but not forward).

4) There is a main set of ok/cancel buttons at the bottom, of which the
ok button can only be clicked after the whole form validates.

Clear as mud? I'd be open to any ideas on implementation. I did actually
get 90% of this done in moo.fx, but could net get the accordion to even
work right in IE, so that kind of made the rest of my work moot. (no
pun intended.)

Cheers,

--Steve 

  Original Message 
 Subject: Re: [jQuery] extending functions?
 From: Franck Marcia [EMAIL PROTECTED]
 Date: Tue, October 03, 2006 11:34 pm
 To: jQuery Discussion. discuss@jquery.com
 
 2006/10/4, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Is it possible to extend this accordion such that I maintain its
  features and can then extend it with new features?
 
 
 The code of accordion (dian?) is pretty locked... means, no way to extend it.
 
 But I could integrate your new features if you want. Tell me.
 
 Cheers,
 
 Franck.
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] extending functions?

2006-10-04 Thread Rey Bango
In FF, it looks very nice.

In IE 7, on the accordian with options, there's a very noticeable color 
change in the text from dark to light which doesn't happen in FF.

Also, the accordian w/ options also has a very distracting flicker to it 
  when you select a div to expand or contract.

Other than that, it looks good!

Rey...

Franck Marcia wrote:
 OK
 
 I modified Accordion to be more flexible:
 http://fmarcia.info/jquery/accordion.html.
 
 You can now set an action when an item is clicked, shown or hidden and
 you can choose the animation speed.
 
 Any comment appreciated.
 
 Cheers,
 
 Franck.
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] extending functions?

2006-10-04 Thread Franck Marcia
2006/10/4, Rey Bango [EMAIL PROTECTED]:
 In FF, it looks very nice.

 In IE 7, on the accordian with options, there's a very noticeable color
 change in the text from dark to light which doesn't happen in FF.

 Also, the accordian w/ options also has a very distracting flicker to it
   when you select a div to expand or contract.


Thanks, Rey

Both of them are caused by the onClick option. I tried to demonstrate
its use. Bad idea as I just did not test it with IE7 :-(

Now, it just logs every action.

And I tested it with IE5.5, IE6, IE7RC1, FF1.5.0.7 and Opera 9.02.

Franck.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] extending functions?

2006-10-04 Thread Rey Bango
Much smoother Franck. It works great in IE7 as well.

Great work!

Rey,..

Franck Marcia wrote:
 2006/10/4, Rey Bango [EMAIL PROTECTED]:
 
In FF, it looks very nice.

In IE 7, on the accordian with options, there's a very noticeable color
change in the text from dark to light which doesn't happen in FF.

Also, the accordian w/ options also has a very distracting flicker to it
  when you select a div to expand or contract.

 
 
 Thanks, Rey
 
 Both of them are caused by the onClick option. I tried to demonstrate
 its use. Bad idea as I just did not test it with IE7 :-(
 
 Now, it just logs every action.
 
 And I tested it with IE5.5, IE6, IE7RC1, FF1.5.0.7 and Opera 9.02.
 
 Franck.
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/