Skip to content

Commit

Permalink
Merge branch 'MDL-46496-master' of git://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Aug 11, 2014
2 parents d3014cc + c8f5961 commit c068b08
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion lib/tests/other/jquerypage.php
Expand Up @@ -40,15 +40,33 @@

echo $OUTPUT->header();

// Note: the example was copied from http://jqueryui.com/accordion/ page.
// Note: the examples were copied from http://jqueryui.com/accordion/, and
// http://jqueryui.com/progressbar/#label.

?>

<script>
$(function() {
$( "#accordion" ).accordion();
$( "#progressbar" ).progressbar({
value: false
});
});
</script>
<style>
.ui-progressbar {
position: relative;
}
.progress-label {
position: absolute;
left: 50%;
top: 4px;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}
</style>

<div id="progressbar"><div class="progress-label">Loading...</div></div>

<div id="accordion">
<h3>Section 1</h3>
Expand Down

0 comments on commit c068b08

Please sign in to comment.