I'm building a Ruby on Rails app where people are clicking on addresses. When they click, I want to display a small google map of the address in a frame. I want to use a frame/iframe so when they scroll down to look at more addresses, the little map won't scroll off too.
I'm having a hard time finding examples or discussions of this. I was thinking of hacking up the layout with raw <FRAMESET>
tags, but that seems kind of barbaric. What is the best way to use frames or iframes within a Rails app?
BTW, we're using Haml for our templating, if it matters.
Best Solution
you could try the Greybox jQuery plugin.