[Lizmap] HTML in media folder (Lizmap)

Marin M marin.mirosevic at gmail.com
Thu Aug 11 09:00:30 PDT 2022


Thanks,

Is this lying in the media (Lizmap) folder?



čet, 11. kol 2022. u 17:53 DAUCE Antoine <a.dauce at audelor.com> napisao je:

> Hi,
>
>
> There might be another way to do so. I'm oftenly using the "Background
> selector
> <https://github.com/3liz/lizmap-javascript-scripts/blob/master/library/ui/background_selector>"
> script in this github repo
> https://github.com/3liz/lizmap-javascript-scripts, and it seems doing
> this.
>
> In the JS file :
>
>    - On a click event you create a div and add it to html
>
> In the css file :
>
>    - You define style of your created div.
>
>
> Regards.
>
> Antoine.
>
>
> ------------------------------
> *De :* Lizmap <lizmap-bounces at lists.osgeo.org> de la part de Etienne
> Trimaille <etrimaille at 3liz.com>
> *Envoyé :* jeudi 11 août 2022 12:12
> *À :* Marin M; Peter Berger; lizmap at lists.osgeo.org
> *Objet :* Re: [Lizmap] HTML in media folder (Lizmap)
>
>
> Hi,
>
> 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
>
>
> https://docs.lizmap.com/current/en/publish/configuration/popup.html#usage-of-media-images-documents-etc
>
> > For a given feature, using a path in your field starting by media/,
> Lizmap will display:
>
>    - *the content* for txt or HTML files
>
> On 11/08/2022 09:36, Marin M wrote:
>
> I thought If there is possibility to input JS then it would be logic to
> couple-in HTML
>
> Maybe wishful thinking. But could be cool
>
> B regards,
>
> Marin Mirosevic
>
>
>
> Dana ponedjeljak, 18. srpnja 2022. Peter Berger <peter.berger at bluewin.ch>
> piše:
>
> Interesting question. Hope somebody can help.
>>
>> Peter
>>
>> Von meinem iPhone gesendet
>>
>> > Am 18.07.2022 um 17:20 schrieb Marin M <marin.mirosevic at gmail.com>:
>> >
>> > 
>> > hi,
>> >
>> > is it possible ,in addition to the Javascript file, to have an HTML
>> file connected to it , in the media folder .
>> >
>> > 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.
>> >
>> > Is it possible at all to do coupled HTML/Javascript in the Media folder
>> Lizmap`?
>> >
>> > If so, how ?I tried and it seems it is not working. Or am I doing
>> something wrong ?
>> >
>> > best regards
>> > _______________________________________________
>> > Lizmap mailing list
>> > Lizmap at lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/lizmap
>>
>>
> _______________________________________________
> Lizmap mailing listLizmap at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/lizmap
>
> --
>
> Etienne Trimaille
> Géomaticien
> www.3liz.com
>
> *Tel.* 06 12 93 11 39
> *Bureau*
> 31, rue de l'Argenterie
> 34000 Montpellier
> *Siège social*
> 73, allée Kleber
> Boulevard de Strasbourg
> 34000 Montpellier
>
>
>
>
> Cliquez ici
> <https://www.mailcontrol.com/sr/IZP0hfFtpfbGX2PQPOmvUmaGI8Tu3yGrXzpJwO3oUj389YPmav-99AZJo3Z41zkS7cDW6vO5F9cgL4AI7al_HQ==>
> pour signaler ce message comme étant du spam.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220811/ec01f442/attachment.htm>


More information about the Lizmap mailing list