duh ... there was a dumb <li> left in there. However, that wasn't the
problem - the source validates, but no accordion. anyone have any
ideas what I might check?

---------- Forwarded message ----------
From: Daniel McBrearty <[EMAIL PROTECTED]>
Date: Jan 17, 2007 11:52 PM
Subject: Re: can't get accordion to work
To: "jQuery Discussion." <discuss@jquery.com>


additionally, I threw some alert boxes into the accordion source, to
see if the code is actually getting there (haven't quite got the hang
of firebug yet ... )

// create private scope with $ alias for jQuery
(function($) {

        alert("here"); // this fires

        // save reference to plugin method
        var plugin = $.fn.Accordion = function(settings) {
                  alert("or here"); // so does this ...

yet still no accordian ...


On 1/17/07, Daniel McBrearty <[EMAIL PROTECTED]> wrote:
> hi,
>
> I am trying to get this to fire, but no joy ...
>
> My code is very similar to the example code:
>
> <div class="tx_acc">
>   <h3>sitetext</h3>
>      <p>to do</p>
>      <p>done</p>
>
>   </li>
>   <h3>phrases</h3>
> </div>
>
> .
> .
> .
>
> $(function() { $(".tx_acc").Accordion(); });
>
>
> but nothing happens. Just a plain set of h3's/paras.
>
> If I change to
>
> $(function() { $(".tx_acc").hide(); });
>
> this works, so I know we are selecting.
>
> The Accordion library is definitely there, I include it after jquery
> itself, before the code where I initialise. I can get it and see it
> with the browser.
>
> what else can I check? using Firefox 1.5 under Ubuntu.
>
>
> --
> Daniel McBrearty
> email : danielmcbrearty at gmail.com
> www.engoi.com : the multi - language vocab trainer
> BTW : 0873928131
>


--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

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

Reply via email to