<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuery plugin: Treeview</title>
	<atom:link href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/feed/" rel="self" type="application/rss+xml" />
	<link>http://bassistance.de</link>
	<description>Jörn Zaefferer on Bass, Geeks and Rock'n'Roll</description>
	<lastBuildDate>Fri, 23 Jul 2010 15:57:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-95358</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Wed, 06 Feb 2008 21:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-95358</guid>
		<description>@Mike: Okay, let me know what you come up with.

@Deepak: Thanks! Actually I figured that out by now - I&#039;m just moving the background-position instead of changing it to a different one. You&#039;re welcome to give the latest revision a try - or 1.4 is that is released by then.</description>
		<content:encoded><![CDATA[<p>@Mike: Okay, let me know what you come up with.</p>
<p>@Deepak: Thanks! Actually I figured that out by now &#8211; I&#8217;m just moving the background-position instead of changing it to a different one. You&#8217;re welcome to give the latest revision a try &#8211; or 1.4 is that is released by then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak Kaithwas</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-95251</link>
		<dc:creator>Deepak Kaithwas</dc:creator>
		<pubDate>Wed, 06 Feb 2008 11:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-95251</guid>
		<description>To fix the bug of IE 7 (not working properly collapse and expand)
Just a minor change in jquery.treeview.css

change this to

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-image: none; }

This will work in all browser

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-image: url(../../images/enterprise/spacer.gif); }</description>
		<content:encoded><![CDATA[<p>To fix the bug of IE 7 (not working properly collapse and expand)<br />
Just a minor change in jquery.treeview.css</p>
<p>change this to</p>
<p>.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-image: none; }</p>
<p>This will work in all browser</p>
<p>.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-image: url(../../images/enterprise/spacer.gif); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Sidorov</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-95188</link>
		<dc:creator>Mike Sidorov</dc:creator>
		<pubDate>Wed, 06 Feb 2008 05:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-95188</guid>
		<description>I figured 2 ways of solving this problem:
1. to apply classes AFTER tree was calculated (but it will make apllying twice - 1st when node is added: hidden/shown, 2nd - ater all).
2. to apply classes while adding nodes (so, when we load another node, we apply classes for SPANs and As, then add them to tree).

I&#039;ll look deeply on that.</description>
		<content:encoded><![CDATA[<p>I figured 2 ways of solving this problem:<br />
1. to apply classes AFTER tree was calculated (but it will make apllying twice &#8211; 1st when node is added: hidden/shown, 2nd &#8211; ater all).<br />
2. to apply classes while adding nodes (so, when we load another node, we apply classes for SPANs and As, then add them to tree).</p>
<p>I&#8217;ll look deeply on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-95085</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Tue, 05 Feb 2008 19:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-95085</guid>
		<description>@babar: Your example code didn&#039;t quite make it through the comment system. Could you post it again or drop me a mail? Thanks.

@Mike: Animations and persistence are currently not supported for async trees. I yet have to figure out how to implement them properly. Any help is welcome.</description>
		<content:encoded><![CDATA[<p>@babar: Your example code didn&#8217;t quite make it through the comment system. Could you post it again or drop me a mail? Thanks.</p>
<p>@Mike: Animations and persistence are currently not supported for async trees. I yet have to figure out how to implement them properly. Any help is welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Sidorov</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-95011</link>
		<dc:creator>Mike Sidorov</dc:creator>
		<pubDate>Tue, 05 Feb 2008 11:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-95011</guid>
		<description>One more thing about async trees - the A links, leading to current URL are not marked with &quot;selected&quot; class. And I didn&#039;t figure, how to add it (manual adding after tree is ready doesn&#039;t work).</description>
		<content:encoded><![CDATA[<p>One more thing about async trees &#8211; the A links, leading to current URL are not marked with &#8220;selected&#8221; class. And I didn&#8217;t figure, how to add it (manual adding after tree is ready doesn&#8217;t work).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: babar</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-94879</link>
		<dc:creator>babar</dc:creator>
		<pubDate>Mon, 04 Feb 2008 20:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-94879</guid>
		<description>Hi,

I see a strange rendering bug under firefox2 and i am wondering if the lack of closing div tag at line 82 could be the problem:

this.prepend(&quot;&quot;)...

*where* the hell should be the  inserted ?

tried some places, but no success.

Anyway, thanks for this great piece of code !</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I see a strange rendering bug under firefox2 and i am wondering if the lack of closing div tag at line 82 could be the problem:</p>
<p>this.prepend(&#8220;&#8221;)&#8230;</p>
<p>*where* the hell should be the  inserted ?</p>
<p>tried some places, but no success.</p>
<p>Anyway, thanks for this great piece of code !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-94832</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Mon, 04 Feb 2008 14:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-94832</guid>
		<description>@kanvin: I can&#039;t provide support for other&#039;s tree components. If you need support for this one, a testpage helps a lot.

@Chupa: You could try to add a hover handler that triggers a click event on those div.hitarea elements. That avoids modifying the treeview plugin code.

@fred: The latest revision, soon to be released as 1.4 contains an addon, jquery.treeview.async.js. There is also &lt;a href=&quot;http://dev.jquery.com/view/trunk/plugins/treeview/demo/async.html&quot; rel=&quot;nofollow&quot;&gt;a demo available&lt;/a&gt;. I recommend taking a look at that and let me know how close it is to what you need. If it isn&#039;t what you need, it may help as a reference on how to extend the plugin without modifying its source. In any case you should give &lt;a href=&quot;http://dev.jquery.com/view/trunk/plugins/treeview/&quot; rel=&quot;nofollow&quot;&gt;the 1.4pre&lt;/a&gt; a try.

@John: Changing from &quot;ul&quot; to &quot;ul, ol&quot; would require a lot of code changed. Even if that is provided as an option it gets rather ugly. I&#039;ll try to find an acceptable solution.

The closed folder icon is a nice idea. The icon would be handy.

@NickeL: There are two examples for large trees in the latest revision (coming soon as 1.4). &lt;a href=&quot;http://dev.jquery.com/view/trunk/plugins/treeview/demo/large.html&quot; rel=&quot;nofollow&quot;&gt;One with the usual render approach&lt;/a&gt;, and another &lt;a href=&quot;http://dev.jquery.com/view/trunk/plugins/treeview/demo/large.html&quot; rel=&quot;nofollow&quot;&gt;one with a prerendered tree&lt;/a&gt;. When the prerendered option is used, the plugin assumes that all the additional classes and hitarea elements are already rendered on the serverside, and only the event handlers are added, which should be much faster for large trees. Of course it requires more work on the serverside, eg. the persist option has to reimplemented on the serverside.

@Otto Wyss: The upcoming 1.4 release uses only two images for the tree lines and icons. That makes it much easier to customize them, eg. remove the lines. You can already give the latest revision a try.

The tree control is currently very limited in functionality. That is due to lack of actual requirements, so I aimed for the simplest version and wait until someone provides other usecases - like yours. Though in this case you could just wrap the images with the anchors needed by the treecontrol. Let me know if that works.

@Mike Sidorov: Thats a good suggestion, thanks. &lt;a href=&quot;http://dev.jquery.com/changeset/4630&quot;&gt;I&#039;ve added that&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@kanvin: I can&#8217;t provide support for other&#8217;s tree components. If you need support for this one, a testpage helps a lot.</p>
<p>@Chupa: You could try to add a hover handler that triggers a click event on those div.hitarea elements. That avoids modifying the treeview plugin code.</p>
<p>@fred: The latest revision, soon to be released as 1.4 contains an addon, jquery.treeview.async.js. There is also <a href="http://dev.jquery.com/view/trunk/plugins/treeview/demo/async.html" rel="nofollow">a demo available</a>. I recommend taking a look at that and let me know how close it is to what you need. If it isn&#8217;t what you need, it may help as a reference on how to extend the plugin without modifying its source. In any case you should give <a href="http://dev.jquery.com/view/trunk/plugins/treeview/" rel="nofollow">the 1.4pre</a> a try.</p>
<p>@John: Changing from &#8220;ul&#8221; to &#8220;ul, ol&#8221; would require a lot of code changed. Even if that is provided as an option it gets rather ugly. I&#8217;ll try to find an acceptable solution.</p>
<p>The closed folder icon is a nice idea. The icon would be handy.</p>
<p>@NickeL: There are two examples for large trees in the latest revision (coming soon as 1.4). <a href="http://dev.jquery.com/view/trunk/plugins/treeview/demo/large.html" rel="nofollow">One with the usual render approach</a>, and another <a href="http://dev.jquery.com/view/trunk/plugins/treeview/demo/large.html" rel="nofollow">one with a prerendered tree</a>. When the prerendered option is used, the plugin assumes that all the additional classes and hitarea elements are already rendered on the serverside, and only the event handlers are added, which should be much faster for large trees. Of course it requires more work on the serverside, eg. the persist option has to reimplemented on the serverside.</p>
<p>@Otto Wyss: The upcoming 1.4 release uses only two images for the tree lines and icons. That makes it much easier to customize them, eg. remove the lines. You can already give the latest revision a try.</p>
<p>The tree control is currently very limited in functionality. That is due to lack of actual requirements, so I aimed for the simplest version and wait until someone provides other usecases &#8211; like yours. Though in this case you could just wrap the images with the anchors needed by the treecontrol. Let me know if that works.</p>
<p>@Mike Sidorov: Thats a good suggestion, thanks. <a href="http://dev.jquery.com/changeset/4630">I&#8217;ve added that</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Sidorov</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-94759</link>
		<dc:creator>Mike Sidorov</dc:creator>
		<pubDate>Mon, 04 Feb 2008 06:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-94759</guid>
		<description>Hi there!

Great thing, makes UI coding really simple, thanks.

Only a short request: make async trees with classes: 

if you have static one, you can define class for span (folder of file for filetree), but not in asunc.

The solution - to add something like &lt;code&gt;current.children(&#039;span&#039;).addClass(this.type &#124;&#124; null);&lt;/code&gt;
 in createNode function (where &quot;type&quot; is the  class field for node).

Best regards, Mike S.</description>
		<content:encoded><![CDATA[<p>Hi there!</p>
<p>Great thing, makes UI coding really simple, thanks.</p>
<p>Only a short request: make async trees with classes: </p>
<p>if you have static one, you can define class for span (folder of file for filetree), but not in asunc.</p>
<p>The solution &#8211; to add something like <code>current.children('span').addClass(this.type || null);</code><br />
 in createNode function (where &#8220;type&#8221; is the  class field for node).</p>
<p>Best regards, Mike S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto Wyss</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-93618</link>
		<dc:creator>Otto Wyss</dc:creator>
		<pubDate>Thu, 31 Jan 2008 07:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-93618</guid>
		<description>In sample 3 there&#039;s a treecontroll header with links to &quot;Collapse All&quot;, &quot;Expand All&quot;, &quot;Toggle All&quot;. Is it possible to access these functions via a button or clickable image, e.g. 

&lt;code&gt;
&lt;img src=&quot;images/expand_all.png&quot; onclick=&quot;javascript: ... &gt;
&lt;img src=&quot;images/collape_all.png&quot; onclick=&quot;javascript: ... &gt;
&lt;img src=&quot;images/toggle_all.png&quot; onclick=&quot;javascript: ... &gt;
&lt;/code&gt;

What do I have to write at &quot;...&quot;?

O. Wyss</description>
		<content:encoded><![CDATA[<p>In sample 3 there&#8217;s a treecontroll header with links to &#8220;Collapse All&#8221;, &#8220;Expand All&#8221;, &#8220;Toggle All&#8221;. Is it possible to access these functions via a button or clickable image, e.g. </p>
<p><code><br />
&lt;img src="images/expand_all.png" onclick="javascript: ... &gt;<br />
&lt;img src="images/collape_all.png" onclick="javascript: ... &gt;<br />
&lt;img src="images/toggle_all.png" onclick="javascript: ... &gt;<br />
</code></p>
<p>What do I have to write at &#8220;&#8230;&#8221;?</p>
<p>O. Wyss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto Wyss</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-treeview/comment-page-4/#comment-93611</link>
		<dc:creator>Otto Wyss</dc:creator>
		<pubDate>Thu, 31 Jan 2008 06:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/#comment-93611</guid>
		<description>Is it possible to use treeview without lines, just the plus/minus icon? How?

Where are the options documented?

O. Wyss</description>
		<content:encoded><![CDATA[<p>Is it possible to use treeview without lines, just the plus/minus icon? How?</p>
<p>Where are the options documented?</p>
<p>O. Wyss</p>
]]></content:encoded>
	</item>
</channel>
</rss>
