bonjour, tous est dans le titre, je travail avec iwebkit qui est un kit de développement pour iphone voici le code de ma page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<link href="pics/homescreen.png" rel="apple-touch-icon" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="javascript/functions.js" type="text/javascript"></script>
<title>iWebKit Demo - Try out iWebKit and create the ultimate iPhone website!
</title>
<meta content="iPod,iPhone,Webkit,iWebkit,Website,Create,mobile,Tutorial,free" name="keywords" />
<meta content="Try out all exclusive features iWebKit 4.0 has to offer and discover how far web developement can go. Create the ultimate WebApp!" name="description" />
</head>
<body>
<div id="topbar">
<div id="leftnav">
<a href="index.html"><img alt="home" src="images/home.png" /></a><a href="integration.html">Integration</a></div>
</div>
<div id="content">
<span class="graytitle">Scénario</span>
<FORM method=get name="message" action="http://XXX.XX.XX.XX:XXXX/cgi-bin/Cmd_X2D.cgi" target="xml" onSubmit="return controle()">
<ul class="pageitem">
<li class="form"><span class="choice"><span class="name">Arrivé</span><input name="SCENARIO" type="radio" value="0" /></span></li>
<li class="form"><span class="choice"><span class="name">Départ</span>
<input name="SCENARIO" type="radio" value="1" /></span></li>
</ul>
<ul class="pageitem">
<li class="form">
<input type="submit" value="Submit input" /></li>
</ul>
</body>
</html>
La chose que je souhaiterai faire c'est intégrer le script trouvé sur internet qui permet d'ouvrir 2 lien en même temps :
<html>
<script>
function chapichapo()
{
w1 = window.open("http://www.journaldunet.com/developpeur/
fil/new/rubrique_detente.shtml", "plum", "width=760, height=420, top=0, left=0, resizable=yes, scrollbars=yes, location=yes, menubar=yes, status=yes, toolbar=yes");
w2 = window.open("http://www.journaldunet.com/", "pudding", "width=760, height=420, top=0, left=0, resizable=yes, scrollbars=yes, location=yes, menubar=yes, status=yes, toolbar=yes");
}
</script>
<body>
<a href="javascript:" onClick='javascript:chapichapo();'>Clic clic!</a>
</body>
</html>
j'ai essayé de le faire moi même mais quand je clic sur le bouton il ne ce passe rien....