Bug Tracker

Ticket #2086: test-2086.html

File test-2086.html, 605 bytes (added by dmethvin, 11 years ago)
Line 
1<!DOCTYPE html> 
2<html> 
3<head> 
4<title></title> 
5<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
6<style> 
7#test {
8        font-size:1.2em;
9                background: #fd8;
10} 
11</style> 
12<script type="text/javascript"> 
13$(document).ready(function(){
14
15        $('#test').mouseover(function() {
16
17        $('#test').animate({fontSize:'1.8em'},200);
18
19    });
20
21    $('#test').mouseout(function() {
22
23        $('#test').animate({fontSize:'1.2em'},200);
24
25    });
26
27});
28</script> 
29</head> 
30<body> 
31
32 <div id="test" href="http://www.google.com">Test</div> 
33
34</body> 
35</html>