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. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
<%= link_to ''name'', {:action=>''new''}, :target=>''_blank'' %> On 9/15/06, freaky fashion <freekyfashions-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> > 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. > > > <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com> > >-- Marlon --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---