Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Besoin aide syntaxe bouton ???

4 réponses
Avatar
LE TROLL
Bonjour,

J'ai un bouton que je n'arrive pas à faire fonctionner au niveau du lien
de ce dernier, il doit y avoir un problème de syntaxe, mais je ne sais pas
lequel, le bouton doit appeler un lien qui appel un site, pouvez vous me
dire, voici mon code, et ci-annexé le fichier htm don on peut copier la
source:
http://irolog.free.fr/bouton.htm


<html>
<head>

<SCRIPT LANGUAGE="JavaScript">
<!--
function navigation(wth,hth) { fen = window.open
("","fiche","0,0,0,0,0,scrollbars=no,0,width="+wth+",height="+hth); if(
self.focus ) fen.focus(); } // -->
</SCRIPT>
</head>


<body>

<!votez logitheque>
<input
type=button
style="font size:18"
style="font.bold=true"
VALUE="Votez pour mon logiciel"
style="height:35"
style="width:220"
onclick=location.href="http://www.logitheque.com/vote.asp?I=16823&amp;L=AGENDA,
PLANIFICATEUR, CALENDRIER:">

<! source d'origine pour le onclick>
<!a HREF="http://www.logitheque.com/vote.asp?I=16823&amp;L=AGENDA,
PLANIFICATEUR, CALENDRIER" target="fiche" onclick="navigation(485,140)">
<! Votez pour mon logiciel
<!/a>

</body>
</html>
--
Merci beaucoup, au revoir et à bientôt :o)
------
Site de MES LOGICIELS
http://irolog.free.fr
Site éditeur MES ROMANS édités
Le serpent
http://www.manuscritdepot.com/a.joseph-attila-pusztay.1.htm
Le Gaulois
http://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMail
http://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------------------

4 réponses

Avatar
Quentin
Bonjour,
entoure le contenu de ton onclick avec des guillemets simples, ça
devrait résoudre ton problème...

onclick='[ton appel de fonction]'

Voilà !

On Dec 5, 10:22 am, "LE TROLL" <le wrote:
Bonjour,

J'ai un bouton que je n'arrive pas à faire fonctionner au niveau du lien
de ce dernier, il doit y avoir un problème de syntaxe, mais je ne sais pas
lequel, le bouton doit appeler un lien qui appel un site, pouvez vous me
dire, voici mon code, et ci-annexé le fichier htm don on peut copier la
source:http://irolog.free.fr/bouton.htm

<html>
<head>

<SCRIPT LANGUAGE="JavaScript">
<!--
function navigation(wth,hth) { fen = window.open
("","fiche","0,0,0,0,0,scrollbars=no,0,width="+wth+",height="+hth); if(
self.focus ) fen.focus(); } // -->
</SCRIPT>
</head>

<body>

<!votez logitheque>
<input
type=button
style="font size:18"
style="font.bold=true"
VALUE="Votez pour mon logiciel"
style="height:35"
style="width:220"
onclick=location.href="http://www.logitheque.com/vote.asp?I823 &L=AGENDA,
PLANIFICATEUR, CALENDRIER:">

<! source d'origine pour le onclick>
<!a HREF="http://www.logitheque.com/vote.asp?I823&L=AGENDA,
PLANIFICATEUR, CALENDRIER" target="fiche" onclick="navigation(485,140 )">
<! Votez pour mon logiciel
<!/a>

</body>
</html>
--
Merci beaucoup, au revoir et à bientôt :o)
------
Site de MES LOGICIELShttp://irolog.free.fr
Site éditeur MES ROMANS édités
Le serpenthttp://www.manuscritdepot.com/a.joseph-attila-pusztay.1.htm
Le Gauloishttp://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMailhttp://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------- -----------


Avatar
ASM
J'ai un bouton que je n'arrive pas à faire fonctionner au niveau du lien
de ce dernier, il doit y avoir un problème de syntaxe, mais je ne sais pas
lequel, le bouton doit appeler un lien qui appel un site, pouvez vous me
dire, voici mon code, et ci-annexé le fichier htm don on peut copier la


je te le fais ouvrir dans le popup (cf + bas)

<html>
<head>

<SCRIPT LANGUAGE="JavaScript">


on a déjà dit que c'était :

<script type="text/javascript">

