Simple jQuery Cookie Pop-up

Posted in Notes Frontend on 4 November 2019

This post has been archived

The content of this post has not been updated since 2019, and may be out of date. Extra care should be taken with any code provided.

This is a simple EU cookie notification pop-up for legacy websites.

All that’s required is jQuery.

Add the following HTML, jQuery script and apply some CSS - example supplied.

Related Notes Posts

November 2024

Simple steps to protect your privacy online

In today’s digital world, protecting your privacy online has become essential. With personal data constantly being shared, stored, and potentially accessed by unauthorised parties, safeguarding...

Continue reading

November 2024

Introduction to Bluesky

Making the most of Bluesky after coming from whatever Twitter (𝕏) has become involves exploring the platform's unique features, adapting to its smaller, community-driven culture,...

Continue reading

November 2024

Web application security testing

With the increasing dependency on web applications in daily operations, securing these applications is paramount to safeguarding data and protecting against breaches. This blog post...

Continue reading

More Notes Posts

Related Frontend Posts

July 2021

AOS: The Animate On Scroll Library

AOS is a simple CSS/JS based animation on scroll library by [Michał Sajnóg](https://github.com/michalsnik). Easy to install and highly configurable. This is a basic introduction, there...

Continue reading

November 2019

Simple jQuery Cookie Pop-up

This is a simple EU cookie notification pop-up for legacy websites. All that’s required is jQuery. Add the following HTML, jQuery script and apply some...

Continue reading

December 2016

Testing YouTube embedded video responsiveness in WordPress

It turns out YouTube video uploads have come a long way since I last tried them out. This is a test post with no discernibly...

Continue reading

More Frontend Posts