Hi all, I''m pretty new to Ruby on Rails and I cannot figure out how to get frames to work. I''ve been searching the web for days and can''t find any articles that talk about using frameset with rails. I''d really appreciate a thorough explanation of how it''s supposed to work. I basically need part of the page to never be reloaded, but have other content change when links are clicked. I''ve tried an AJAX solution to this already, but it seems to severely limit the responsiveness of the page (even running on localhost). Thanks! -pj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 25, 2007, at 10:40 PM, peter.brindisi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I basically need part of the page to never be reloaded, but have other > content change when links are clicked. I''ve tried an AJAX solution to > this already, but it seems to severely limit the responsiveness of the > page (even running on localhost). Thanks!this sounds like an html problem more than a frames problem. you have 3 pages: 1. the frameset page. this can be statically or dynamically generated, depending on whether the subpage urls vary (in their initial load). 2. the unchanging frame. this can also be statically or dynamically generated, depending on whether the contents of the page are always the same, or can vary at initial load. 3. the varying frame. this is always dynamically generated. the only trick would be making sure that your link targets are set so that clicks in the unchanging frame result in changes in the varying frame. -faisal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks, but how do I use static html within rails? On Feb 25, 10:57 pm, Faisal N Jawdat <fai...-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote:> On Feb 25, 2007, at 10:40 PM, peter.brind...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > I basically need part of the page to never be reloaded, but have other > > content change when links are clicked. I''ve tried an AJAX solution to > > this already, but it seems to severely limit the responsiveness of the > > page (even running on localhost). Thanks! > > this sounds like an html problem more than a frames problem. you > have 3 pages: > > 1. the frameset page. this can be statically or dynamically > generated, depending on whether the subpage urls vary (in their > initial load). > > 2. the unchanging frame. this can also be statically or dynamically > generated, depending on whether the contents of the page are always > the same, or can vary at initial load. > > 3. the varying frame. this is always dynamically generated. > > the only trick would be making sure that your link targets are set so > that clicks in the unchanging frame result in changes in the varying > frame. > > -faisal--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---