ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/deliantra/www/src/scripts/buttonActivator.script.php
Revision: 1.1
Committed: Wed Apr 7 17:16:31 2010 UTC (16 years, 6 months ago) by sf-dustfinger
Branch: MAIN
CVS Tags: HEAD
Log Message:
Forgot that I renamed one of the script files, so this commit is essential for the previous commit as it removes the old filename and adds the new filename.

File Contents

# User Rev Content
1 sf-dustfinger 1.1 <script type='text/javascript' src='scripts/jquery-1.4.2.min.js'></script>
2    
3     <script type='text/javascript'>
4     $(document).ready(function()
5     {
6     $('.button').hover(
7     function()
8     {
9     $(this).css('background','#d54113');
10     },
11     function()
12     {
13     $(this).css('background','#ab2c05');
14     }
15     );
16    
17     $('.button').mousedown(
18     function()
19     {
20     $(this).css('background','#2D1714');
21     }
22     );
23    
24     $('.button').mouseup(
25     function()
26     {
27     $(this).css('background','#ab2c05');
28     }
29     );
30     });
31     </script>