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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you run custom code at page startup? Edited

On my main Confluence page I'd like a big red banner that states "Website www.xyz.com is down!" whenever that site is down. Is there a built in way to do this, or is there a way to run a block of HTML code that could check this? I don't want the banner to appear if the website is available.

(Atlassian Confluence 6.15.8)

1 answer

1 accepted

1 vote
Answer accepted

@David HuntThere is no default way of doing this. But you can customize look and feel of page header section in Confluence.

So I would suggest you to add empty `div` as a placeholder and a custom JS, that verify if the site is UP and in case site is down, insert some text in div.

You can learn this from here - https://confluence.atlassian.com/confkb/how-to-add-a-site-wide-banner-165609599.html

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with impro...

309 views 11 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you