hi all,<br> <br> I am trying to install my cartoweb project into a website with Ajax, but my map is not displayed : I have the tools, the coordinates, etc, but instead of the map, it's only written "Loading message" but it stops there, the map never comes.<br> <br> here's my code :<br> <br> <span style="font-family: courier; color: rgb(192, 0, 0);"><script language="JavaScript" type="text/javascript"></span><br style="font-family: courier;"> <br style="font-family: courier;"> <span style="font-family: courier;"><span style="font-weight: bold; font-style: italic;">function</span> affiche_carte<span style="font-weight: bold;">(</span>paramDepart, paramArrivee <span style="font-weight: bold;">) {</span></span><br style="font-family: courier;"> <span style="font-family: courier;"><span style="font-weight: bold; font-style: italic;">var</span> aleatoire ;<br> aleatoire=Math.random<span style="font-weight: bold;">()</span> ;</span><br style="font-family:
courier;"> <span style="font-family: courier;">ajax = <span style="font-weight: bold; font-style: italic;">new</span> Ajax.Updater<span style="font-weight: bold;">(</span></span><br style="font-family: courier;"> <span style="font-family: courier;"> 'letrajet', <span style="font-style: italic; color: rgb(64, 64, 255);">// DIV id must be declared before the method was called</span></span><br style="font-family: courier;"> <span style="font-family: courier;"></span><span style="font-family: courier;"> 'test.php', </span><br style="font-family: courier;"> <span style="font-family: courier;"> <span style="font-weight: bold;">{</span> <span style="font-style: italic;
color: rgb(64, 64, 255);">// options</span></span><br style="font-family: courier;"> <span style="font-family: courier;"> method:'get' </span><br style="font-family: courier;"> <span style="font-family: courier;"> <span style="font-weight: bold;">})</span>;</span><br style="font-family: courier;"> <span style="font-family: courier;"> mondoc = document.getElementById<span style="font-weight: bold;">(</span>'letrajet'<span style="font-weight: bold;">)</span>; </span><br style="font-family: courier;"> <span style="font-family: courier;"> mondoc.innerHTML = "Recherche en cours...";</span><br style="font-family: courier;"> <span style="font-family:
courier;"> mondoc.style.visibility = 'visible'; </span><br style="font-family: courier;"> <span style="font-family: courier;"> </span><br style="font-family: courier;"> <span style="font-family: courier; font-weight: bold;">}</span><br style="font-family: courier;"> <span style="font-family: courier;"><span style="color: rgb(192, 0, 0);"></script><br> </span></span><br> <br> My test.php page is something like:<br> <br> <?<br> <span style="font-weight: bold; color: rgb(0, 0, 255);">echo</span> file.getContent('path/to/my_project.php?param1=X&param2=Y&param3=Z');<br> ?><br> <br> any idea?<br> thanks<br> <br> Guillaume<br> <p> 
                <hr size="1">
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Cliquez ici</a>.