Help required on IFrames - Ruby on rails

Hi,
i’m using a IFrame to dynamically load a part of my webpage.
When i use <%= link_to> tag i’m unable to set the target so that
the source reference provided in ‘link_to’ tag opens in IFrame.
Is there a way to overcome this issue.?
Also,Instead of using IFrames,is there any other options in rails
to form the templates.

thanks
FF


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
rates starting at 1¢/min.

<%= link_to ‘name’, {:action=>‘new’}, :target=>‘_blank’ %>

On 9/15/06, freaky fashion [email protected] wrote:

FF


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1¢/min.

http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com


Marlon

freaky fashion wrote:

  Also,Instead of using IFrames,is there any other options in rails 

to form the templates.

I have (I think) a similar situation. My app has a user administration
page, from a popup on that page you select a user name and then you
click on the relevant button to see the appropriate page for that user
(eg view profile, view calendar etc…). At the bottom of the page I
have an empty div.

You can then use Ajax to load the appropriate page into that div i.e
link_to_remote ‘View Profile’, :url => {:action => :show, :controller =>
‘profile’}, :update => ‘div_to_fill’

Fred