I got a php page loaded this way :
var newcolor = showModalDialog("index.php?directory=." ,test, "resizable: no; help: no; status: no; scroll: no;");
then in the index.php i got this code
function change_dir(newdirname)
{
document.location = "index.php?directory=" + newdirname;
}
when an event execute this code it opens a new window. Is there a way to stay in the dialog???
var newcolor = showModalDialog("index.php?directory=." ,test, "resizable: no; help: no; status: no; scroll: no;");
then in the index.php i got this code
function change_dir(newdirname)
{
document.location = "index.php?directory=" + newdirname;
}
when an event execute this code it opens a new window. Is there a way to stay in the dialog???