Created
May 30, 2013 17:54
-
-
Save Wilfred/5679748 to your computer and use it in GitHub Desktop.
strange dropdown behaviour -- try opening the select. Only occurs on Chrom[e|ium] on Linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <style> | |
| #dock { | |
| width: 70px; | |
| background-color: green; | |
| height: 100%; | |
| position: fixed; | |
| left: 0px; | |
| bottom: 0px; | |
| } | |
| select { | |
| margin-left: 300px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="dock"> | |
| </div> | |
| <div class="container"> | |
| <select name="product_tier" id="id_product_tier"> | |
| <option value="" selected="selected">---------</option> | |
| <option value="1">test-product-tier</option> | |
| </select> | |
| </div> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| // triggered when mousing over the green div | |
| $('#dock').mouseenter(function() { | |
| alert('moused over!'); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment