How to create a small widget with JavaScript

I really don't know how to describe it, but if you figured it out and had experience in this area, maybe you can help me with something "Open Source" and "Ready-made".

I want to create something like a window or widget where you can change its contents by clicking some buttons at the top of the window. (Hey, the drawer is on a webpage and this should use Ajax and Javascript).

I tried some ready-made scripts but I found them limited and they were driving me crazy, JS frameworks don't offer such a solution either. Does any body have an idea in this field?

-4


source to share


2 answers


Just because the field is on the webpage doesn't mean it has to use AJAX, Omar. Have you thought about using a third party solution like ClearSpring or WidgetBox ? If you need to put your widget on Myspace, you will need one of these.



However, I've picked up a couple of JavaScript-only works for this problem; see Twitterati and Post your Digg In A Box for an example, and the Global Widget Summit for an explanation.

+3


source


Have you tried JQuery?

Visit www.jquery.com



An example is http://www.openjs.com/scripts/events/keyboard_shortcuts/

Also please check the in-place edit example at http://www.appelsiini.net/projects/jeditable http://docs.jquery.com/Tutorials:Edit_in_Place_with_Ajax

+1


source







All Articles