XF 1.5 Make a block collapsable with Cookie


Active member
I have a block for banners on my forum. I want to make it collapsable with a cookie that has a lifetime of 7 days (after 7 days the block should be visible again and may be collapsed again).

I guess thats just a few lines of JS-code. I found this addon, but it's too heavy for this purpose: ToggleME