Aide syntaxe bouton ???

L

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 :eek:)
------
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
------------------------------------------------------------------------------------
 
V

VK

LE TROLL wrote:
<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>

You are right, these are multiple syntax errors both in style and in
script. Try this (and watch the changes):

<button
type="button"
onclick="
location.href='http://www.logitheque.com/vote.asp?I=16823';"
style="
font-size: 1em;
font-weight: bold;
width: 220px;
height: auto;">Votez pour mon logiciel</button>

P.S. Though not a requirement of any kind, but by expressing your
problem in English you may count of bigger amount of readers and
respectively on quicker help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top