J!Extensions Store™
Welcome, Guest
Please Login to access forum.
Link to accept cookies (1 viewing) 
Go to bottom
TOPIC: Link to accept cookies
John Dagelmore
Posts: 3625
User Offline
Link to accept cookies Karma: 78  
If you want to place inside your contents a link or custom button to accept cookies, you can use the following code snippet:


<a href="javascript:void(0)" onclick="jQuery('a.cc-allow').trigger('click');">ACCEPT COOKIE</a>
You can use the 'onclick' attribute for an element of your choice, a link, a button, etc How to style and place it is up to you, the basic part is the 'onclick' attribute that triggers the cookie accept action.
Logged Logged  
  The administrator has disabled public write access.
Go to top