We have a requirement to create a component to broadcast messages to users in the form of a "pop-up window" on the page.
Authors should have the ability to edit the pop-up component message, and on publishing , the message should be be displayed at the center of page as a dialog only , and should not occupy any place in the actual page content.
We should be able to add multiple messages in a page.
Is there any component to achieve this messaging functionality? OR a suggested approach.
I have tried using jquery to achieve the pop-up functionality, and the pop-up is displaying as expected in author.
However, my concern is on how the component can be displayed only as a popup and not use up any portion of the page in the publish sites.
You are on the right track. There is no OOTB component for this. When you have to get functionality into AEM that does not have an OOTB component - you need to use JS lib - like Bootstrap, JQuery, etc- and create a custom component.
I needed a news ticker and built it via JQUery and HTL.