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

Code:

<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