Hi, I am looking another way to have popup in my webpage.
I have a lot of popups, and I use iframe inside dialog UI, but the problem is that it takes to much time, and when I debugged it I found that when the dialog is loading it call three timer to the server.
I tries to use the load() function, but in this case, the jquery is not executed when the dialog is loading the iframe.
Hi, I've already look for topics in this forums about this problem, and the ones I found didn't solve my problem.
I am working in a page with a lot of jQuery for several days, and when I finished I start the testing in different explorers. To my sorprise, I found that in IE9 the function removeAttr('disabled'), that I use many times, didnot work.
I tried with Attr('disabled', false) it doesn't work.
What I want to do is to drag the rectangle out of that div.
I tried to put that the container is the body... but it does not work. I mean... I can move the mouse out of the box but I can see what I am dragging. The same happends with the rectangle
Hi! Here I am, with a new question. Maybe an easy one.
I have an IFrame inside a Dialog... The user can navigate inside the dialog, going to any page he wants.
The thing is that i need a way to change the dialog size according to the content of the open page inside it.
Do exist a way to do this?
Now, i do this with this code
function updateFrame(x, y) {
div.dialog("option", "height", y);
div.dialog("option", "width", x);
div.dialog("option", "position", 'center');
return false;
}
But this mean that i have to go to each page that I have and to call this method with the exactly heigh and width it need (it's difficult to know that size, because I need to do several test) and any change I do make me came back to this to see the new size...
Hi, i'm making a web proyect in MVC3 and i'm using a lot of Jquery code and apis.
I have a problem when i open a dialog and assing the content with .LOAD. The problem is when the dialog is open and loaded with the corresponding content, until now everything is OK, but when I click in a hyperlink inside the dialog, the page is redirect to that page, but i want to keep the new page inside the dialog. Not to refresh all the page. Belor you have my code.
<script type="text/javascript">
function openPopUp(link, title, x, y, deshabilitado) {
var div = $('<div />').load(link).dialog(
{
canMinimize: true,
modal: deshabilitado,
canMaximize: true,
show: "blind",
title: title,
width: y,
height: x,
buttons: {
Cerrar: function () {
if (confirm("Desea cerrar la ventana y salir? Los datos que no haya guardado seran descartados.")) {
$(this).dialog("close");
}
}
}
});
}
</script>
So, when I click in a hyperlink inside the dialog page, all my web is refresh with this direction.