<!--
function navigation(wth,hth) { fen = window.open
("","fiche","0,0,0,0,0,scrollbars=no,0,width="+wth+",height="+hth); if(
self.focus ) fen.focus(); } // -->


pas besoin de if, hop! direct fen.focus();
ça ne fera de mal à personne si des fois c'était déjà fait.

</SCRIPT>
</head>
(snip)


onclick="
navigation(252,346);
fen.location.href='http://www.logitheque.com/vote.asp?I823&amp;L=AGENDA,PLANIFICATEUR,CALENDRIER:';"

attention aux ' et aux "


--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé

Avatar
LE TROLL
merci :o)

--
Merci beaucoup, au revoir et à bientôt :o)
------
Site de MES LOGICIELS
http://irolog.free.fr
Site éditeur MES ROMANS édités
Le serpent
http://www.manuscritdepot.com/a.joseph-attila-pusztay.1.htm
Le Gaulois
http://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMail
http://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------------------
"ASM" a écrit dans le message
de news: 4577316d$0$27373$
J'ai un bouton que je n'arrive pas à faire fonctionner au niveau du
lien
de ce dernier, il doit y avoir un problème de syntaxe, mais je ne sais
pas
lequel, le bouton doit appeler un lien qui appel un site, pouvez vous me
dire, voici mon code, et ci-annexé le fichier htm don on peut copier la


je te le fais ouvrir dans le popup (cf + bas)

<html>
<head>

<SCRIPT LANGUAGE="JavaScript">


on a déjà dit que c'était :

<script type="text/javascript">

<!--
function navigation(wth,hth) { fen = window.open
("","fiche","0,0,0,0,0,scrollbars=no,0,width="+wth+",height="+hth); if(
self.focus ) fen.focus(); } // -->


pas besoin de if, hop! direct fen.focus();
ça ne fera de mal à personne si des fois c'était déjà fait.

</SCRIPT>
</head>
(snip)


onclick="
navigation(252,346);
fen.location.href='http://www.logitheque.com/vote.asp?I823&amp;L=AGENDA,PLANIFICATEUR,CALENDRIER:';"

attention aux ' et aux "


--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé



Avatar
LE TROLL
merci :o)

--
Merci beaucoup, au revoir et à bientôt :o)
------
Site de MES LOGICIELS
http://irolog.free.fr
Site éditeur MES ROMANS édités
Le serpent
http://www.manuscritdepot.com/a.joseph-attila-pusztay.1.htm
Le Gaulois
http://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMail
http://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------------------
"Quentin" a écrit dans le message de news:

Bonjour,
entoure le contenu de ton onclick avec des guillemets simples, ça
devrait résoudre ton problème...

onclick='[ton appel de fonction]'

Voilà !

On Dec 5, 10:22 am, "LE TROLL" <le wrote:
Bonjour,

J'ai un bouton que je n'arrive pas à faire fonctionner au niveau du
lien
de ce dernier, il doit y avoir un problème de syntaxe, mais je ne sais pas
lequel, le bouton doit appeler un lien qui appel un site, pouvez vous me
dire, voici mon code, et ci-annexé le fichier htm don on peut copier la
source:http://irolog.free.fr/bouton.htm

<html>
<head>

<SCRIPT LANGUAGE="JavaScript">
<!--
function navigation(wth,hth) { fen = window.open
("","fiche","0,0,0,0,0,scrollbars=no,0,width="+wth+",height="+hth); if(
self.focus ) fen.focus(); } // -->
</SCRIPT>
</head>

<body>

<!votez logitheque>
<input
type=button
style="font size:18"
style="font.bold=true"
VALUE="Votez pour mon logiciel"
style="height:35"
style="width:220"

onclick=location.href="http://www.logitheque.com/vote.asp?I823&L=AGENDA,
PLANIFICATEUR, CALENDRIER:">

<! source d'origine pour le onclick>
<!a HREF="http://www.logitheque.com/vote.asp?I823&L=AGENDA,
PLANIFICATEUR, CALENDRIER" target="fiche" onclick="navigation(485,140)">
<! Votez pour mon logiciel
<!/a>

</body>
</html>
--
Merci beaucoup, au revoir et à bientôt :o)
------
Site de MES LOGICIELShttp://irolog.free.fr
Site éditeur MES ROMANS édités
Le serpenthttp://www.manuscritdepot.com/a.joseph-attila-pusztay.1.htm
Le Gauloishttp://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMailhttp://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------------------