How to open the Cookies Manager (modal window) by clicking on a custom link?

You can also open the Cookies Manager (modal window) by clicking on a custom link, on a button or an image. Use one of the following options:

Examples:

  • <button id="cookies">click to open the Cookies Manager</button>
  • <a href="/" id="cookies">click to open the Cookies Manager</a>
  • <img src="/" id="cookies" />

Note: If you change the default hashlink (e.g. cookies), do not forget to change it from the ID attribute of your HTML tag.

Screenshot from the Plugin Parameters:

How to open the Cookies Manager (modal window) by clicking on a custom link?
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us