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!
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.
Thanks, but how do I use static html within rails?