Jump to content

data-ipsdialog content disappears after closing


SeNioR-

Recommended Posts

Hey! I have a question.  Is there any way to prevent the div element from disappearing after closing the dialog?

Here's my code.

<a class="ipsDataItem_title ipsType_break" data-ipsdialog="" data-ipsdialog-content="#FullScreen" data-ipsdialog-fixed="true"  data-ipsdialog-size="fullscreen" href="#FullScreen">Full Screen</a>

and content. This whole div disappears after closing the data-ipsdialog and shows after reloading page.

<div id="FullScreen">
Content
</div>

 

Link to comment
Share on other sites

No, there is no way to do that - that's not how dialogs are meant to be used.

When you use dialogs in the case you are doing here, clicking the link takes that div and turns it into an overlay (a dialog)...when you close it, we hide that overlay. It may no longer exist in the DOM in its original location even, so it's not as simple as just not showing the overlay but showing it where it was originally embedded.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...