trying to create the right iframe behavior

This commit is contained in:
asus
2023-11-24 10:49:34 +01:00
parent 7f23b73022
commit 68678b26ce
2 changed files with 7 additions and 1 deletions

View File

@@ -15,8 +15,13 @@ function attach_info_window(map, marker, events, infowindow) {
</div>
`;
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 += `
<a class="infowindow_body" href="${events[key].url}">
<a class="infowindow_body" href="${events[key].url}" target="_blank">
<p>${events[key].title}</p>
</a>
`;

View File

@@ -136,6 +136,7 @@ function mp_fill_fields_value($id) {
// add post url
$event->url = get_post_permalink($id);
mp_console_log($event->url);
return $event;
}