jQuery: The Write Less, Do More JavaScript Library

First jquery use - problem with collapsing treeview

View: New views
3 Messages — Rating Filter:   Alert me  

First jquery use - problem with collapsing treeview

by Richard Grevers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
for my first adventure in jquery, I am attempting to implement the
collapsing treeview found at http://be.twixt.us/jquery/treeViewCollapsed.php
in an existing site. I created a static test page at
http://www.quirky.co.nz/dsales/test.html

It is only working partially - the divs of class tvca are not being
inserted (dragonfly does not show them in the Dom as it does in the
sample page.
Dragonfly confirms that the jquery script is being loaded ok, but
there are no js errors in the console.
Can anyone see where I have gone wrong?

Re: First jquery use - problem with collapsing treeview

by Jörn Zaefferer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Give this fork a try:
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/

Jörn

On Thu, Jul 24, 2008 at 12:26 PM, Richard Grevers
<richard.grevers@...> wrote:

>
> Hi,
> for my first adventure in jquery, I am attempting to implement the
> collapsing treeview found at http://be.twixt.us/jquery/treeViewCollapsed.php
> in an existing site. I created a static test page at
> http://www.quirky.co.nz/dsales/test.html
>
> It is only working partially - the divs of class tvca are not being
> inserted (dragonfly does not show them in the Dom as it does in the
> sample page.
> Dragonfly confirms that the jquery script is being loaded ok, but
> there are no js errors in the console.
> Can anyone see where I have gone wrong?
>

Re: First jquery use - problem with collapsing treeview

by Richard Grevers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks Jörn,
but having already altered the code which produces the category list
to deliver what is needed for one list I don't really want to have to
start again - I'd rather get what I have working if possible.

On Jul 24, 11:48 pm, "Jörn Zaefferer" <joern.zaeffe...@...>
wrote:

> Give this fork a try:http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
>
> Jörn
>
> On Thu, Jul 24, 2008 at 12:26 PM, Richard Grevers
>
>
>
> <richard.grev...@...> wrote:
>
> > Hi,
> > for my first adventure in jquery, I am attempting to implement the
> > collapsing treeview found athttp://be.twixt.us/jquery/treeViewCollapsed.php
> > in an existing site. I created a static test page at
> >http://www.quirky.co.nz/dsales/test.html
>
> > It is only working partially - the divs of class tvca are not being
> > inserted (dragonfly does not show them in the Dom as it does in the
> > sample page.
> > Dragonfly confirms that the jquery script is being loaded ok, but
> > there are no js errors in the console.
> > Can anyone see where I have gone wrong?