I am using the plugin 'Cookie Monster' by herdboy which generates a cookie notification message displayed as either a div at the top/bottom of your page or as an overlay. The basic plugin options limit the notification message positioning to either the top of your page or at the bottom (this is illustrated in the link). However, I want to set the message to appear inside a specific div of my choosing.
I can see that inside the plugin's JS file, your choice in the basic options means the message will either be positioned using $('body').prepend
or $('body').append
. I edited the js file to replace 'body'
with '#myDiv'
.
My problem is that even after having changed the plugin's JS file, the message continues to appear as the first div in the body tag (ie. prepended to the body). I have checked all other files in the plugins/system/cookiemonster
location, and the only file which seems to reference injecting the message markup into the site is the JS file. I can't see any basic JS errors, and it is definitely not a caching issue.
What is it that I am potentially missing?