Widget - This manual page describe how to add a simple widget
In Extenso, you can add a widget to a page. You can also move the widget within the page.
They are already a lot of widgets available on your website.
But you might want to create new widget for yourself or your client.
- Create a widget of your own.
- Create a widget to convert celsius to fahrenheit with the formula:
celcius * 9.0/5.0 + 32.0
You can do this exercice using jquery or you can add a form to post the current page. In that case you can get the value of a named element with the following code:
If you have <input type="text" name="celcius"> you can get the value with:
c = cgidata();
- Can you modify the widget so that instead of loading all the page, you only reload the widget using jQuery and Ajax to convert the celcius.
1.0 2015-05-19 22:50:14 email@example.com