469,332 Members | 7,043 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

Aide syntaxe bouton ???

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.jose...-pusztay.1.htm
Le Gaulois
http://manuscritdepot.com/a.joseph-attila-pusztay.2.htm
mon adresse EMail
http://irolog.free.fr/ecrire/index.htm
------------------------------------------------------------------------------------
Dec 6 '06 #1
1 1896
VK
LE TROLL wrote:
<snip>
<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.

Dec 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by NDAKI MBOULET | last post: by
5 posts views Thread by Philippe | last post: by
4 posts views Thread by Wildemar Wildenburger | last post: by
11 posts views Thread by Mathieu | last post: by
2 posts views Thread by test | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.