Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
I tried to implement modal using jquery event to fire it. also i want to implement google map on the modal popup. Any idea on how to go about this.
Hi Nelson Gidwin,
If you want to show the map in modal here is the way:
The modal container should be:
Then you need a trigger link (I guess you have it):
Then assign the JS events:
<script> jQuery( document ).ready( function( $ ) { $( '.show-map-modal' ).on( 'click', function( ev ) { ev.preventDefault(); jQuery( '#google-map-modal' ).modal( 'show' ); setTimeout( function() { var map = new google.maps.Map( document.getElementById( 'google-map-el' ), { center : { lat: -34.397, lng: 150.644 }, zoom : 8 } ); var myLatlng = new google.maps.LatLng( -34.397, 150.644 ); var marker = new google.maps.Marker( { position: myLatlng, title:"Hello World!" } ); // To add the marker to the map, call setMap(); marker.setMap( map ); }, 400 ); // 400ms wait before the animation is end then initialize the map } ); } ); </script>Here is an example:
https://d.pr/v/HCJ8hV