I want to be able to show an announcement on the site that requires a confirmation by the user before it disappears.

Something similar to Absolute Messages but I don't want to have all status messages shown that way.

3 Answers 3


You can use jQuery for the this purpose. Simply use mouseover event on the announcement DIV. Write a jQuery function to hide this DIV using .hide method of jQuery. like this.

$(document).ready(function() {
$("#announcement_div_id").hover(function() {

Here announcement_div_id is the id of the div which you want to hide.


I have heard that EU Cookie Compliance works well for one time messages. It is not limited to messages about cookies.


I have done this earlier. The way I achieved is via Jquery.

I added a special ID to the the messages I want this special way, else the other ID's were left to default. Now, if there is no special ID, then use .hide() to hide the div, else let the module do the rest.

Hope that helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.