I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my controller the best method? How can I refresh the submenus and page text when clicking from tab to tab? Thank you, jim _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060806/4a9b4705/PGP.bin
>From: Pete Wright <froogle@tinfoilcat.com> >Reply-To: rails@lists.rubyonrails.org >To: rails@lists.rubyonrails.org >Subject: Re: [Rails] Tabs >Date: Sun, 6 Aug 2006 19:14:52 -0400 > >Just a thought but why do you even want to referesh the submenus and page >text when clicking from tab to tab? Is this a case of AJAX for the sake of >it? You''ll find it very easy to implement tabs using images and CSS and >have them redraw as necessary on each page. It''s not an elegant approach >for sure, but in the world of eXtreme Programming it really is the >Simplest Thing That could possibly work. > >Alternatively take a look at shared partials. Again, using images and high >quality CSS you could easily created a shared partial that could be >''aware'' of what''s selected and what''s not and display accordingly. > >-------------------------------------------------- >Peter Wright >froogle@tinfoilcat.net > >Personal Blog -> http://peterwright.blogspot.com >Agile Development Blog -> http://exceeding-expectations.blogspot.com > > > > >On 4 Aug 2006, at 15:37, Jim Weir wrote: > >>I''m new to Ruby/Rails >> >>I want to create Tabs similar to these... >>http://demo.raibledesigns.com/struts-menu/ >>tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pw >>SPAZ?People >> >>Can someone outline the best method? >> >>Specifically, >> >>Is creating a tabs.html in \..apps\views\layouts and using >> >>class PhotoController < ApplicationController >> layout "tabs" >> >>....in my controller the best method? >> >>How can I refresh the submenus and page text when clicking from tab to >>tab? >> >> >>Thank you, >>jim >> >>_________________________________________________________________ >>Don’t just search. Find. Check out the new MSN Search! http:// >>search.msn.click-url.com/go/onm00200636ave/direct/01/ >> >>_______________________________________________ >>Rails mailing list >>Rails@lists.rubyonrails.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >><< PGP.sig >>>_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsI''m not sure of the best way to create tabs at this point and don''t know if I will be using AJAX to refresh the sub menus. Jim _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it''s FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
hi i am using tabs menu on the website sprinj <http://sprinj.com> i have a helper menu found in each layout file i.e <%menu(current_controller) %> the menu function is in application_helper tabs are formatted with CSS, and the current tab is outlined and found thanks to current_controller parameter On 8/4/06, Jim Weir <javawaba@hotmail.com> wrote:> > I''m new to Ruby/Rails > > I want to create Tabs similar to these... > > http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People > > Can someone outline the best method? > > Specifically, > > Is creating a tabs.html in \..apps\views\layouts and using > > class PhotoController < ApplicationController > layout "tabs" > > ....in my controller the best method? > > How can I refresh the submenus and page text when clicking from tab to > tab? > > > Thank you, > jim > > _________________________________________________________________ > Don''t just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060807/497bac3f/attachment.html
>From: "heri rakotomalala" <heri.yamiyama@gmail.com> >Reply-To: rails@lists.rubyonrails.org >To: rails@lists.rubyonrails.org >Subject: Re: [Rails] Tabs >Date: Mon, 7 Aug 2006 17:47:37 -0400 > >hi >i am using tabs menu on the website sprinj <http://sprinj.com> > >i have a helper menu found in each layout file i.e <%>menu(current_controller) %> > >the menu function is in application_helper > >tabs are formatted with CSS, and the current tab is outlined and found >thanks to current_controller parameter > > > >On 8/4/06, Jim Weir <javawaba@hotmail.com> wrote: >> >>I''m new to Ruby/Rails >> >>I want to create Tabs similar to these... >> >>http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People >> >>Can someone outline the best method? >> >>Specifically, >> >>Is creating a tabs.html in \..apps\views\layouts and using >> >>class PhotoController < ApplicationController >> layout "tabs" >> >>....in my controller the best method? >> >>How can I refresh the submenus and page text when clicking from tab to >>tab? >> >> >>Thank you, >>jim >> >>_________________________________________________________________ >>Don''t just search. Find. Check out the new MSN Search! >>http://search.msn.click-url.com/go/onm00200636ave/direct/01/ >> >>_______________________________________________ >>Rails mailing list >>Rails@lists.rubyonrails.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >>>_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsThey look good.. what I would really like to do is use the tabs(and other functionality) from DOJO... http://dojotoolkit.org/ Jim _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/