ShowModalDialog et Netscape
matt22
-
matt22 -
matt22 -
Bonjour à tous.
je suis en train d'ecrire un petit script. et j'ai un probleme avec la fonction Show modal dialog que je n'arriva pas à faire fonctionner sous firebird...
voici mon bout de code :
function setColor(Frame)
{
rte = document.getElementById(Frame).contentWindow;
var color = showModalDialog("color.htm","","dialogWidth:150px; dialogHeight:140px" );
alert(color);
if (color != null)
{
rte.document.execCommand("ForeColor",false,color);
}
}
il fonctionne trés bien sous IE mais malheureusement pas sous firebird !!!!
quelqu'un pour m'aider ????
je suis en train d'ecrire un petit script. et j'ai un probleme avec la fonction Show modal dialog que je n'arriva pas à faire fonctionner sous firebird...
voici mon bout de code :
function setColor(Frame)
{
rte = document.getElementById(Frame).contentWindow;
var color = showModalDialog("color.htm","","dialogWidth:150px; dialogHeight:140px" );
alert(color);
if (color != null)
{
rte.document.execCommand("ForeColor",false,color);
}
}
il fonctionne trés bien sous IE mais malheureusement pas sous firebird !!!!
quelqu'un pour m'aider ????