Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 14: | Rivi 14: | ||
<div style="height: 100%; width: 100%; position: relative;" id="<!--{$id|default:CommonObsMap|escape:'html'}-->_container"></div> | <div style="height: 100%; width: 100%; position: relative;" id="<!--{$id|default:CommonObsMap|escape:'html'}-->_container"></div> | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
| Rivi 40: | Rivi 40: | ||
if ( '<!--{$hero|default:false|escape:'html'}-->' == 'true' ) { | if ( '<!--{$hero|default:false|escape:'html'}-->' == 'true' ) { | ||
container = jQuery( '.hero-container' ).attr( 'id' ); | container = jQuery( '.hero-container' ).attr( 'id' ); | ||
jQuery( '.hero-container' ).addClass( 'hero-map' ); | |||
jQuery( '.hero-container' ).removeClass( 'hero-empty' ); | |||
jQuery ( '#' + container ).css( 'border-bottom', '1px solid #e4e3de' ); | jQuery ( '#' + container ).css( 'border-bottom', '1px solid #e4e3de' ); | ||
} | } | ||


