Parent Directory
|
Revision Log
|
Revision Graph
Initial commit of nicemap module. Nicemap is a WMS (Web Mapping Service) client for Drupal
| 1 | if (typeof(Drupal) == "undefined" || !Drupal.nicemap) { |
| 2 | Drupal.nicemap = {}; |
| 3 | } |
| 4 | |
| 5 | Drupal.nicemap.iehover = function() { |
| 6 | // Provide consistent hovering |
| 7 | $('div.nicemap-map a.geopoint').hover(function(){ |
| 8 | $(this).addClass('hover'); |
| 9 | }, function() { |
| 10 | $(this).removeClass('hover'); |
| 11 | }); |
| 12 | } |
| 13 | |
| 14 | if (Drupal.jsEnabled) { |
| 15 | $(document).ready(function() { |
| 16 | if ($.browser.msie) { |
| 17 | Drupal.nicemap.iehover(); |
| 18 | } |
| 19 | }); |
| 20 | }; |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |