Ignore:
Timestamp:
May 30, 2012, 8:18:47 AM (12 years ago)
Author:
psli
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Psli_BingMaps/include/guest.inc.php

    r15432 r15433  
    5959                $desc .= "\n".'
    6060<!-- PSLI Bing Maps Start -->           
    61 <style type="text/css">.thumbnailCategories { display:none; }</style>
     61<style type="text/css">.thumbnailCategories { display:none; } .thumbnails { display:none; } </style>
    6262<div id=\'Coordonates\' style="color: #ffff80; font-size:120%; font-weight:bold; position:relative; margin-top:30px; width:100%; height:30px;">
    6363</div>
     
    117117                                                $desc_data .= '
    118118var psli_t_Child'.$entity['id'].' = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location('.$entity['lat'].','.$entity['lon'].'));'."\n";
    119 
    120                                                 $desc_function_mouse_over .= '
     119                                                if ($entity['type'] == 1)
     120                                                {
     121                                                        $desc_function_mouse_over .= '
    121122function psli_MapsMouseOver_'.$entity['id'].' (e) {
    122123  document.getElementById("Coordonates").innerHTML = "'.l10n('Click to show pictures of')." ".$entity['title'].'";
    123124}'."\n";
     125                                                }
     126                                                else
     127                                                {
     128                                                        $desc_function_mouse_over .= '
     129function psli_MapsMouseOver_'.$entity['id'].' (e) {
     130  document.getElementById("Coordonates").innerHTML = "'.l10n('Click to show picture')." ".$entity['title'].'";
     131}'."\n";
     132                                                }
    124133                                        }
    125134                                       
Note: See TracChangeset for help on using the changeset viewer.