[jQuery] attributes setting appending rather than clearing

2008-12-22 Thread alextait

I am setting the click attribute of an anchor tag using query on the
document ready event.

Once the user has clicked on this link I am attempting to change the
click event to call another method than the one initialy setup.
Instead of replacing the old method is simply appends the new method
so that both methods are called .

any help would be great !

thanks


[jQuery] Product Category Browser

2008-12-16 Thread alextait

I am attempting to make a product category browser within jquery and I
am trying to find a good starting point.

The trees I have looked at so far are

1. treeview
2. simpletree
3. dynatree

Dyna tree is the one I am most interested in since it focuses on the
dynamic loading of nodes/sub categories after a user has clicked on a
parent category. (the sub cats are generated via an ajax call
returning a JSON data object - results set)

Treeview worked fine until I came to the point where I wanted to add
new nodes which I found hard to implement.

Any advice would be very much appreciated.

Thanks

Alex



[jQuery] Re: treeview pluging issues - .find(">.hitarea")

2008-11-26 Thread alextait

thanks very much!

:)

On Nov 24, 4:12 am, "Dirceu Barquette" <[EMAIL PROTECTED]>
wrote:
> Hi alextait,
>
> there is a new release for jqtreeview plugin 
> at:http://downloads.sourceforge.net/jqtreevial/jqtreevial-pack-0.3.zip
>
> I've added insert and delete methods.
>
> Dirceu Barquette
>
> 2008/11/21 alextait <[EMAIL PROTECTED]>
>
>
>
> > I have taken a look at your plugin... that fantastic!
>
> > Unfortunately it does not seem to do what i need.
>
> > Since our category/product data is so huge... I am trying to create a
> > tree that will populate the child nodes only when the parent node is
> > clicked.
>
> > Once loaded into the dom the user can collapse or expand nodes using
> > jquery.
>
> > Will continue trying to get the treeview code to work for now.
>
> > thanks very much for your help!
>
> > :)
>
> > On 20 Nov, 16:32, "Dirceu Barquette" <[EMAIL PROTECTED]>
> > wrote:
> > > Hi,
> > > seehttp://sourceforge.net/projects/jqtreevial/
>
> > > I've been developing this plugin. Not complete yet, but is functional.
> > > Dirceu
>
> > > 2008/11/20 alextait <[EMAIL PROTECTED]>
>
> > > > I am fairly new to jquery and I am trying to create a product/category
> > > > browser/tree using the treeview plugin and ajax.
>
> > > > My first simple issue is this peice of code i am trying to understand.
>
> > > > .find(">.hitarea")
>
> > > > what is happening here ? I understand the find functino but not sure
> > > > about the chevron usage ?
>
> > > > the overall problem is this.
>
> > > > On viewing my list. if i click on one of the initial categories the
> > > > second sub categories show up fine. I can then contract this sub list
> > > > if i wish. If i leave this open and click on one of the sub categories
> > > > for some reason i cannot then contract it again.
>
> > > > I have looked into the treeview plugin code and found that the
> > > > "toggler" method which would normaly just contract the list branch
> > > > fires twice causing it to hide again.
>
> > > > If anyone has any idea on thie general problem that would be great.
>
> > > > thanks for any help in advance


[jQuery] Re: treeview pluging issues - .find(">.hitarea")

2008-11-21 Thread alextait

I have taken a look at your plugin... that fantastic!

Unfortunately it does not seem to do what i need.

Since our category/product data is so huge... I am trying to create a
tree that will populate the child nodes only when the parent node is
clicked.

Once loaded into the dom the user can collapse or expand nodes using
jquery.

Will continue trying to get the treeview code to work for now.

thanks very much for your help!

:)

On 20 Nov, 16:32, "Dirceu Barquette" <[EMAIL PROTECTED]>
wrote:
> Hi,
> seehttp://sourceforge.net/projects/jqtreevial/
>
> I've been developing this plugin. Not complete yet, but is functional.
> Dirceu
>
> 2008/11/20 alextait <[EMAIL PROTECTED]>
>
>
>
> > I am fairly new to jquery and I am trying to create a product/category
> > browser/tree using the treeview plugin and ajax.
>
> > My first simple issue is this peice of code i am trying to understand.
>
> > .find(">.hitarea")
>
> > what is happening here ? I understand the find functino but not sure
> > about the chevron usage ?
>
> > the overall problem is this.
>
> > On viewing my list. if i click on one of the initial categories the
> > second sub categories show up fine. I can then contract this sub list
> > if i wish. If i leave this open and click on one of the sub categories
> > for some reason i cannot then contract it again.
>
> > I have looked into the treeview plugin code and found that the
> > "toggler" method which would normaly just contract the list branch
> > fires twice causing it to hide again.
>
> > If anyone has any idea on thie general problem that would be great.
>
> > thanks for any help in advance


[jQuery] treeview pluging issues - .find(">.hitarea")

2008-11-20 Thread alextait

I am fairly new to jquery and I am trying to create a product/category
browser/tree using the treeview plugin and ajax.

My first simple issue is this peice of code i am trying to understand.

.find(">.hitarea")

what is happening here ? I understand the find functino but not sure
about the chevron usage ?

the overall problem is this.

On viewing my list. if i click on one of the initial categories the
second sub categories show up fine. I can then contract this sub list
if i wish. If i leave this open and click on one of the sub categories
for some reason i cannot then contract it again.

I have looked into the treeview plugin code and found that the
"toggler" method which would normaly just contract the list branch
fires twice causing it to hide again.

If anyone has any idea on thie general problem that would be great.

thanks for any help in advance