SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Cookie compliance code

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cookie compliance code

    Hi

    I have been trying to add some code to my website so it is compliant with new cookie directive.

    I would like to implement something similar to the one on this website. http://www.crafterscompanion.co.uk/

    Can anyone advise on the code to achieve this.

    regards Ian

  2. #2
    From Italy with love bronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    8,604
    Mentioned
    76 Post(s)
    Tagged
    4 Thread(s)
    Since the solution on the website you linked to uses Jaascript, I've moved your question to the JS forum.
    Anyway, if you take a look at the html code of that page, you can see exactly how they did it.
    Is there anything specific with that code you don't understand?

  3. #3
    Grüße aus'm Pott
    SitePoint Award Recipient Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    2,441
    Mentioned
    39 Post(s)
    Tagged
    1 Thread(s)
    Hi there,

    Something like this should do what you want: http://cookiesdirective.com/.
    Alternatively, this one is very configurable, can be adapted to your site's content and looks quite good, too: http://silktide.com/cookieconsent

    HTH
    How well do you know your JavaScript from your jQuery?
    Check out SitePoint's latest JavaScript challenge


    My blog

  4. #4
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    Thanks for your reply.




    Quote Originally Posted by ianlj View Post
    Hi

    I have been trying to add some code to my website so it is compliant with new cookie directive.

    I would like to implement something similar to the one on this website. http://www.crafterscompanion.co.uk/

    Can anyone advise on the code to achieve this.

    regards Ian

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •