I think this is possible in JavaScript with some functions:
- document.write
- innerHTML
- appendElement
Search about these methods and you will find the best way to do your
application.
Bye.
On Mar 31, 9:31 am, Nick Snels
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi,
>
> I would like to make a "widget" that gets placed on websites that
I
> don''t control. And I want to make it as simple as possible for
people to
> (a maximum of 2-3 lines of code) place the widget on their website. So
> it should be html or javascript code only.
>
> Another requirement is that the requested widget resides on my
> webserver. In case I want to make a change to its design, it should be
> visible immediately on all the websites the widget is placed on. The
> widget should also request data from the database based on some params,
> the site owner can specify.
>
> I have already looked at Flash, but since I''m new to Flash it
seemed to
> complicated. IFrames looks like a solution, but not one I want to use.
> Is there a possibility to do this with Ajax? Any pointers are welcome.
> Thanks.
>
> Kind regards,
>
> Nick
> ---http://www.railshostinginfo.com
> Compare Rails hosting companies
>
> --
> Posted viahttp://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?hl=en
-~----------~----~----~----~------~----~------~--~---