Help with iFrame in Pop Up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 04:03 AM
Hi Everyone,
I have requirement, where when I click on UI action then pop up should appear with iframe to display external URL. But, I should be able to edit form or anything which behind the pop up. Basically pop up should be movable and always on display with abilty to edit form.
Note : if you look into screenshot , when pop up is there then I cannot edit the form.
UI Action :
function showPage(){
var gdw = new GlideDialogWindow('carear_frame');
//gdw.setSize(750,300);
gdw.setTitle("Test");
gdw.render();
}
UI Page :
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<iframe src="https://google.com" height="400px" width="700px"></iframe>
</j:jelly>
Is there any way where I can have a pop up and I should be able to edit behind form.
cc: @Ankur Bawiskar
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 06:48 AM
Try calling gdw.hideBackground() before gdw.render()
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 08:54 AM
Your suggestion helped me to solve half of my problem . But I have two more issue, First being that is there way I can adjust size of pop up like we decrease or increase size of notepad with cursor. Second issue can I have minimize button which can minimize the pop up and I should be able to use it when needed.
Thanks .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:11 AM
Do you mean you want to let the user resize the popup?
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 09:55 PM - edited 06-27-2024 11:07 PM
The user should be able to resize the pop up using cursor according to his desire.
And one morething I have to achieve this in CSM workspace also - hideBackground() . How can I make background form editable .
function onClick(g_form) {
var ui_page_id = 'e80a9ae9830302105dc771a6feaad374';
g_modal.showFrame({
url: '/ui_page.do?sys_id=' + ui_page_id,
title: 'Test',
size: 'xl',
height: 500
});
}
Thanks