Open AnneBruneau opened 1 year ago
It isn't a standard Jekyll feature (and hence part of the hosted portal theme), nor a feature of the CoL widgets.
So you would have to add something custom to your site. It would require Javascript knowledge. And some integration with the CoL taxonomy pages.
My initial guess would be to have a long list of the genera that has custom maps, and then when showing a CoL genera page, then check if that genera is in your list, and if so add a button dynamically. And that button should then trigger a popup when clicked. It is possible, but it isn't something that can be done in 2 minutes (or an hour for that sake), it requires a bit more thorough knowledge about web development to get it working nicely I believe.
@MortenHofft @thomasstjerne @CaroleSinou How to create pop-up pages?
We have static distribution maps as png files for 100 Caesalpinioideae genera (more to come) that we would like to make visible on the portal. Is it possible to have an icone by the genus name on the taxonomy pages that leads to a pop-up with the maps? We want to avoid creating 100s of extra pages for these maps.
(maps are in assets/MimoseaeMaps) thanks! Anne