Hello All, I have just joined rails-spinoffs mailing lists and I would like to introduce myself. My name is Casey and I am a professional Web and J2EE developer currently working out of New York. I am very interested in contributing to the Scriptaculous javascript library. For the past few months I have been using certain functions in the library and I have to say that it has taken my projects to another level. Like everyone else, I often I find myself creating new controls/objects for functionality that does yet exist in the library. Therefore I would like to possibly give some of my work back to the community as well as fix bugs that I find as I work. Lately I have been creating a tree structure for navigating certain lists. I noticed a enhancement request(Ticket #2847) for such an object and I thought that my code might be of some use to project. I suppose the first question, is anyone currently working on this enhancement? If someone is assigned to the item then I would very much like to collaborate with them. I hope to hear from the developers and I look forward to working with the Scriptaculous community. Casey
Hey Casey, I have not heard anyone on the list mention that they were working on a tree control. I''d would be interested to see how you develop it. I will be implementing a tree myself but hadn''t gotten to that point. Feel free to include me your discussions (offlist probably) as you work it out. Cheers, Marty Casey O''Neill wrote:> Hello All, > > I have just joined rails-spinoffs mailing lists and I would like > to introduce myself. My name is Casey and I am a professional Web > and J2EE developer currently working out of New York. I am very > interested in contributing to the Scriptaculous javascript library. > For the past few months I have been using certain functions in the > library and I have to say that it has taken my projects to another > level. Like everyone else, I often I find myself creating new > controls/objects for functionality that does yet exist in the > library. Therefore I would like to possibly give some of my work back > to the community as well as fix bugs that I find as I work. > > Lately I have been creating a tree structure for navigating > certain lists. I noticed a enhancement request(Ticket #2847) for such > an object and I thought that my code might be of some use to project. > I suppose the first question, is anyone currently working on this > enhancement? If someone is assigned to the item then I would very > much like to collaborate with them. > > I hope to hear from the developers and I look forward to working > with the Scriptaculous community. > > Casey _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
That sounds great! Please go ahead. :) Thomas Am 19.11.2005 um 22:26 schrieb Casey O''Neill:> Hello All, > > I have just joined rails-spinoffs mailing lists and I would like > to introduce myself. My name is Casey and I am a professional Web > and J2EE developer currently working out of New York. I am very > interested in contributing to the Scriptaculous javascript library. > For the past few months I have been using certain functions in the > library and I have to say that it has taken my projects to another > level. Like everyone else, I often I find myself creating new > controls/objects for functionality that does yet exist in the > library. Therefore I would like to possibly give some of my work > back to the community as well as fix bugs that I find as I work. > > Lately I have been creating a tree structure for navigating > certain lists. I noticed a enhancement request(Ticket #2847) for > such an object and I thought that my code might be of some use to > project. I suppose the first question, is anyone currently working > on this enhancement? If someone is assigned to the item then I > would very much like to collaborate with them. > > I hope to hear from the developers and I look forward to working > with the Scriptaculous community. > > Casey_______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I''ve written an "Expando" component. A simple component that you can expand and collapse and loads it content using Ajax. Using that it should be relatively simple to build a tree component. Is this something you want? Shall I submit it? On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote:> That sounds great! > Please go ahead. :) > > Thomas > > Am 19.11.2005 um 22:26 schrieb Casey O''Neill: > > > Hello All, > > > > I have just joined rails-spinoffs mailing lists and I would like > > to introduce myself. My name is Casey and I am a professional Web > > and J2EE developer currently working out of New York. I am very > > interested in contributing to the Scriptaculous javascript library. > > For the past few months I have been using certain functions in the > > library and I have to say that it has taken my projects to another > > level. Like everyone else, I often I find myself creating new > > controls/objects for functionality that does yet exist in the > > library. Therefore I would like to possibly give some of my work > > back to the community as well as fix bugs that I find as I work. > > > > Lately I have been creating a tree structure for navigating > > certain lists. I noticed a enhancement request(Ticket #2847) for > > such an object and I thought that my code might be of some use to > > project. I suppose the first question, is anyone currently working > > on this enhancement? If someone is assigned to the item then I > > would very much like to collaborate with them. > > > > I hope to hear from the developers and I look forward to working > > with the Scriptaculous community. > > > > Casey_______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
We should have a scriptaculous spinoff site :) A page for new features that people are working on that will hopefully be integrated into scriptaculous itself... seems like there are various projects going on and they''re going to be easy to lose track of for the rest of us. Could that go into the scriptaculous wiki itself? On 11/21/05, Jon Tirsen <jon-fQK1VBTDpnXQT0dZR+AlfA@public.gmane.org> wrote:> I''ve written an "Expando" component. A simple component that you can > expand and collapse and loads it content using Ajax. Using that it > should be relatively simple to build a tree component. > > Is this something you want? Shall I submit it? > > On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: > > That sounds great! > > Please go ahead. :) > > > > Thomas > > > > Am 19.11.2005 um 22:26 schrieb Casey O''Neill: > > > > > Hello All, > > > > > > I have just joined rails-spinoffs mailing lists and I would like > > > to introduce myself. My name is Casey and I am a professional Web > > > and J2EE developer currently working out of New York. I am very > > > interested in contributing to the Scriptaculous javascript library. > > > For the past few months I have been using certain functions in the > > > library and I have to say that it has taken my projects to another > > > level. Like everyone else, I often I find myself creating new > > > controls/objects for functionality that does yet exist in the > > > library. Therefore I would like to possibly give some of my work > > > back to the community as well as fix bugs that I find as I work. > > > > > > Lately I have been creating a tree structure for navigating > > > certain lists. I noticed a enhancement request(Ticket #2847) for > > > such an object and I thought that my code might be of some use to > > > project. I suppose the first question, is anyone currently working > > > on this enhancement? If someone is assigned to the item then I > > > would very much like to collaborate with them. > > > > > > I hope to hear from the developers and I look forward to working > > > with the Scriptaculous community. > > > > > > Casey_______________________________________________ > > > Rails-spinoffs mailing list > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
We could just have a betacontrols.js file or something. Part of the distribution but use at your own risk. On 11/22/05, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> We should have a scriptaculous spinoff site :) > > A page for new features that people are working on that will hopefully > be integrated into scriptaculous itself... seems like there are > various projects going on and they''re going to be easy to lose track > of for the rest of us. > > Could that go into the scriptaculous wiki itself? > > On 11/21/05, Jon Tirsen <jon-fQK1VBTDpnXQT0dZR+AlfA@public.gmane.org> wrote: > > I''ve written an "Expando" component. A simple component that you can > > expand and collapse and loads it content using Ajax. Using that it > > should be relatively simple to build a tree component. > > > > Is this something you want? Shall I submit it? > > > > On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: > > > That sounds great! > > > Please go ahead. :) > > > > > > Thomas > > > > > > Am 19.11.2005 um 22:26 schrieb Casey O''Neill: > > > > > > > Hello All, > > > > > > > > I have just joined rails-spinoffs mailing lists and I would like > > > > to introduce myself. My name is Casey and I am a professional Web > > > > and J2EE developer currently working out of New York. I am very > > > > interested in contributing to the Scriptaculous javascript library. > > > > For the past few months I have been using certain functions in the > > > > library and I have to say that it has taken my projects to another > > > > level. Like everyone else, I often I find myself creating new > > > > controls/objects for functionality that does yet exist in the > > > > library. Therefore I would like to possibly give some of my work > > > > back to the community as well as fix bugs that I find as I work. > > > > > > > > Lately I have been creating a tree structure for navigating > > > > certain lists. I noticed a enhancement request(Ticket #2847) for > > > > such an object and I thought that my code might be of some use to > > > > project. I suppose the first question, is anyone currently working > > > > on this enhancement? If someone is assigned to the item then I > > > > would very much like to collaborate with them. > > > > > > > > I hope to hear from the developers and I look forward to working > > > > with the Scriptaculous community. > > > > > > > > Casey_______________________________________________ > > > > Rails-spinoffs mailing list > > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > _______________________________________________ > > > Rails-spinoffs mailing list > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
A hard part is deciding how to load the content. Do you do it all at once so that it is a fluid experience or do you use callback methods on each expand and the tree is loaded dynamically. Naturally, both should be supported so the developer can make the decision. Casey On Nov 21, 2005, at 8:51 PM, Jon Tirsen wrote:> I''ve written an "Expando" component. A simple component that you can > expand and collapse and loads it content using Ajax. Using that it > should be relatively simple to build a tree component. > > Is this something you want? Shall I submit it? > > On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: >> That sounds great! >> Please go ahead. :) >> >> Thomas >> >> Am 19.11.2005 um 22:26 schrieb Casey O''Neill: >> >>> Hello All, >>> >>> I have just joined rails-spinoffs mailing lists and I would >>> like >>> to introduce myself. My name is Casey and I am a professional Web >>> and J2EE developer currently working out of New York. I am very >>> interested in contributing to the Scriptaculous javascript library. >>> For the past few months I have been using certain functions in the >>> library and I have to say that it has taken my projects to another >>> level. Like everyone else, I often I find myself creating new >>> controls/objects for functionality that does yet exist in the >>> library. Therefore I would like to possibly give some of my work >>> back to the community as well as fix bugs that I find as I work. >>> >>> Lately I have been creating a tree structure for navigating >>> certain lists. I noticed a enhancement request(Ticket #2847) for >>> such an object and I thought that my code might be of some use to >>> project. I suppose the first question, is anyone currently working >>> on this enhancement? If someone is assigned to the item then I >>> would very much like to collaborate with them. >>> >>> I hope to hear from the developers and I look forward to >>> working >>> with the Scriptaculous community. >>> >>> Casey_______________________________________________ >>> Rails-spinoffs mailing list >>> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Go with both. The Autocompleter allows both local and remote access as well. On 11/22/05, Casey O''Neill <j.casey.oneill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> A hard part is deciding how to load the content. Do you do it all at > once so that it is a fluid experience or do you use callback methods > on each expand and the tree is loaded dynamically. Naturally, both > should be supported so the developer can make the decision. > > Casey > > On Nov 21, 2005, at 8:51 PM, Jon Tirsen wrote: > > > I''ve written an "Expando" component. A simple component that you can > > expand and collapse and loads it content using Ajax. Using that it > > should be relatively simple to build a tree component. > > > > Is this something you want? Shall I submit it? > > > > On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: > >> That sounds great! > >> Please go ahead. :) > >> > >> Thomas > >> > >> Am 19.11.2005 um 22:26 schrieb Casey O''Neill: > >> > >>> Hello All, > >>> > >>> I have just joined rails-spinoffs mailing lists and I would > >>> like > >>> to introduce myself. My name is Casey and I am a professional Web > >>> and J2EE developer currently working out of New York. I am very > >>> interested in contributing to the Scriptaculous javascript library. > >>> For the past few months I have been using certain functions in the > >>> library and I have to say that it has taken my projects to another > >>> level. Like everyone else, I often I find myself creating new > >>> controls/objects for functionality that does yet exist in the > >>> library. Therefore I would like to possibly give some of my work > >>> back to the community as well as fix bugs that I find as I work. > >>> > >>> Lately I have been creating a tree structure for navigating > >>> certain lists. I noticed a enhancement request(Ticket #2847) for > >>> such an object and I thought that my code might be of some use to > >>> project. I suppose the first question, is anyone currently working > >>> on this enhancement? If someone is assigned to the item then I > >>> would very much like to collaborate with them. > >>> > >>> I hope to hear from the developers and I look forward to > >>> working > >>> with the Scriptaculous community. > >>> > >>> Casey_______________________________________________ > >>> Rails-spinoffs mailing list > >>> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > >> _______________________________________________ > >> Rails-spinoffs mailing list > >> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
For what it''s worth, there''s a simple tree control I wrote sitting here: http://www.holoweb.net/laurie/jstree/ If anyone wants to snarf it as a starting point, feel welcome. L. On 22-Nov-05, at 8:47 AM, Andrew Kaspick wrote:> Go with both. The Autocompleter allows both local and remote access > as well. > > On 11/22/05, Casey O''Neill <j.casey.oneill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> A hard part is deciding how to load the content. Do you do it all at >> once so that it is a fluid experience or do you use callback methods >> on each expand and the tree is loaded dynamically. Naturally, both >> should be supported so the developer can make the decision. >> >> Casey >> >> On Nov 21, 2005, at 8:51 PM, Jon Tirsen wrote: >> >>> I''ve written an "Expando" component. A simple component that you can >>> expand and collapse and loads it content using Ajax. Using that it >>> should be relatively simple to build a tree component. >>> >>> Is this something you want? Shall I submit it? >>> >>> On 11/21/05, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote: >>>> That sounds great! >>>> Please go ahead. :) >>>> >>>> Thomas >>>> >>>> Am 19.11.2005 um 22:26 schrieb Casey O''Neill: >>>> >>>>> Hello All, >>>>> >>>>> I have just joined rails-spinoffs mailing lists and I would >>>>> like >>>>> to introduce myself. My name is Casey and I am a professional Web >>>>> and J2EE developer currently working out of New York. I am very >>>>> interested in contributing to the Scriptaculous javascript >>>>> library. >>>>> For the past few months I have been using certain functions in the >>>>> library and I have to say that it has taken my projects to another >>>>> level. Like everyone else, I often I find myself creating new >>>>> controls/objects for functionality that does yet exist in the >>>>> library. Therefore I would like to possibly give some of my work >>>>> back to the community as well as fix bugs that I find as I work. >>>>> >>>>> Lately I have been creating a tree structure for navigating >>>>> certain lists. I noticed a enhancement request(Ticket #2847) for >>>>> such an object and I thought that my code might be of some use to >>>>> project. I suppose the first question, is anyone currently working >>>>> on this enhancement? If someone is assigned to the item then I >>>>> would very much like to collaborate with them. >>>>> >>>>> I hope to hear from the developers and I look forward to >>>>> working >>>>> with the Scriptaculous community. >>>>> >>>>> Casey_______________________________________________ >>>>> Rails-spinoffs mailing list >>>>> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >>>> >>>> _______________________________________________ >>>> Rails-spinoffs mailing list >>>> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >>>> >>> _______________________________________________ >>> Rails-spinoffs mailing list >>> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs-- Laurie Harper Open Source advocate, Java geek: http://www.holoweb.net/laurie Founder, Zotech Software: http://www.zotechsoftware.com/
On Nov 22, 2005, at 3:08 PM, Laurie Harper wrote:> For what it''s worth, there''s a simple tree control I wrote sitting > here: > > http://www.holoweb.net/laurie/jstree/ > > If anyone wants to snarf it as a starting point, feel welcome. > > L.Cool, Laurie. Thanks for the addition. Duane Johnson (canadaduane)
This is not working for me (I am using IE 6.0 on WinXP). It works in Firefox though... ----------------------------------------------------------------------------------------------------- On Nov 22, 2005, at 3:08 PM, Laurie Harper wrote:> For what it''s worth, there''s a simple tree control I wrote sitting > here: > > http://www.holoweb.net/laurie/jstree/ > > If anyone wants to snarf it as a starting point, feel welcome. > > L.Cool, Laurie. Thanks for the addition. Duane Johnson (canadaduane) -----------------------------------------------------------------------------------------------------
Maninder, Singh wrote:> This is not working for me (I am using IE 6.0 on WinXP). > > It works in Firefox though... >I''s only the css that is wrong. The + image isn''t displayed but the script works.
On 1-Dec-05, at 6:15 AM, APaella wrote:> Maninder, Singh wrote: >> This is not working for me (I am using IE 6.0 on WinXP). >> >> It works in Firefox though... > > I''s only the css that is wrong. The + image isn''t displayed but the > script works.Unfortunately, I don''t currently have an Windows box to debug that problem on :-( If I had to guess, though, I bet it''s related to how that code is updating CSS styles; as I recall, there are some IE compatibility issues in that area, which may be causing the problem. If anyone knows how to fix it, I''ll make the appropriate updates to the code... -- Laurie Harper Open Source advocate, Java geek: http://www.holoweb.net/laurie Founder, Zotech Software: http://www.zotechsoftware.com/
* Laurie Harper wrote (01/12/2005 15:50):> On 1-Dec-05, at 6:15 AM, APaella wrote: >> Maninder, Singh wrote: >>> This is not working for me (I am using IE 6.0 on WinXP). >>> >>> It works in Firefox though... >> >> I''s only the css that is wrong. The + image isn''t displayed but the >> script works. > > Unfortunately, I don''t currently have an Windows box to debug that > problem on :-( If I had to guess, though, I bet it''s related to how > that code is updating CSS styles; as I recall, there are some IE > compatibility issues in that area, which may be causing the problem. > > If anyone knows how to fix it, I''ll make the appropriate updates to > the code...Use css and classes (rather than setting the style directly) will probably work. Then IE users can tweak the css until it works. Chris
Hey everyone, Been working with this JSTree control...modified all the "setAttribute" calls, and also swapped out some of the recursion calls, since I want it to maintain state. I''ve gotten to the point where it properly displays styles and collapses in FF, Opera, and IE6, and FF and Opera properly close...but once again, IE bites it. Its adding a huge padding around my first sub-group. Check it out here: http://www.jvenema.com/treeview/tree_blinddown.html Thoughts, anyone? Also, I found as a result of this, a couple bugs: 1) In Opera with "BlindDown": the setStyle function in afterFinishInternal causes the second sub-group to hide. I assume its because opera doesn''t give any sort of default height to their UL elements. Add this line after "var elementDimensions...." if(oldHeight == ''0px''){ oldHeight = elementDimensions.Height + ''px''; } Dunno why those aren''t combined, but that fixes it anyway. 2) SlideDown on the first group of this treeview in IE6 causes a fatal crash! Woo! Check it out here: http://www.jvenema.com/treeview/tree_slidedown.html I''m gonna log that one as a bug. :) -Jerod On 12/1/05, Chris Lear <chris.lear-kZMsvDh4tCZWk0Htik3J/w@public.gmane.org> wrote:> > * Laurie Harper wrote (01/12/2005 15:50): > > On 1-Dec-05, at 6:15 AM, APaella wrote: > >> Maninder, Singh wrote: > >>> This is not working for me (I am using IE 6.0 on WinXP). > >>> > >>> It works in Firefox though... > >> > >> I''s only the css that is wrong. The + image isn''t displayed but the > >> script works. > > > > Unfortunately, I don''t currently have an Windows box to debug that > > problem on :-( If I had to guess, though, I bet it''s related to how > > that code is updating CSS styles; as I recall, there are some IE > > compatibility issues in that area, which may be causing the problem. > > > > If anyone knows how to fix it, I''ll make the appropriate updates to > > the code... > > Use css and classes (rather than setting the style directly) will > probably work. Then IE users can tweak the css until it works. > > Chris > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Jerod Venema wrote:> Hey everyone, > > Been working with this JSTree control...modified all the > "setAttribute" calls, and also swapped out some of the recursion > calls, since I want it to maintain state. I''ve gotten to the point > where it properly displays styles and collapses in FF, Opera, and IE6, > and FF and Opera properly close...but once again, IE bites it. Its > adding a huge padding around my first sub-group. Check it out here: > > http://www.jvenema.com/treeview/tree_blinddown.html > > Thoughts, anyone? > > Also, I found as a result of this, a couple bugs: > > 1) In Opera with "BlindDown": the setStyle function in > afterFinishInternal causes the second sub-group to hide. I assume its > because opera doesn''t give any sort of default height to their UL > elements. Add this line after "var elementDimensions...." > > if(oldHeight == ''0px''){ oldHeight = elementDimensions.Height + ''px''; } > > Dunno why those aren''t combined, but that fixes it anyway. > > 2) SlideDown on the first group of this treeview in IE6 causes a fatal > crash! Woo! Check it out here: > > http://www.jvenema.com/treeview/tree_slidedown.html > > I''m gonna log that one as a bug. :) > > -Jerod > > On 12/1/05, *Chris Lear* <chris.lear-kZMsvDh4tCZWk0Htik3J/w@public.gmane.org > <mailto:chris.lear-kZMsvDh4tCZWk0Htik3J/w@public.gmane.org>> wrote: > > * Laurie Harper wrote (01/12/2005 15:50): > > On 1-Dec-05, at 6:15 AM, APaella wrote: > >> Maninder, Singh wrote: > >>> This is not working for me (I am using IE 6.0 on WinXP). > >>> > >>> It works in Firefox though... > >> > >> I''s only the css that is wrong. The + image isn''t displayed but the > >> script works. > > > > Unfortunately, I don''t currently have an Windows box to debug that > > problem on :-( If I had to guess, though, I bet it''s related to how > > that code is updating CSS styles; as I recall, there are some IE > > compatibility issues in that area, which may be causing the problem. > > > > If anyone knows how to fix it, I''ll make the appropriate updates to > > the code... > > Use css and classes (rather than setting the style directly) will > probably work. Then IE users can tweak the css until it works. > > Chris > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > <mailto:Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > <http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs> > > >------------------------------------------------------------------------ > >_______________________________________________ >Rails-spinoffs mailing list >Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >Keep Up the good work....! Your doing great!
Fixed the padding issue in IE...just need to turn off restoreAfterFinish on the expand function of the tree (in BlindDown...must be settting a style option somewhere). So, we''re working in FF, Opera....and mostly IE. It works...but there''s a bit of a "flicker" when the treenodes are collapsed. I probably won''t be doing much more with it for a bit, so feel free to look at where I ended up here: http://www.jvenema.com/treeview/tree_blinddown.html Merry Christmas everyone! -Jerod On 12/24/05, vemon388 <vemon388-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Jerod Venema wrote: > > > Hey everyone, > > > > Been working with this JSTree control...modified all the > > "setAttribute" calls, and also swapped out some of the recursion > > calls, since I want it to maintain state. I''ve gotten to the point > > where it properly displays styles and collapses in FF, Opera, and IE6, > > and FF and Opera properly close...but once again, IE bites it. Its > > adding a huge padding around my first sub-group. Check it out here: > > > > http://www.jvenema.com/treeview/tree_blinddown.html > > > > Thoughts, anyone? > > > > Also, I found as a result of this, a couple bugs: > > > > 1) In Opera with "BlindDown": the setStyle function in > > afterFinishInternal causes the second sub-group to hide. I assume its > > because opera doesn''t give any sort of default height to their UL > > elements. Add this line after "var elementDimensions...." > > > > if(oldHeight == ''0px''){ oldHeight = elementDimensions.Height + ''px''; } > > > > Dunno why those aren''t combined, but that fixes it anyway. > > > > 2) SlideDown on the first group of this treeview in IE6 causes a fatal > > crash! Woo! Check it out here: > > > > http://www.jvenema.com/treeview/tree_slidedown.html > > > > I''m gonna log that one as a bug. :) > > > > -Jerod > > > > On 12/1/05, *Chris Lear* <chris.lear-kZMsvDh4tCZWk0Htik3J/w@public.gmane.org > > <mailto:chris.lear-kZMsvDh4tCZWk0Htik3J/w@public.gmane.org>> wrote: > > > > * Laurie Harper wrote (01/12/2005 15:50): > > > On 1-Dec-05, at 6:15 AM, APaella wrote: > > >> Maninder, Singh wrote: > > >>> This is not working for me (I am using IE 6.0 on WinXP). > > >>> > > >>> It works in Firefox though... > > >> > > >> I''s only the css that is wrong. The + image isn''t displayed but > the > > >> script works. > > > > > > Unfortunately, I don''t currently have an Windows box to debug that > > > problem on :-( If I had to guess, though, I bet it''s related to > how > > > that code is updating CSS styles; as I recall, there are some IE > > > compatibility issues in that area, which may be causing the > problem. > > > > > > If anyone knows how to fix it, I''ll make the appropriate updates > to > > > the code... > > > > Use css and classes (rather than setting the style directly) will > > probably work. Then IE users can tweak the css until it works. > > > > Chris > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > <mailto:Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > <http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs> > > > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >Rails-spinoffs mailing list > >Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > Keep Up the good work....! > > Your doing great! > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Apparently Analagous Threads
- using slidedown and slide up in a multiple level menu
- Is there a best practice in dealing with javascript dependencies?
- IE Problem with document.getElementsByTag
- RE: Question about event listener highlighting withchild elements
- AJAX effects not smooth on Rails