Thanks for yorur help Peter. Do you have link or tutorial guide in the internet? I am new with this.
Yudi Peter De Berdt wrote: > On 09 Jun 2010, at 08:57, Yudi Soesanto wrote: > >> What I am trying to do is: I creating a survey website. User can >> register to create a survey and this survey can be embedded to other >> site with providing embedded script. The problem I have, I don't know >> how to create embedded code via ruby on rails. I never done this. > > Your embed code should be something alone the lines of: > > <script> > steps to write in javascript: > - Inject iFrame into the page > - Load survey url into the iFrame > </script> > > Exactly the same as you would do in any other language, like PHP, > Perl, ... > > You basically need to load your survey into a frame embedded into your > users site and on your RoR backend it won't make any difference > whether it's loaded into the iFrame or would just be directly accessed. > > > Best regards > > Peter De Berdt -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

