Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Looking for a banner which will stay closed if close is clicked.

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2018

Currently am trying to give users the ability to close the announcement banner. I have this working until the page is refreshed or if a user navigates to a new page...

Code:
<div class="aui-message closeable">
<p class="title">
<a href="https://xxxxxxxxxxxx/display/~admin/2018/08/28/Confluence+Printing+Update">New printing add-on installed: Scroll PDF Exporter.</a>
</div>

  • The close button (X) appears if I use Custom HTML in Look and Feel.
  • The same code will not display the X in the Announcement Banner.

Does anyone know a way to keep the banner closed when navigating if a person clicks the X?

 

2 answers

1 vote
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2020

Hi @Jonathan Smith 

Did you figure out how to do that?
I would like to achieve the same thing, and if possible without expensive plugins.

Regards, Dominic

1 vote
Alejandro Villalobos _atSistemas_ August 31, 2018

Hi @Jonathan Smith

When you says...
"The same code will not display the X in the Announcement Banner."

Did you mean that you have tried the same HTML code on Announcement Banner for Confluence Free App and on there, it doesn't work?

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 31, 2018

Correct @Alejandro Villalobos _atSistemas_ .

Posting code in the Announcement Banner for Confluence will not display a close button.

Posting code in global HTML displays the closed button, but if you navigate off the page, the banner (from code) reappears. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events