-
Notifications
You must be signed in to change notification settings - Fork 51
Resizable
Johannes Geppert edited this page Jun 26, 2015
·
1 revision
The attributes resizeable="true" extends the divs, textareas, textfields and select boxes to be resizeable.
Take a look at the Showcase to see what this tag provides.
A Remote Div that load AJAX content and is resizeable.
<s:url var="ajax" value="/ajax3.action"/>
<sj:div
href="%{ajax}"
indicator="indicator"
resizable="true"
resizableAnimate="true"
resizableGhost="true"
resizableHelper="ui-state-highlight"
resizableAspectRatio="true"
cssStyle="width: 250px; height: 180px;"
cssClass="ui-widget-content ui-corner-all"
>
<img id="indicator" src="images/indicator.gif" alt="Loading..." style="display:none"/>
</sj:div>
<sj:div
resizable="true"
resizableAnimate="true"
resizableGhost="true"
resizableHandles="all"
cssClass="ui-widget-content ui-corner-all"
cssStyle="width: 250px; height: 180px; padding: 0.5em;"
>
Resize me!<br/>
Resize me!<br/>
Resize me!<br/>
</sj:div >
- Home
- Ajax
- UI widgets
- UI interactions
- Resizable for Divs
- Drag and Drop for Divs
- Selectable for Divs
- Sortable for Divs
- Form Elements
- Tasks