Lose the faff, bring back the fun with toepoke.co.uk
Fork me on GitHub


Ease jQuery UI development with a Fluqi library

Simply play with the properties on the Widget Properties tab, click the Update button to regenerate the C#, HTML and JavaScript. Once the page has loaded have a look at the Widget Methods tab to see how you can interact with the widget.

jQuery Events Log

Tick the Show & Render Events checkbox to start showing the events (and click Update).

Test Harness Options

Here are the methods available for the jQuery UI control, have a click on the buttons and see how the behaviour of the control changes.

Below is the code required to use the options you have selected above.

		.SetCreateEvent("createEvent(event, ui);")
		.SetChangeEvent("changeEvent(event, ui);")
		.SetCompleteEvent("completeEvent(event, ui);")


Which produces the following HTML mark-up.


Which initialises the control with the following [generated] JavaScript.



Notice how Fluqi generates the minimum JavaScript necessary to configure the widget, minimising the download to the browser.

You can also change the theme used by jQuery UI using the switcher. Also note you can see the events for the control as they happen in the jQuery Events log (this also adds the event code to the JS Code tab ... uncheck the Show & Render Events option to stop this).

Note in order to update the value (and therefore how far through the process the progress bar should display) is handled through a javascript function (that is not through the initialisation presented here).

To see how you could update the progress bar, please see the Scripts/progress-bar.js in the demo website source code.

Finally, you can use an animated gif as part of your progress bar through CSS. For details please see the jQuery UI website.