pierrigo
Nouveau membre
Bonsoir,
Merci de m'accueillir dans votre forum !
Mon problème : pouvoir lancer une fenêtre popup contenant une image en utilisant un lien se trouvant à l'intérieur d'une bande défilante javascript ou dhtml.
J'essaie d'utiliser ce lien dans le ticker :
"javascript:na_open_window('win', 'Image.jpg', 0, 0, 300, 200, 0, 0, 0, 0, 0)" target="_self"
la page contenant en head :
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
MA QUESTION EST DE SAVOIR S'IL EST POSSIBLE DE LANCER UN JAVASCRIPT DEPUIS UN AUTRE JAVASCRIPT AU MOYEN D'UN LIEN.
Merci d'avance
pierrigo :??:
Merci de m'accueillir dans votre forum !
Mon problème : pouvoir lancer une fenêtre popup contenant une image en utilisant un lien se trouvant à l'intérieur d'une bande défilante javascript ou dhtml.
J'essaie d'utiliser ce lien dans le ticker :
"javascript:na_open_window('win', 'Image.jpg', 0, 0, 300, 200, 0, 0, 0, 0, 0)" target="_self"
la page contenant en head :
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
MA QUESTION EST DE SAVOIR S'IL EST POSSIBLE DE LANCER UN JAVASCRIPT DEPUIS UN AUTRE JAVASCRIPT AU MOYEN D'UN LIEN.
Merci d'avance
pierrigo :??: