Difference between revisions of "Widget:ShowOnMap.js"
Jump to navigation
Jump to search
(jquery document ready) |
(console.log) |
||
Line 12: | Line 12: | ||
if (typeof $ != 'undefined') { | if (typeof $ != 'undefined') { | ||
$(function() { | $(function() { | ||
+ | console.log("set show on map links"); | ||
$(".Kartenlink a").on('click', function(event) { | $(".Kartenlink a").on('click', function(event) { | ||
divId = $(this).attr("href").split('#').pop(); | divId = $(this).attr("href").split('#').pop(); |
Revision as of 00:46, 14 January 2022
Javascript for map display. Functions to control map from links in page text.