# Create Perspective popup without header bar

**URL:** <https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 26, 2022, 12:46pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704 "2022-10-26T12:46:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [October 26, 2022, 12:46pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/1 "2022-10-26T12:46:04Z")

</div>

Perspective 8.1.21

Is there anyway to create a Perspective popup without the header bar?

(Short of creating a hidden view on an XY container and rolling my own popups).

Thanks.  
-Shane

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 26, 2022, 2:12pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/2 "2022-10-26T14:12:38Z")

</div>

If you're doing this in the Event Configuration | Popup dialog then disable the _Show close button_ checkbox and, I think, leave the title blank.

If you want a close button then you've got to have the title bar.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 26, 2022, 2:14pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/3 "2022-10-26T14:14:57Z")

</div>

> [@Transistor](#):
>
> If you want a close button then you've got to have the title bar.

Or I guess add a button yourself, that would call the close popup action, passing it the popup's id

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 26, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/4 "2022-10-26T14:17:01Z")

</div>

Pascal is correct. I should have said, "If you want **the** close ' **X**' button then you've got to have the title bar.

Your other options are to create your own close button or make the popup background dismissable.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 26, 2022, 2:32pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/5 "2022-10-26T14:32:27Z")

</div>

> [@Transistor](#):
>
> popup background dismissable

you called?😛

```auto
#popup-YOURPOPUPID .popup-header.ia_popup__header {
    display: none;
}

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/35ee40af113ddbcc239f4cfd987fd3685dcdd4e8.png)

Still has the X btw, its pushed down tho, so becarefull not to put some inputbox there  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/9/f96d15ec66b47828799364544fea84784b289605.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 26, 2022, 9:12pm UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/6 "2022-10-26T21:12:44Z")

</div>

You can close the current popup by supplying an empty string for the id

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [October 27, 2022, 1:34am UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/7 "2022-10-27T01:34:13Z")

</div>

Thanks for the lively discussion everyone. After some trial and error,  
it turns out _both_ showCloseIcon and draggable have to be false.

```auto
system.perspective.openPopup('puFatalMessageBox', 
         'Popups/puFatalMessageBox', 
         showCloseIcon=False, draggable=False)

```

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 27, 2022, 2:47am UTC](https://forum.inductiveautomation.com/t/create-perspective-popup-without-header-bar/65704/8 "2022-10-27T02:47:15Z")

</div>

The documentation [calls this out](https://docs.inductiveautomation.com/display/DOC81/Popup+Views#:~:text=closing%20the%20view.-,Title%20Bars%20on%20Popups,-When%20called%20as).
