Widget Factory

Create stateful jQuery plugins using the same abstraction as all jQuery UI widgets. ExamplesDefault functionality This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js). The three boxes are initialized in different ways. Clicking them changes their background color. View source to see how it works, its heavily commented To learn more … Continue reading


Position an element relative to the window, document, another element, or the cursor/mouse. ExamplesDefault functionalityImage Cycler Use the form controls to configure the positioning, or drag the positioned element to modify its offset. Drag around the parent element to see collision detection in action. view source 1 2 3 4 5 6 7 8 9 … Continue reading