/[drupal]/contributions/modules/nicemap/nicemap.js
ViewVC logotype

Contents of /contributions/modules/nicemap/nicemap.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Nov 14 18:03:58 2008 UTC (12 months, 1 week ago) by jmiccolis
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/javascript
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