trying to create the right iframe behavior
This commit is contained in:
@@ -15,8 +15,13 @@ function attach_info_window(map, marker, events, infowindow) {
|
|||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
for (key in events) {
|
for (key in events) {
|
||||||
|
// <a class="infowindow_body">
|
||||||
|
// <a class="infowindow_body" href="${events[key].url}">
|
||||||
|
//console.log(events[key].url);
|
||||||
|
//lejourdesprofs.org
|
||||||
|
//local_lejourduprof.com
|
||||||
window_content += `
|
window_content += `
|
||||||
<a class="infowindow_body" href="${events[key].url}">
|
<a class="infowindow_body" href="${events[key].url}" target="_blank">
|
||||||
<p>${events[key].title}</p>
|
<p>${events[key].title}</p>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ function mp_fill_fields_value($id) {
|
|||||||
|
|
||||||
// add post url
|
// add post url
|
||||||
$event->url = get_post_permalink($id);
|
$event->url = get_post_permalink($id);
|
||||||
|
mp_console_log($event->url);
|
||||||
|
|
||||||
return $event;
|
return $event;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user