Menu déroulant to pop up fullscreen

jujucrazy Messages postés 2 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 19 juillet 2006 - 22 juin 2005 à 09:40
cs_algori Messages postés 868 Date d'inscription dimanche 26 décembre 2004 Statut Membre Dernière intervention 26 février 2008 - 24 juin 2005 à 17:55
bonjour tout le monde,
j'aimerais avec un menu déroulant, basic qui apel ma fonction pleinécran...
je ne sais pas comment l'intégrer.

voici mon code pleinécran avec 2 liens:

<!--
function popup(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
<!--

var plecran
function pleinecran() {
ie4 ((navigator.appName "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 ((navigator.appName "Netscape") && (parseInt(navigator.appVersion) >= 4 ))
if (ie4)
plecran=window.open("home.html", "plecran", "fullscreen=yes");
else
plecran=window.open("home.html", "plecran", "height="+window.screen.availHeight+", width="+(window.screen.availWidth-10)+", top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no, resizable=no");
}


var plecran2
function pleinecran2() {
ie4 ((navigator.appName "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 ((navigator.appName "Netscape") && (parseInt(navigator.appVersion) >= 4 ))
if (ie4)
plecran2=window.open("home2.html", "plecran2", "fullscreen=yes");
else
plecran2=window.open("home2.html", "plecran2", "height="+window.screen.availHeight+", width="+(window.screen.availWidth-10)+", top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no, resizable=no");
}


//-->


voila mes liens :

[#

with




]

without







voila mon menu déroulant


<select name ="selectName" onChange="popup">
<option>hi-d test</option>
<option value="pleinecran2();">open window</option>
<option value="three">third</option>
</select>






comment faire pour que mon menu déroulant sois capable d apeler ma fonction fullscreen Javascript:Insert_Emoticon('/imgs2/smile_blackeye.gif');

2 réponses

jujucrazy Messages postés 2 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 19 juillet 2006
22 juin 2005 à 09:41
????¿¿¿¿¿

wtf
0
cs_algori Messages postés 868 Date d'inscription dimanche 26 décembre 2004 Statut Membre Dernière intervention 26 février 2008 1
24 juin 2005 à 17:55
Ach ! On dirait qu'il y a un bug...
@++
0
Rejoignez-nous