Bonjour,
voila j'ai un problem !! j'ais un fichier html popup :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
[ Lien ]">
<html>
<head>
<title>Barraquand - Imageviewer</title>
<script language="javascript">
function findRealObj(what)
{
if(document.getElementById&&document.getElementById(what)){return document.getElementById(what)}
if(document.all&&document.all(what)){return document.all(what)}
if(document.layers&&document.layers[what]){return document.layers[what]}
return false;
}
</script>
<?php
include "../../Autre/Include_Contenu.php";
echo "<link href='../../Autre/Style.css' rel='stylesheet' type='text/css'>";
echo "<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>";
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body onblur="window.focus()">
<div id="title"></div>
<table width="100%" height="95%" class="Contour_Menu">
<tr>
<td><img src="" name="img" border="0"></td>
</tr>
</table>
</body>
</html>
maintenant, dans ma fenetre parent qq part j'ai :
function ZoomOn( image )
{
var mypopup = window.open("../../../Modules/Tools/popup.php","","top="+parseInt( ( parent.screen.height - 400 / 2 ))+",left="+parseInt( ( parent.screen.width - 500 ) / 2 )+",width=500,height=387,resizable=no,toolbar=no,scrollbars=no,status=no");
mypopup.findRealObj('title').innerHTMl('cool');
mypopup.document.img.src = image;
}
et la j'ai la pauvre erreur de +=°0 !! :
Cet object ne gère pas cette propriété ou cette méthode...
Voila je suis sans idée !! et je comprend pas :(
qqun a une idée ??
(j'ai déja vue le sujet : http://www.javascriptfr.com/forum.v2.aspx?id=399663 mais sans résultat !! )
Merci d'avance...