Reproduce the banner
To reproduce the banner there are 2 completely equivalent methods
Method 1: class CSS
On any HTML element of the page you can put the CSS class
elmo-show
. Any click on this element will make the banner visible again and the user can update his/her preferences.Method 2: API JavaScript
The Elmo script creates the object in the global scope
By calling the
Elmo
with the method show()
.By calling the
Elmo.show()
function (or the equivalent window.Elmo.show()
) the banner will be made visible again and the user can update his/her preferences.Examples
<!-- <div> block with "elmo-show" --> <div class="elmo-show">Modifica preferenze Cookie</div> <!-- Link with "elmo-show" --> <a href="javascript:void(0)" class="elmo-show">Modifica preferenze Cookie</a> <!-- Link with API --> <a href="javascript:Elmo.show()">Modifica preferenze Cookie</a>