[jQuery] Re: (treeview) Collapsable hitarea

2009-11-22 Thread kemikTc
You have to unbind the click event on the span. Here's what I did: $("#categories").treeview().find('span.[your span class]').unbind ('click').click(); //replace [your span class] with the class of your nodes. By default they are 'folder' the +/- will still collapse and expand, but the label ()

[jQuery] Re: (treeview) Collapsable hitarea

2009-11-22 Thread kemikTc
The removes the click event from folders $("#treeview_id").treeview().find('span.folder').unbind('click'); If you want to add your own click event, here's how: $("#treeview_id").treeview().find('span.folder').unbind('click').click (function(){ //do something here });

[jQuery] Re: (treeview) Question/Request regarding toggle and links

2009-11-22 Thread kemikTc
$("#categories").treeview().find('span.[insert your node classname here]').unbind('click') if you want to add your own onclick event: $("#categories").treeview().find('span.[insert your node classname here]').unbind('click').click(function(){ //do something });

[jQuery] Re: (treeview) "expandable / collapsable" classes badly assigned in inactive tabs (jquery ui tabs)

2009-11-13 Thread jawosis
Anyone having noticed the same issue? On 12 nov, 23:16, jawosis wrote: > Hi, > > I noticed that the "expandable-hitarea" and "collapsable-hitarea" > classes are not assigned as they should in inactive tabs when using > jquery ui tabs. > The lists in these inactive tabs are expanded by default (ju

[jQuery] Re: (treeview) Collapsable hitarea

2009-11-11 Thread Ryan
Anyone? On Nov 4, 1:43 pm, Ryan wrote: > I have atreeviewin my application and all works pretty well with it. > I want the toggle +/- button to work as it does by default, but want > the rest of the node to not trigger the collapse/expand event. How > would one go about preventing this behavior?

[jQuery] Re: Treeview - Custom hyperlink click event

2009-10-17 Thread philsturgeon
It's not a normal event as its handled by the plugin. Here is the code im using: http://pastie.org/658654 On Oct 12, 1:47 am, Shawn wrote: > are you returning false from your event handler?  That *should* stop all > other event processing. > > You could also try to capture the event objec

[jQuery] Re: Treeview - Custom hyperlink click event

2009-10-11 Thread Shawn
are you returning false from your event handler? That *should* stop all other event processing. You could also try to capture the event object (i.e. .click(function(theEvent) { }); ) and then make use of the .stopPropagation() method. Neither trick will do you any good if the treeview's

[jQuery] Re: [treeview] Can I apply classes to async trees??

2009-08-25 Thread nsbk
Thanks!! got it working... On 24 ago, 13:49, Jörn Zaefferer wrote: > You can use the "classes" property in the JSON response. These are > added to each node. > > Jörn > > On Mon, Aug 24, 2009 at 12:12 PM, nsbk wrote: > > > Hi! > > > I'm currently working on a project in wich I use a pair of tree

[jQuery] Re: [treeview] Can I apply classes to async trees??

2009-08-24 Thread Jörn Zaefferer
You can use the "classes" property in the JSON response. These are added to each node. Jörn On Mon, Aug 24, 2009 at 12:12 PM, nsbk wrote: > > Hi! > > I'm currently working on a project in wich I use a pair of trees. The > thing is that one of them is too big and IE6 (it needs to be > supported :

[jQuery] Re: [treeview] Collapsed tree will flash before collapsing. Anyway to avoid it?

2009-07-30 Thread Brett Ritter
On Wed, Jul 29, 2009 at 7:39 AM, Pablo wrote: > Is there a way to avoid that, thus showing only the collapsed tree > from the start? Or to make it invisible until the moment it is > collapsed? (grumble) I saw a great tutorial on this just a few days ago and now I can't find it. Perhaps someone h

[jQuery] Re: [treeview] Basic documentation - but where?

2009-07-27 Thread SuneR
Oh my giddy aunt, it was me that was blind. Thanks mate. /S On Jul 27, 3:25 pm, Jörn Zaefferer wrote: > That page as an options > tab:http://docs.jquery.com/Plugins/Treeview/treeview#toptions > > Jörn > > On Mon, Jul 27, 2009 at 3:21 PM, SuneR wrote: > > > Hi, > > > I have today started to mes

[jQuery] Re: [treeview] Basic documentation - but where?

2009-07-27 Thread Jörn Zaefferer
That page as an options tab: http://docs.jquery.com/Plugins/Treeview/treeview#toptions Jörn On Mon, Jul 27, 2009 at 3:21 PM, SuneR wrote: > > Hi, > > I have today started to mess around with the Treeview plugin, but I > have not been able to find a decent documentation. Am I just looking > in th

[jQuery] Re: treeview, can only let "+""-" expand tree?

2009-07-24 Thread Mario Soto
Renewind this post. I have the asame problem. If any knows the solution, please post, or guide to proper answer. Thanks.

[jQuery] Re: Treeview plugin for navigation - solution

2009-07-21 Thread piquet
I've been having trouble with the persist:cookies generally and was pleased to see your edited post regarding 1.4.1. However, I'm now using lazy loading with the treeview.async.js model and find that that the treeview.js 1.4.1 appears to break completely. Should I expect the persist:cookies opt

[jQuery] Re: Treeview plugin for navigation - solution

2009-07-16 Thread Matt B.
Sorry for the repeat posts, but the link above was incorrect (I'm at a different computer right now). This is the revision I used: http://dev.jquery.com/browser/trunk/plugins/treeview/jquery.treeview.js?rev=4685 ...although there appear to be more recent revisions...I'm not sure which is best.

[jQuery] Re: Treeview plugin for navigation - solution

2009-07-16 Thread Matt B.
Edit: I realized that "cookieOptions" is actually a version 1.4.1 feature, only available from the SVN. The feature has not yet been added to the minified version, so you need to grab the uncompressed version here: http://dev.jquery.com/browser/trunk/plugins/treeview/jquery.treeview.js So it's n

[jQuery] Re: TreeView - New Color

2009-07-13 Thread Jörn Zaefferer
There is no PSD. You can edit the gif files. Jörn On Mon, Jul 13, 2009 at 3:39 PM, Keith wrote: > > Hello, > > Is there a psd or some other kind of editable image that someone can > send me so I can make different colored themes? > > Thanks. > Keith

[jQuery] Re: treeview: using links that don't toggle

2009-07-08 Thread BaBna
Would this work? $(function(){ $(".collapsable a").click(function(e){ e.preventDefault(); }); }); On Jul 8, 1:42 pm, Cedd Burge wrote: > Hi. > > I have a treeview with links in that navigate to other pages when > clicked. I didn't want these to cause toggling when they were clicked. > M

[jQuery] Re: TreeView Problems

2009-07-08 Thread Keith
Thanks Jon. This works perfectly. On Jul 7, 1:17 pm, Jon Banner wrote: > i had a similar problem this morning. I updated the call to the write cookie > to include a path (i was getting a cookie written for each page in the app) > > line 172 in the uncompressed plugin. > > $.cookie(settings.cook

[jQuery] Re: TreeView Problems

2009-07-07 Thread Jon Banner
i had a similar problem this morning. I updated the call to the write cookie to include a path (i was getting a cookie written for each page in the app) line 172 in the uncompressed plugin. $.cookie(settings.cookieId, data.join(""), { path: '/' } ); Jon 2009/7/6 Keith > > Here is the menu tha

[jQuery] Re: Treeview, async, persist location

2009-07-06 Thread Victor Jonsson
Update. I've been searching and reading all over the web and haven't been able to solve this. One way I've read about is * Save IDs in cookie when the user expands nodes, and then re-open them on next page-load. (that would do fine if i would know how to do it :) ) I don't know how to bind the

[jQuery] Re: treeview, can only let "+""-" expand tree?

2009-07-04 Thread waseem sabjee
method 1. +Folder 1 so yeah the folder must not be in the same hyperlink as the + sign that should do it. On Sat, Jul 4, 2009 at 6:12 PM, ljnet wrote: > > for example: > > +folder1 > +folder2 > > only when click the "+" sign, tree expands. > how to do that? > > thanks!

[jQuery] Re: TreeView Cookie Persistence Problem

2009-07-02 Thread Keith
Can anyone point me in the right direction with this problem? TIA On Jun 30, 1:38 pm, Keith wrote: > Hello, > > I'm having some issues using the cookie persistence, it appears that > as long as the link is in the jsp directory the menu renders properly, > however if the link is not in the jsp di

[jQuery] Re: TreeView question

2009-06-23 Thread Russell
Any help appreciated! On Jun 18, 9:39 am, GTGeek88 wrote: > I'm looking at using the treeview plugin by Jorn.  What I'm wondering > is how to get folders added at a particular spot and how to manage > folders by dragging them around (or in some other fashion).  Perhaps > there are some plugins t

[jQuery] Re: [treeview]

2009-06-04 Thread Jörn Zaefferer
The "Add!"-button adds new elements to the tree, to demo the add-option. So there definitely is a relation. Jörn On Thu, Jun 4, 2009 at 7:41 PM, Phillip Senn wrote: > > If you look at > http://docs.jquery.com/Plugins/Treeview/treeview > the demo is confusing because it shows a folder called New

[jQuery] Re: [treeview] - is rtl supported?

2009-05-07 Thread Jörn Zaefferer
Nope, not supported. Nor likely to be added anytime soon. Jörn On Thu, May 7, 2009 at 1:56 PM, orcaman wrote: > > Hi all, > > I'm using the cool jQuery plugin Treeview, and I am trying to get it > to work rtl instead of the default ltr. I am aiming for a "real rtl" > in a sense that the tree no

[jQuery] Re: [treeview] what are the possible options for this plugin?

2009-04-30 Thread Avi Tzurel
This is the best website I know explaining this great plugin. http://abeautifulsite.net/notebook/58 -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Marv Sent: Wednesday, April 29, 2009 9:09 PM To: jQuery (English) Subject: [jQuery] [t

[jQuery] Re: Treeview Plugin -- What are the options???

2009-04-29 Thread Jörn Zaefferer
The documentation is here: http://docs.jquery.com/Plugins/Treeview Options is here: http://docs.jquery.com/Plugins/Treeview/treeview#toptions Jörn On Wed, Apr 29, 2009 at 5:27 AM, Marv wrote: > > The documentation doesn't seem to detail the optoins and the demos use > some but without any expla

[jQuery] Re: [treeview] More than three levels?

2009-02-26 Thread eemece2
Sorry, the question is about treeview plugin. (the subject included [treeview], the plugin name what I'm asking about, but now I don't see that name in it.) Thanks, eemece2 eemece2 ha escrito: > Hello! > > Can be used more than three levels? > I'm using 4 levels, but treeview only show links to

[jQuery] Re: treeview custom icon

2009-02-09 Thread jQuery Lover
; I would like to distinguish one folder from all other folders. > > > Date: Thu, 5 Feb 2009 19:20:01 +0530 > Subject: [jQuery] Re: treeview custom icon > From: tareq.m...@gmail.com > To: jquery-en@googlegroups.com > > Yes it is possible . >

[jQuery] Re: treeview custom icon

2009-02-07 Thread Anders Viklund
This works fine for replacing the file image, but how can I replace the collapsable and expandable folder images? I would like to distinguish one folder from all other folders. Date: Thu, 5 Feb 2009 19:20:01 +0530 Subject: [jQuery] Re: treeview custom icon From: tareq.m...@gmail.com To: jquery

[jQuery] Re: treeview custom icon

2009-02-05 Thread jQuery Lover
I thinks the plugin already added the image, so you have to replace it. As far as I can remember treeview adds icons using CSS so you should give to the entry a specific id/class and specify a new icon in your CSS file... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On

[jQuery] Re: treeview custom icon

2009-02-05 Thread Mohd.Tareq
Yes it is possible . suppose u have a tree [ A ] Branches are [ B,C,D ] then if u wana add icon on B branch , then give a id of B branch div $('#Bid').prepend(''); hope this will help u. regards Ragx. On Thu, Feb 5, 2009 at 6:52 PM, viklund_anders wrote: > > Hi I would like to have a custom icon

[jQuery] Re: [treeview]

2009-01-30 Thread himanshu khatri
exactly the point.. the file is there...its just being blocked or something but the webhost... On Fri, Jan 30, 2009 at 9:11 PM, Jörn Zaefferer < joern.zaeffe...@googlemail.com> wrote: > > The jquery.cookie.js file is missing. You didn't upload it, or it > links to the wrong location. > > Jörn

[jQuery] Re: [treeview]

2009-01-30 Thread Jörn Zaefferer
The jquery.cookie.js file is missing. You didn't upload it, or it links to the wrong location. Jörn On Fri, Jan 30, 2009 at 3:48 PM, himanshu khatri wrote: > jorn didnt quiet get what you meant... > the only hint i have found is > http://drupal.org/node/271463 > > i hope this helps ot

[jQuery] Re: [treeview]

2009-01-30 Thread himanshu khatri
jorn didnt quiet get what you meant... the only hint i have found is http://drupal.org/node/271463 i hope this helps others aswell who have this error>> $.cookie is not a function On Fri, Jan 30, 2009 at 7:30 PM, Jörn Zaefferer < joern.zaeffe...@googlemail.com> wrote: > > See http://

[jQuery] Re: [treeview]

2009-01-30 Thread Jörn Zaefferer
See http://www.trinityindia.org/jquery.cookie.js Jörn On Fri, Jan 30, 2009 at 11:05 AM, kryptos wrote: > > Greets ... > > when i run the tree~menu locally .it works like a breeze. > when i load it up on the webserverit freezes.firebug tells me > the error is at line 176 in >> jq

[jQuery] Re: [Treeview] CSS Styling Open Item

2009-01-21 Thread betweenbrain
I have succeeded in finding a way to add a custom style to open Treeview items, toggle their states when clicked, and preserve that state with the use of an expression. The working code, albeit ugly, if as follows: $(document).ready(function(){ var count = 0;

[jQuery] Re: treeview with ajax

2009-01-21 Thread SteelRing
if you're thinking of building a tree with AJAX (collapsed initially, expand with AJAX call) then you need to be using the additional async.js that requires the returned data (for the branches) in JSON. iswariak wrote: > Hi > > I am using treeview with AJAX. > > But my problem is that when I combi

[jQuery] Re: [treeview] Expand the trees on the image and no link

2009-01-19 Thread jQuery Lover
Doesn't first demo example do exactly what you want??? See http://jquery.bassistance.de/treeview/demo/ ===>> Sample 0 - navigation Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 3:24 PM, cv wrote: > > > In fact I use the following BLUG-in: > ht

[jQuery] Re: [treeview] Expand the trees on the image and no link

2009-01-18 Thread cv
In fact I use the following BLUG-in: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ It displays a treeview with each branch image (file and a +) and title. When you click on the image this place or the wind industry. That suits me. When you click on the title of this shipment on

[jQuery] Re: [treeview] Expand the trees on the image and no link

2009-01-12 Thread jQuery Lover
Did I understand you correctly. Your html code is like this: link And you want to show tree content if user clicks on an image, but follows the link on anchor click? If so you should give you img's an "id" (or class, but id's are faster) and do this: $(document).ready(function(){ // Assume

[jQuery] Re: [treeview] Would like to limit toggle to the plus/minus icons

2008-12-29 Thread walkinthere
I'd like to do the opposite. Clicking any link in the tree (whether a parent or leaf) should load the page AND toggle to expand/collapse. In the demo, it LOOKS like this works. But the demo does not use real links, so the page isn't reloaded with another. You can see this on zunga.orgfree.com

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-15 Thread neokio
On Dec 15, 3:48 pm, "Michael Geary" wrote: > > > I'm not sure if it's the best solution, but a friend of > > > mine helped me overcome the issue i was experiencing. > > > We added a line of CSS to hidetreeviewon load, and then set > > > it to display in the demo.js file once everything was loaded

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread Michael Geary
> > I'm not sure if it's the best solution, but a friend of > > mine helped me overcome the issue i was experiencing. > > We added a line of CSS to hidetreeviewon load, and then set > > it to display in the demo.js file once everything was loaded > > $("#browser").treeview({ > >         animated

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread Jeffrey Kretz
r rankings. Consequently, the bots were changed to reflect this. JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of neokio Sent: Sunday, December 14, 2008 9:51 PM To: jQuery (English) Subject: [jQuery] Re: [treeview] Brief flash of exp

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread neokio
> I'm not sure if it's the best solution, but a friend of mine helped me > overcome the issue i was experiencing. > We added a line of CSS to hidetreeviewon load, and then set it to > display in the demo.js file once everything was loaded > $("#browser").treeview({ >         animated: "fast", >  

[jQuery] Re: [treeview] Would like to limit toggle to the plus/minus icons

2008-12-12 Thread Jörn Zaefferer
The treeview binds click events on span-elements. If you remove or replace those, you should get the desired behaviour. Jörn On Fri, Dec 12, 2008 at 4:55 PM, Syntaxis wrote: > > A few feature requests: > > 1. I want to be able to click on the text inside an LI-tag without > toggling the tree. Ju

[jQuery] Re: Treeview

2008-12-09 Thread neokio
not sure this will help or not, but generally speaking one can improve browser performance on repeating backgrounds by making the repeating image at least 16 or 32px wide. the image will compress nearly as well, and the browser will only have to render the cloning operation a dozen times rather th

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

2008-12-02 Thread alex tait
hello there... like that you have added add and delete nodes how would i get a json data object to create the initial tree ? thanks! On Wed, Nov 26, 2008 at 1:15 PM, Dirceu Barquette < [EMAIL PROTECTED]> wrote: > You are welcome!! :D > > 2008/11/26 alextait <[EMAIL PROTECTED]> > > >> thanks ve

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-01 Thread Dirceu Barquette
sorry. my english is terrible... I didn't understand the example you give... Another issue: I would like your opinion about my other project: http://isabeladraw.sourceforge.net Comments are very welcome!!! thanks Dirceu Barquette 2008/12/1 Andrew <[EMAIL PROTECTED]> > > Thanks Dirceu, but i'

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-11-30 Thread Andrew
Thanks Dirceu, but i'm otherwise happy to stick with treeview. I'm not sure if it's the best solution, but a friend of mine helped me overcome the issue i was experiencing. We added a line of CSS to hide treeview on load, and then set it to display in the demo.js file once everything was loaded i

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-11-29 Thread Dirceu Barquette
Try my plugin. http://sourceforge.net/projects/jqtreevial/ 2008/11/29 Andrew <[EMAIL PROTECTED]> > > Hi > > I've got the treeview plugin set to be collapsed on load. This works > generally, but every now and then, the page loads and the tree appears > fully expanded, before shrinking back to it's

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

2008-11-26 Thread Dirceu Barquette
You are welcome!! :D 2008/11/26 alextait <[EMAIL PROTECTED]> > > 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

[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

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

2008-11-23 Thread Dirceu Barquette
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! > > Unfortu

[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 colla

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

2008-11-21 Thread alex tait
Thanks for your help guys. Direct decen I will take a look at the plugin you have been developing. On Thu, Nov 20, 2008 at 4:50 PM, Andy Matthews <[EMAIL PROTECTED]>wrote: > > Without seeing the rest of the code, the > .hitarea is a CSS selector for > direct descendants. There's generally som

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

2008-11-20 Thread Andy Matthews
Without seeing the rest of the code, the > .hitarea is a CSS selector for direct descendants. There's generally something on the left of the angle bracket such as : body > .hitarea Which would apply ONLY to those objects with a class of hitarea directly inside the body tag. -Original Messag

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

2008-11-20 Thread Dirceu Barquette
Hi, see http://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.

[jQuery] Re: TreeView Plugin by Jörn Zaefferer (Asyn chronous mode)

2008-11-19 Thread garthos
Hi, I try to understand the code of your plugin, and i don't understand where you define the toggle option ? can you detail this option please ? Where is the link between callback function and your code ? help me please :) On 10 nov, 15:02, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > In that

[jQuery] Re: [treeview] Suggestion: function callback after async update

2008-11-13 Thread Dirceu Barquette
Is the above code to my plugin (jqTreevial)? If yes, thanks a lot!!! If no, thanks to!!! Barquette (http://sourceforge.net/projects/jqtreevial/) 2008/11/13 Dominik Deobald <[EMAIL PROTECTED]> > > Just a quick suggestion for future versions of treeview: > > I've added > >if (typeo

[jQuery] Re: [treeview] Don't close subtree when clicking on tree "header"

2008-11-13 Thread Dominik Deobald
Great, that was the hint I needed. I changed the code of jquery.treeview.js (line 66-) to: if (settings.toggleonspan !== false) { this.filter(":has(>ul):not(:has(>a))").find(">span").click(function (event) {

[jQuery] Re: [treeview] Don't close subtree when clicking on tree "header"

2008-11-13 Thread Jörn Zaefferer
It depends on the markup. This is selector for that click: ":has(>ul):not(:has(>a))").find(">span") So remove or replace the span on the parent item. Jörn On Thu, Nov 13, 2008 at 4:06 PM, Dominik Deobald <[EMAIL PROTECTED]> wrote: > > I'm using treeview in one of my projects. > > Treeview automa

[jQuery] Re: TreeView Plugin by Jörn Zaefferer (Asynch ronous mode)

2008-11-10 Thread Jörn Zaefferer
In that case just bind a click event to each item, or the tree itself and check event.target. Jörn On Mon, Nov 10, 2008 at 2:41 PM, garthos <[EMAIL PROTECTED]> wrote: > > With the toggle-option, i can call a function just for the folder > item. > i want to call a function for the file item too. >

[jQuery] Re: TreeView Plugin by Jörn Zaefferer (Asyn chronous mode)

2008-11-10 Thread garthos
With the toggle-option, i can call a function just for the folder item. i want to call a function for the file item too. i think it's not possible Can you help me ?

[jQuery] Re: TreeView Plugin by Jörn Zaefferer (Asynch ronous mode)

2008-10-28 Thread Jörn Zaefferer
Take a look at the toggle-option. Jörn On Tue, Oct 28, 2008 at 12:12 PM, garthos <[EMAIL PROTECTED]> wrote: > > Hi ! > > I need your help ! > > I want to create an asynchronous treeview with the jQuery plugin but > the documentation for asynchrone mode doesn't exist > > My problem is simple

[jQuery] Re: treeview: options 'animated' and 'speed'

2008-10-15 Thread Jörn Zaefferer
Documentation is here: http://docs.jquery.com/Plugins/Treeview/treeview#toptions Its likely that there was another issue causing trouble, please post a testpage. Jörn On Wed, Oct 15, 2008 at 11:39 AM, pjdevries <[EMAIL PROTECTED]> wrote: > > In an older version of my application, I applied optio

[jQuery] Re: [treeview] is there a way to extend the click element?

2008-10-14 Thread Jörn Zaefferer
Right. Autoupdated documentation browsers that use the content from the wiki are a high priority! We're slowly getting somewhere. Jörn On Tue, Oct 14, 2008 at 10:12 PM, Rainaer <[EMAIL PROTECTED]> wrote: > > Exactly!!! Thank you... I'm finding that the documentation is not very > easy to navigate

[jQuery] Re: [treeview] is there a way to extend the click element?

2008-10-14 Thread Rainaer
Exactly!!! Thank you... I'm finding that the documentation is not very easy to navigate on the jquery site... the information I wanted was there all along, I just couldn't find it. On Tue, Oct 14, 2008 at 2:36 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Nevermind, your reply, pointing to tog

[jQuery] Re: [treeview] is there a way to extend the click element?

2008-10-14 Thread Jörn Zaefferer
Nevermind, your reply, pointing to toggle, should be what he was looking for. Jörn On Tue, Oct 14, 2008 at 8:56 PM, Eric <[EMAIL PROTECTED]> wrote: > > FAIL. :-( > > On Oct 14, 2:31 pm, Eric <[EMAIL PROTECTED]> wrote: >> or at least I tried to change the subject... hrm... >> >> second try. >> >

[jQuery] Re: [Treeview] is there a way to extend the click element?

2008-10-14 Thread Eric
I'm sorry, I don't have an answer, but I have edited the subject line of the message so that the people that *can* help can better identify the message. I did notice that there's a "toggle:" callback function. Check out the documentation (click over to the Options tab): http://docs.jquery.com/Plu

[jQuery] Re: TreeView plugin

2008-10-14 Thread Jörn Zaefferer
Could you provide some more details on your requirements? Jörn On Mon, Oct 13, 2008 at 6:16 PM, jorgeborgia <[EMAIL PROTECTED]> wrote: > > Even considering the TV plugin works nice ,we need some specific > features like > handling each graph (+,- ) instead of using an unique image.Plus we > need

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread Jörn Zaefferer
With "optimized enough" I meant applying tricks like lazy-loading and event delegation to the current treeview plugin. It doesn't do that much anyway, so there is no point in writing a seperate plugin. Event delegation would be rather straight forward, but the actual issue is the DOM manipulation:

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread pjdevries
Unfortunately my JavaScript knowledge is not up to par to understand exactly what's going on when the cookie persistence is processed, so I fail to grasp what's going on exactly. But doesn't it make sense to have treeview itself set the expanded nodes to 'collapsible' once they have been expanded?

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread Jörn Zaefferer
Not really. "prerendered" is a performance optimization, and as such a trade-off. The best solution would be a treeview that is optimized enough itself to not needing the prerendered option. But that isn't a workaround and involves much more work. Jörn On Tue, Oct 7, 2008 at 9:59 AM, pjdevries <[

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread pjdevries
Thanks Jörn. I was afraid you might say something like that :( Apart from not knowing how to do that, it will also make my servers side code more complex. Can you think of any other nifty work around? On Oct 6, 7:01 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > If you use prerendered, you ha

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-06 Thread Jörn Zaefferer
If you use prerendered, you have to read the cookie on the serverside and render the tree accordingly. Otherwise you have to disable prerendered to be able to use cookie persistence. Jörn On Mon, Oct 6, 2008 at 6:08 PM, pjdevries <[EMAIL PROTECTED]> wrote: > > I'm using treeview (version 1.4.1) w

[jQuery] Re: treeview

2008-09-29 Thread [EMAIL PROTECTED]
Hi Jorn thanks for responding. I tried using the minified version of jquery but it didnt solve the problem. the menu is in the generated source code of www.bdct.nhs.uk (its a php includes file) I didnt think that it would be too big.

[jQuery] Re: treeview

2008-09-26 Thread Jörn Zaefferer
Random errors in IE6 can be caused by the packed version of jQuery. Try to use minified(+gzip) to get around that. Treeview works best with "small" trees. How big is your menu? I can't find it on the URL you provided. Jörn On Fri, Sep 26, 2008 at 2:21 PM, bdct <[EMAIL PROTECTED]> wrote: > > Hell

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-23 Thread Jörn Zaefferer
Thanks, now I can see the issue. No idea yet whats causing it. Jörn On Tue, Sep 23, 2008 at 8:49 AM, mrhankey <[EMAIL PROTECTED]> wrote: > > Here is a trimmed down test page that exhibits the problem. > test.cloudbase.org.nz/node/127 > > The icons seem to display differently on IE6 and IE7 too. >

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-22 Thread mrhankey
Here is a trimmed down test page that exhibits the problem. test.cloudbase.org.nz/node/127 The icons seem to display differently on IE6 and IE7 too. On Sep 22, 7:39 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Can you build a testpage that doesn't require any browser plugins to > install fi

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-22 Thread Jörn Zaefferer
Can you build a testpage that doesn't require any browser plugins to install first? Jörn On Mon, Sep 22, 2008 at 7:19 AM, mrhankey <[EMAIL PROTECTED]> wrote: > > I also just noticed that the problem goes away when I turn animation > off (although the plus/minus icons still display erratically on

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread mrhankey
I also just noticed that the problem goes away when I turn animation off (although the plus/minus icons still display erratically on the last parent node in the list). I have left animation on for now so that you can see the problem. On Sep 22, 12:10 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrot

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread mrhankey
I forgot to mention that you need to have the Google Earth plugin installed first. Google Earth retrieves a kml file from which the list is built. On Sep 22, 12:10 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I don't see any checkboxed-tree on that page. Below the google earth > box are only

[jQuery] Re: [treeview] newbie...

2008-09-21 Thread Jörn Zaefferer
Have you looked at the async treeview? http://jquery.bassistance.de/treeview/demo/async.html http://dynamicdrive.com/dynamicindex1/treeview/treeview_suppliment.htm Jörn On Sun, Sep 21, 2008 at 10:53 AM, GARIL <[EMAIL PROTECTED]> wrote: > > What I'm trying to accomplish with the code below is popu

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread Jörn Zaefferer
I don't see any checkboxed-tree on that page. Below the google earth box are only navigation and print links. Jörn On Sat, Sep 20, 2008 at 10:43 PM, mrhankey <[EMAIL PROTECTED]> wrote: > > The page is: > test.cloudbase.org.nz/node/126 > > The list is below the google earth plugin. It is populated

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-20 Thread mrhankey
The page is: test.cloudbase.org.nz/node/126 The list is below the google earth plugin. It is populated by a script in the page. It is running in Drupal 5.7 but I have patched it up to jQuery 1.2.6 Cheers On Sep 21, 12:40 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Could you post a testpag

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-20 Thread Jörn Zaefferer
Could you post a testpage? On Sat, Sep 20, 2008 at 9:35 AM, mrhankey <[EMAIL PROTECTED]> wrote: > > I have set up a tree using Treeview where each list item includes a > checkbox input. This works perfectly on Firefox but with IE 6 & 7 > every time I expand a tree branch the checkboxes in the bra

[jQuery] Re: [TreeView] Lazy-load

2008-08-28 Thread Jörn Zaefferer
You can get the latest revision, which includes the enhanced async stuff, here: http://dev.jquery.com/browser/trunk/plugins/treeview/ Jörn On Thu, Aug 28, 2008 at 3:21 PM, debussy007 <[EMAIL PROTECTED]> wrote: > > > Hello, > > I use the Tree plusgin of Bassassistance but I noticed the files in th

[jQuery] Re: [TreeView] - How to collapse/expand with a link?

2008-08-25 Thread [EMAIL PROTECTED]
Hi, Jörn, thanks alot for the reply. Yes, that's exactly what I've tried. This icon of mine lines up with other elements and it disrupted the layout. I didn't spend too much time on that because I thought it might be possible to call the collapse action from anywhere But no sweat, then I know

[jQuery] Re: [treeview] Trigger event...

2008-08-21 Thread Stan Lemon
In my current setup the click() event does get bound first and does return false, the treeview click handler still kicks in. It looks like line 67 handles the action, I wonder if that could be placed under some conditional in a future version? Thinking out loud here... Pax, SL On Aug 21, 4:28

[jQuery] Re: [treeview] Trigger event...

2008-08-21 Thread Jörn Zaefferer
Try binding your click-event first, returning false from the function you add. Apply the treeview afterwards - in theory, the tree shouldn't do anything after your click function got called. Jörn On Thu, Aug 21, 2008 at 9:56 PM, Stan Lemon <[EMAIL PROTECTED]> wrote: > > Jorn, > Greetings! Love y

[jQuery] Re: [TreeView] - How to collapse/expand with a link?

2008-08-19 Thread Jörn Zaefferer
Hi Victor, the treecontrol feature doesn't provide lots of flexibility, and so far that worked well enough. I'm avoiding adding more features to it as long as possible. In this case, have you tried adding the necessary additional links the treecontrol expects, while hiding all of them but the col

[jQuery] Re: [treeview]

2008-06-30 Thread cookie
Hi, Did you figure this out? I'm having the same problem.. On Jun 12, 3:47 pm, Daniel <[EMAIL PROTECTED]> wrote: > Hi > > I've got some troubles withtreeview: > > http://reunion-industrial.es/reiphp/productos.php > > First time it loads it Works perfectly, but when I click on one > subsubsubfa

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-29 Thread SirHoundalot
Doh - so obvious! Thanks for this! On Jun 27, 1:57 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > To avoid putting it all into one unreadable line. > > Jörn > > On Fri, Jun 27, 2008 at 3:00 AM, Alexsandro_xpt <[EMAIL PROTECTED]> wrote: > > > Jorn, Why you always declare a new JS var? > > > --

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-27 Thread Jörn Zaefferer
To avoid putting it all into one unreadable line. Jörn On Fri, Jun 27, 2008 at 3:00 AM, Alexsandro_xpt <[EMAIL PROTECTED]> wrote: > > Jorn, Why you always declare a new JS var? > > > -- > www.alexsandro.com.br > > > > On 22 jun, 16:14, "Jörn Zaefferer" <[EMAIL PROTECTED]> > wrote: >> Just use jQ

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-26 Thread Alexsandro_xpt
Jorn, Why you always declare a new JS var? -- www.alexsandro.com.br On 22 jun, 16:14, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Just use jQuery methods to find the node: > > var node = $("...").appendTo("#products .someNode"); > ... > > Jörn > > On Sun, Jun 22, 2008 at 2:25 PM, SirHoundal

[jQuery] Re: [treeview] Combining treeview and sortable (and droppable)

2008-06-25 Thread Richard D. Worth
According to http://docs.jquery.com/UI/Roadmap this is slated for jQuery UI 1.8. - Richard On Wed, Jun 25, 2008 at 3:25 AM, TheChrisPratt <[EMAIL PROTECTED]> wrote: > > >Snef schrieb: > >> Is the treeview usable together with sortable (and droppable)? And if > >> so, how can I accomplish it? >

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-22 Thread Jörn Zaefferer
Just use jQuery methods to find the node: var node = $("...").appendTo("#products .someNode"); ... Jörn On Sun, Jun 22, 2008 at 2:25 PM, SirHoundalot <[EMAIL PROTECTED]> wrote: > > Hi all > > I'm using the async version of the treeview plugin by Jörn Zaefferer. > I'd really like the ability to

  1   2   >