Ruby on Rails Sunday, December 9, 2012




On Mon, Dec 10, 2012 at 12:55 PM, avinash behera <aavinash.behera@gmail.com> wrote:
Should we use javascript ot jquery to achieve this?

I remember in rails 2 that link_to has a popup option which opens a new window.  Looking at
the api right now, the option was removed.  so I guess you may need to implement your
own js solution

 


On Mon, Dec 10, 2012 at 10:23 AM, Walter Lee Davis <waltd@wdstudio.com> wrote:
That's an implementation detail of your browser. The target="_blank" bit is baked into every browser back to Netscape 2. How that browser chooses to implement the window (or tab) is its concern, not something you can change


--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment