Hi, I''m new to this list, new to script.aculo.us but pretty comfortable with javascript. I''m trying to get a combination of Effect.SlideUp and Down and Effect.BlindUp and Down to well... it''s hard to describe, maybe have a visit here (try in firefox first): http://bruno.biosci.arizona.edu/occa/test.html Click on "next month" a couple times, then click on "previous month" until you are back to February. That''s the exact effect I''m going for. Now, fire up IE (I''m using 6.0 on WinXP) and click on "next month" exactly twice, then click on "previous month" exactly twice... notice the problem? For the life of me I can''t figure out what the problem is and why IE would be behaving so differently than firefox in this case... it seems like the effect isn''t being applied to one of the calendars, but I have no idea how to debug when events are being fired or not. Any help would be greatly appreciated. (oh and all the relevant code can be found in the source of the page.) Thanks a bunch, Mike
wondering if you have a suggestion for the best way to get child by class name. example would be to target a TR and return a TD with classname of icon in order to use innerHTML thanks! --louis
On 2/24/06, Louis Walch <dev-bTJQVtzvk6sqDJ6do+/SaQ@public.gmane.org> wrote:> wondering if you have a suggestion for the best way to get child by class > name. > > example would be to target a TR and return a TD with classname of icon in > order to use innerHTMLPrototype''s getElementsByClassName function allows you to pass in a ''parentElement'' as the second parameter. Todd
Hey Mike, For what its worth, I think this might be a bug in scrip.aculo.us. Check out this bug report: http://dev.rubyonrails.org/ticket/3108 I ran something similar when working on a treeview control. Both BlindUp and SlideDown showed this behaviour, at least to some degree. According to the bug report, its being worked on.... -Jerod On 2/24/06, Mike Evans <mike-NnZn4GY/u685UWNf+nJyDw@public.gmane.org> wrote:> > Hi, > > I''m new to this list, new to script.aculo.us but pretty comfortable with > javascript. I''m trying to get a combination of Effect.SlideUp and Down > and Effect.BlindUp and Down to well... it''s hard to describe, maybe have > a visit here (try in firefox first): > http://bruno.biosci.arizona.edu/occa/test.html > Click on "next month" a couple times, then click on "previous month" > until you are back to February. That''s the exact effect I''m going for. > Now, fire up IE (I''m using 6.0 on WinXP) and click on "next month" > exactly twice, then click on "previous month" exactly twice... notice > the problem? > > For the life of me I can''t figure out what the problem is and why IE > would be behaving so differently than firefox in this case... it seems > like the effect isn''t being applied to one of the calendars, but I have > no idea how to debug when events are being fired or not. Any help would > be greatly appreciated. > > (oh and all the relevant code can be found in the source of the page.) > > Thanks a bunch, > Mike > _______________________________________________ > 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
Sorry for the double reply...but it also might help your debugging if you make the interval 4-5 seconds...its much easier to see what''s happening then.... -Jerod On 2/24/06, Jerod Venema <jvenema-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hey Mike, > > For what its worth, I think this might be a bug in scrip.aculo.us. Check > out this bug report: > > http://dev.rubyonrails.org/ticket/3108 > > I ran something similar when working on a treeview control. Both BlindUp > and SlideDown showed this behaviour, at least to some degree. According to > the bug report, its being worked on.... > > -Jerod > > On 2/24/06, Mike Evans <mike-NnZn4GY/u685UWNf+nJyDw@public.gmane.org> wrote: > > > > Hi, > > > > I''m new to this list, new to script.aculo.us but pretty comfortable with > > javascript. I''m trying to get a combination of Effect.SlideUp and Down > > and Effect.BlindUp and Down to well... it''s hard to describe, maybe have > > > > a visit here (try in firefox first): > > http://bruno.biosci.arizona.edu/occa/test.html > > Click on "next month" a couple times, then click on "previous month" > > until you are back to February. That''s the exact effect I''m going for. > > Now, fire up IE (I''m using 6.0 on WinXP) and click on "next month" > > exactly twice, then click on "previous month" exactly twice... notice > > the problem? > > > > For the life of me I can''t figure out what the problem is and why IE > > would be behaving so differently than firefox in this case... it seems > > like the effect isn''t being applied to one of the calendars, but I have > > no idea how to debug when events are being fired or not. Any help would > > be greatly appreciated. > > > > (oh and all the relevant code can be found in the source of the page.) > > > > Thanks a bunch, > > Mike > > _______________________________________________ > > 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, Thanks a bunch... I wasn''t sure where to begin looking as to whether it''s a bug or not. Does anyone here happen to know that status of the fix? Thanks. Mike Jerod Venema wrote: Sorry for the double reply...but it also might help your debugging if you make the interval 4-5 seconds...its much easier to see what''s happening then.... -Jerod On 2/24/06, Jerod Venema <jvenema-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: Hey Mike, For what its worth, I think this might be a bug in scrip.aculo.us. Check out this bug report: http://dev.rubyonrails.org/ticket/3108 I ran something similar when working on a treeview control. Both BlindUp and SlideDown showed this behaviour, at least to some degree. According to the bug report, its being worked on.... -Jerod On 2/24/06, Mike Evans <mike-NnZn4GY/u685UWNf+nJyDw@public.gmane.org > wrote: Hi, I''m new to this list, new to script.aculo.us but pretty comfortable with javascript. I''m trying to get a combination of Effect.SlideUp and Down and Effect.BlindUp and Down to well... it''s hard to describe, maybe have a visit here (try in firefox first): http://bruno.biosci.arizona.edu/occa/test.html Click on "next month" a couple times, then click on "previous month" until you are back to February. That''s the exact effect I''m going for. Now, fire up IE (I''m using 6.0 on WinXP) and click on "next month" exactly twice, then click on "previous month" exactly twice... notice the problem? For the life of me I can''t figure out what the problem is and why IE would be behaving so differently than firefox in this case... it seems like the effect isn''t being applied to one of the calendars, but I have no idea how to debug when events are being fired or not. Any help would be greatly appreciated. (oh and all the relevant code can be found in the source of the page.) Thanks a bunch, Mike _______________________________________________ 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
Or you could do $$(''#row td.icon'') where row is the id of the tr in question. On 2/24/06, Todd Ross <rails-spinoffs-25kFIyuv2iRiLUuM0BA3LQ@public.gmane.org> wrote:> > On 2/24/06, Louis Walch <dev-bTJQVtzvk6sqDJ6do+/SaQ@public.gmane.org> wrote: > > wondering if you have a suggestion for the best way to get child by > class > > name. > > > > example would be to target a TR and return a TD with classname of icon > in > > order to use innerHTML > > Prototype''s getElementsByClassName function allows you to pass in a > ''parentElement'' as the second parameter. > > Todd > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On 2/24/06, Yehuda Katz <wycats-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Or you could do $$(''#row td.icon'') where row is the id of the tr in > question.Unless a new version of Prototype has been released that I''m not aware of, that just seems like teasing. Plus, the version of $$() in SVN is known to have problems in IE6. Todd
There''s a patch for $$ for IE6. If $$ doesn''t do what I suggested, try cssQuery from the man behind the IE7 script: http://dean.edwards.name/my/cssQuery/ On 2/25/06, Todd Ross <rails-spinoffs-25kFIyuv2iRiLUuM0BA3LQ@public.gmane.org> wrote:> > On 2/24/06, Yehuda Katz <wycats-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Or you could do $$(''#row td.icon'') where row is the id of the tr in > > question. > > Unless a new version of Prototype has been released that I''m not aware > of, that just seems like teasing. Plus, the version of $$() in SVN is > known to have problems in IE6. > > Todd > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs