Changeset 5391 for cowsclient


Ignore:
Timestamp:
12/06/09 13:01:06 (10 years ago)
Author:
domlowe
Message:

Adding tooltips to show feature abstracts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/cowsclient/public/js/layerControl.js

    r5331 r5391  
    5050                this._selectedLayerElement = null; 
    5151                this._selectedDims = {}; 
    52  
     52                                 
    5353                this.tree = new YAHOO.widget.TreeView($(this.treeDiv)); 
    5454                this.tree.subscribe('labelClick', this._selectTreeNode.bindAsEventListener(this)); 
     
    181181                nodeData.abstract = layer.getAbstract(); 
    182182                nodeData.layerData = layer; 
     183            nodeData.title = layer.getAbstract(); //used for tooltips 
    183184 
    184185                var subLayers = layer.getSubLayers(); 
Note: See TracChangeset for help on using the changeset viewer.