| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|---|
| 3 | <head> |
|---|
| 4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|---|
| 5 | <meta name="generator" content="PSPad editor, www.pspad.com" /> |
|---|
| 6 | <title>jQuery test file for case sensitivity issue</title> |
|---|
| 7 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> |
|---|
| 8 | <script type="text/javascript"> |
|---|
| 9 | //<![CDATA[ |
|---|
| 10 | $(function() { |
|---|
| 11 | $('body').attr('bgColor', 'red'); |
|---|
| 12 | $('body').attr('bgcolor', 'yellow'); |
|---|
| 13 | $('#myImage').attr('usemap', '#myMap'); |
|---|
| 14 | }); |
|---|
| 15 | //]]> |
|---|
| 16 | </script> |
|---|
| 17 | </head> |
|---|
| 18 | <body> |
|---|
| 19 | <img id="myImage" src="http://lolcat.com/images/lolcats/805.jpg" width="342" height="437" alt="lolcat" /> |
|---|
| 20 | <map id="myMap" name="myMap"> |
|---|
| 21 | <area shape="rect" coords="3,7,84,63" href="#" alt="kapshun" title="kapshun" /> |
|---|
| 22 | <area shape="rect" coords="110,262,166,336" href="#" alt="ie projetc managor greeted bai web devlopars" title="ie projetc managor greeted bai web devlopars" /> |
|---|
| 23 | </map> |
|---|
| 24 | <br /> |
|---|
| 25 | expected: yellow background + image map is working |
|---|
| 26 | </body> |
|---|
| 27 | </html> |
|---|