Rails link to remote site in a partial pop-up

I want to render a link to an external site in a pop up from my site in Rails. What's the best way to go about doing that?

e.g. I want to have something like www.cnn.com show up in a pop-up partial when a link is clicked on my site.


You can't make cross domain ajax calls to show inside a popup. So it won't be so easy as rendering a link. You can try using a iframe inside that popup.

Need Your Help

Get all the table items from DynamoDB table using Java High Level API

java amazon-web-services amazon-dynamodb

I implemented scan operation using in dynamodb table using dynamodbmapper, but I'm not getting all the results. Scan returns different number of items, whenever I run my program.

Complex table with qt - how do I start?

qt pyqt tablelayout

in the past, I have done a few small applications in QT. The user interfaces of my applications only contained a bunch of "standard" widgets (a few buttons, spacer, text fields...). However now, I ...