<div dir="ltr"><div dir="ltr">Thanks,<div><br></div><div>Is this lying in the media (Lizmap) folder? </div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">čet, 11. kol 2022. u 17:53 DAUCE Antoine <<a href="mailto:a.dauce@audelor.com">a.dauce@audelor.com</a>> napisao je:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_5905544753709895714divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p>Hi,</p>
<p><br>
</p>
<p>There might be another way to do so. I'm oftenly using the "Background selector<a href="https://github.com/3liz/lizmap-javascript-scripts/blob/master/library/ui/background_selector" target="_blank"></a>" script in this github repo
<a href="https://github.com/3liz/lizmap-javascript-scripts" id="gmail-m_5905544753709895714LPlnk784846" target="_blank">
https://github.com/3liz/lizmap-javascript-scripts</a>, and it seems doing this.</p>
<p>In the JS file :</p>
<ul style="margin-bottom:0px;margin-top:0px">
<li>On a click event you create a div and add it to html</li></ul>
<div>In the css file :</div>
<div>
<ul style="margin-bottom:0px;margin-top:0px">
<li>You define style of your created div.</li></ul>
<div><br>
</div>
<div>Regards.</div>
<div><br>
</div>
<div>Antoine.<br>
</div>
</div>
<p><br>
</p>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_5905544753709895714divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Lizmap <<a href="mailto:lizmap-bounces@lists.osgeo.org" target="_blank">lizmap-bounces@lists.osgeo.org</a>> de la part de Etienne Trimaille <<a href="mailto:etrimaille@3liz.com" target="_blank">etrimaille@3liz.com</a>><br>
<b>Envoyé :</b> jeudi 11 août 2022 12:12<br>
<b>À :</b> Marin M; Peter Berger; <a href="mailto:lizmap@lists.osgeo.org" target="_blank">lizmap@lists.osgeo.org</a><br>
<b>Objet :</b> Re: [Lizmap] HTML in media folder (Lizmap)</font>
<div> </div>
</div>
<div>
<p>Hi,<br>
</p>
<p>I haven't tried, but an HTML media file should be loaded in the popup. Not included as an iframe. Maybe it's not exactly what you wanted. Just for your information<br>
</p>
<p><a href="https://docs.lizmap.com/current/en/publish/configuration/popup.html#usage-of-media-images-documents-etc" id="gmail-m_5905544753709895714LPlnk273127" target="_blank">https://docs.lizmap.com/current/en/publish/configuration/popup.html#usage-of-media-images-documents-etc</a></p>
<p>> For a given feature, using a path in your field starting by <code class="gmail-notranslate">
<span>media/</span></code>, Lizmap will display:</p>
<ul>
<li><strong>the content</strong> for txt or HTML files </li></ul>
<div>On 11/08/2022 09:36, Marin M wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I thought If there is possibility to input JS then it would be logic to couple-in HTML</div>
<div><br>
</div>
<div>Maybe wishful thinking. But could be cool</div>
<div><br>
</div>
<div>B regards,</div>
<div><br>
</div>
<div>Marin Mirosevic</div>
<div><br>
</div>
<br>
<br>
Dana ponedjeljak, 18. srpnja 2022. Peter Berger <<a href="mailto:peter.berger@bluewin.ch" target="_blank">peter.berger@bluewin.ch</a>> piše:</div>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Interesting question. Hope somebody can help.<br>
<br>
Peter<br>
<br>
Von meinem iPhone gesendet<br>
<br>
> Am 18.07.2022 um 17:20 schrieb Marin M <<a href="mailto:marin.mirosevic@gmail.com" target="_blank">marin.mirosevic@gmail.com</a>>:<br>
> <br>
> <br>
> hi,<br>
> <br>
> is it possible ,in addition to the Javascript file, to have an HTML file connected to it , in the media folder .<br>
> <br>
> My intention would be, when a feature is selected/clicked on a lizmap web client, that Javascript calls a div ID which has an iframe defined on it.<br>
> <br>
> Is it possible at all to do coupled HTML/Javascript in the Media folder Lizmap`?<br>
> <br>
> If so, how ?I tried and it seems it is not working. Or am I doing something wrong ?<br>
> <br>
> best regards<br>
> _______________________________________________<br>
> Lizmap mailing list<br>
> <a href="mailto:Lizmap@lists.osgeo.org" target="_blank">
Lizmap@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/lizmap" target="_blank">
https://lists.osgeo.org/mailman/listinfo/lizmap</a><br>
<br>
</blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Lizmap mailing list
<a href="mailto:Lizmap@lists.osgeo.org" target="_blank">Lizmap@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/lizmap" target="_blank">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</pre>
</blockquote>
<div>-- <br>
<p><span style="font-weight:bold;color:rgb(154,205,50)">Etienne Trimaille</span> <br>
Géomaticien <br>
<a href="http://www.3liz.com" style="text-decoration:none;color:rgb(154,205,50)" target="_blank">www.3liz.com</a>
<br>
<span style="font-size:0.8em"><br>
<b>Tel.</b> 06 12 93 11 39 <br>
<b>Bureau</b> <br>
31, rue de l'Argenterie <br>
34000 Montpellier <br>
<b>Siège social</b> <br>
73, allée Kleber <br>
Boulevard de Strasbourg <br>
34000 Montpellier </span></p>
<p><br>
</p>
</div>
<br>
<br>
<font style="background-color:rgb(255,255,255)">
<p align="center"><font style="background-color:rgb(255,255,255)">Cliquez <a href="https://www.mailcontrol.com/sr/IZP0hfFtpfbGX2PQPOmvUmaGI8Tu3yGrXzpJwO3oUj389YPmav-99AZJo3Z41zkS7cDW6vO5F9cgL4AI7al_HQ==" target="_blank">
ici</a> pour signaler ce message comme étant du spam.</font></p>
</font></div>
</div>
</div>
</blockquote></div></div>