MDL-11515:
[moodle-linuxchix.git] / theme / custom_corners / js / jquery.php
blobae27e654784fe68ab7f99005638fdc41dda48739
1 <script src="<?php echo $CFG->themewww .'/'. current_theme() ?>/js/jquery-latest.pack.js" type="text/javascript"></script>
3 <script type="text/javascript">
4 $(document).ready(function() {
5 script.init();
6 });
8 var script = {
9 corrections: function () {
10 if (top.user) {
11 top.document.getElementsByTagName('frameset')[0].rows = "117,30%,0,200";
15 info: function() {
16 window.setTimeout(function(){$('#infowrapper').click();}, 4000);
17 $('#infowrapper').toggle(function() {
18 $('#infooverlay').animate({height: 'toggle'}, "fast");
19 $(this).animate({opacity: 0.3}, "fast");
20 }, function() {
21 $('#infooverlay').animate({height: 'toggle'}, "fast");
22 $(this).animate({opacity: 0.9}, "fast");
23 });
26 init: function() {
27 script.corrections();
28 // script.info();
31 </script>