Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added demos for combinations: buttons inside dialog, accordion and tabs

  • Loading branch information...
commit b9329fd4d355ab736066a24c66b455072df9dd8d 1 parent 413c2ff
stefanlivens stefanlivens authored taitems committed
Showing with 45 additions and 3 deletions.
  1. +45 −3 demo.html
48 demo.html
View
@@ -80,7 +80,7 @@
// Button
$("#divButton, #linkButton").button();
-
+
// Icon Buttons
$("#leftIconButton").button({
icons: {
@@ -109,6 +109,13 @@
event.preventDefault();
});
+ // Combinations
+ $('#tabs2').tabs();
+ $("#accordion2").accordion({ header: "h4" });
+ $(".uibutton").button({
+ icons: {primary: 'ui-icon-wrench'}
+ });
+
});
</script>
<style type="text/css">
@@ -242,7 +249,7 @@ <h2 class="demoHeaders">Modal Dialog</h2>
<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p><a href="#" class="uibutton">Change</a>
</div>
<!-- Datepicker -->
@@ -497,7 +504,42 @@ <h2 class="demoHeaders">Overlay and Shadow Classes <em>(not currently used in UI
</div>
</div>
-
+ <h2 class="demoHeaders">Combination examples</h2>
+ <div class="columnbox">
+ <div id="tabs2">
+ <ul>
+ <li><a href="#tabs2-1">First</a></li>
+ <li><a href="#tabs2-2">Second</a></li>
+ <li><a href="#tabs2-3">Third</a></li>
+ </ul>
+ <div id="tabs2-1">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eget diam nec urna hendrerit tempus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum aliquam ligula non nulla cursus volutpat. Aliquam malesuada felis nec turpis auctor interdum. Cras et lobortis dolor. Nam sodales, dolor eu cursus faucibus, justo leo vestibulum turpis, id malesuada erat ipsum et leo. Integer id aliquam augue. Proin quis risus magna.</p>
+ <a href="#" class="uibutton ui-icon-gear">Change</a>
+ </div>
+ <div id="tabs2-2">Tab 2</div>
+ <div id="tabs2-3">Tab 3</div>
+ </div>
+ </div>
+ <div class="columnbox">
+ <div id="accordion2">
+ <div>
+ <h4><a href="#">First</a></h4>
+ <div>
+ <p>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</p>
+ <a href="#" class="uibutton">Change</a>
+ </div>
+ </div>
+ <div>
+ <h4><a href="#">Second</a></h4>
+ <div>Phasellus mattis tincidunt nibh.</div>
+ </div>
+ <div>
+ <h4><a href="#">Third</a></h4>
+ <div>Mauris tempor urna non quam tincidunt aliquam. Proin venenatis metus eu purus interdum a vehicula ipsum sollicitudin. Mauris sed dignissim odio. Nam id odio sed diam dapibus dignissim. Nulla vestibulum nisl ac magna scelerisque adipiscing. Nam pellentesque sapien vulputate nisi scelerisque ut vehicula orci luctus. Sed rhoncus tempor metus vitae egestas. Proin pharetra tristique justo ac rutrum. Vestibulum ac pharetra dolor. Cras nibh arcu, bibendum eget luctus id, rhoncus nec augue. Integer ornare rhoncus nulla, eu aliquam mi ornare ullamcorper. Praesent egestas auctor orci, non rhoncus sapien eleifend at. Quisque eget purus sem, ut dignissim ligula. Etiam sollicitudin dui libero, id ullamcorper metus. </div>
+ </div>
+ </div>
+ </div>
+
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.