saludos es que quiero ver como puedo hacer que una sola vez habra la ventana flotante que a darle close no le vuelba a salir si no la cierra siga saliendo estos son los codigos que tengo actualmente usando
Utiles.js
//Función donde inicializamos el dialog
function PageInit() {
$dialog = $('<div>Mostrar Ventana Flotante</div>')
.dialog({
autoOpen: true,
title: 'Ventana Flotante',
modal: true
});
}
index.php
Código PHP:
Ver original<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ejemplo Ventana Flotante</title>
<link type
="text/css" href
="http://jquery- ui.googlecode.com/svn/tags/1.7/themes/redmond/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script src="../Scripts/Utiles.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var $dialog;
PageInit();
});
</script>
</head>
<body>
<div></div>
</body>
</html>