Changeset 459

Show
Ignore:
Timestamp:
11/14/08 19:34:58 (2 months ago)
Author:
armin
Message:

allow to use the toolBar outside the mapZone

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pmapper/trunk/javascript/pmapper.js

    r274 r459  
    9898function setTbTDButton(button) { 
    9999    if (PMap.tbImgSwap != 1) { 
    100         $("#mapZone .TOOLBARTD").addClass('TOOLBARTD_OFF').removeClass('TOOLBARTD_ON'); 
     100        $("#toolBar .TOOLBARTD").addClass('TOOLBARTD_OFF').removeClass('TOOLBARTD_ON'); 
    101101        $('#tb_' + button).removeClass('TOOLBARTD_OFF').addClass('TOOLBARTD_ON').removeClass('TOOLBARTD_OVER'); 
    102102    } else { 
    103         $("#mapZone .TOOLBARTD").each(function() { 
     103        $("#toolBar .TOOLBARTD").each(function() { 
    104104            //$(this).addClass('TOOLBARTD_OFF').removeClass('TOOLBARTD_ON'); 
    105105            $(this).find('>img').imgSwap('_on', '_off');