Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 26, 2013 07:11 AM by winseealn@hotmail.com
Participant
853 Points
1068 Posts
Feb 25, 2013 12:20 PM|LINK
Hi all, i have a page A.aspx from there im calling B.aspx using below code
var url = "B.aspx?Mode=A"; $("#if1").attr('src', url) $('#divpop').dialog({ width: 600, height: 400, resizable: false, title: 'Group', open: function (event, ui) { $(".ui-dialog-titlebar-close").hide(); } }).css({ padding: 0, overflow: 'hidden' });
on B.aspx, i have a cancel button to close the popup, using the below code
function closeWindow() { $("input[id*=cancel]").click(function () { $('#gvResult').remove(); $("*[id$=spnError]").html(""); window.parent.$("#divpop").dialog("close"); return false; }); }
here, all is working fine, the problem is, first time im opening this dialog and close it, then next time opening, the inside controls on dialog is blinking one time. May i know why the inside controls are blinking and how to stop it?
Feb 25, 2013 04:22 PM|LINK
any solution would be appreciated.
Feb 26, 2013 02:40 AM|LINK
any solution??
All-Star
37616 Points
5574 Posts
Feb 26, 2013 04:44 AM|LINK
instead of calling hide() which happens after the render, you should use css to hide close button:
<style>#divpop .ui-dialog-titlebar-close {display:none;}</style>
look thru the jquery ui css, as this is may not be specfic enough to override. the default.
Feb 26, 2013 07:11 AM|LINK
finally myself fixxed this issue,
instead of giving the src to iframe from jquery, gave it in the iframe tag itself.
winseealn@ho...
Participant
853 Points
1068 Posts
jquery dialog blinking
Feb 25, 2013 12:20 PM|LINK
Hi all, i have a page A.aspx from there im calling B.aspx using below code
var url = "B.aspx?Mode=A"; $("#if1").attr('src', url) $('#divpop').dialog({ width: 600, height: 400, resizable: false, title: 'Group', open: function (event, ui) { $(".ui-dialog-titlebar-close").hide(); } }).css({ padding: 0, overflow: 'hidden' });on B.aspx, i have a cancel button to close the popup, using the below code
function closeWindow() { $("input[id*=cancel]").click(function () { $('#gvResult').remove(); $("*[id$=spnError]").html(""); window.parent.$("#divpop").dialog("close"); return false; }); }here, all is working fine, the problem is, first time im opening this dialog and close it, then next time opening, the inside controls on dialog is blinking one time. May i know why the inside controls are blinking and how to stop it?
winseealn@ho...
Participant
853 Points
1068 Posts
Re: jquery dialog blinking
Feb 25, 2013 04:22 PM|LINK
any solution would be appreciated.
winseealn@ho...
Participant
853 Points
1068 Posts
Re: jquery dialog blinking
Feb 26, 2013 02:40 AM|LINK
any solution??
bruce (sqlwo...
All-Star
37616 Points
5574 Posts
Re: jquery dialog blinking
Feb 26, 2013 04:44 AM|LINK
instead of calling hide() which happens after the render, you should use css to hide close button:
<style>#divpop .ui-dialog-titlebar-close {display:none;}</style>
look thru the jquery ui css, as this is may not be specfic enough to override. the default.
winseealn@ho...
Participant
853 Points
1068 Posts
Re: jquery dialog blinking
Feb 26, 2013 07:11 AM|LINK
finally myself fixxed this issue,
instead of giving the src to iframe from jquery, gave it in the iframe tag itself.