Posté : 12-07-2014 12:57
<head>
<title>image dans popup</title>
<script language="!javascript!">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no ';
menubar_str = menubar ? 'yes' : 'no ';
statusbar_str = statusbar ? 'yes' :  ;'no';
scrollbar_str = scrollbar ? 'yes' :  ;'no';
resizable_str = resizable ? 'yes' :  ;'no';
cookie_str = !document.cookie!;
cookie_str.toString();
pos_start = cookie_str.indexOf(name);
pos_end = cookie_str.indexOf('=',&nbs p;pos_start);
cookie_name = cookie_str.substring(pos_start, pos_ end);
pos_start = cookie_str.indexOf(name);
pos_start = cookie_str.indexOf('=', pos_star t);
pos_end = cookie_str.indexOf(';',&nbs p;pos_start);
if (pos_end <= 0) pos_end = cook ie_str.length;
cookie_val = cookie_str.substring(pos_start +  ;1, pos_end);
if (cookie_name == name && cooki e_val == "done")
return;
window.open(url, name, 'left='+left+',top='+top+',width ='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',st atus='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</head>
<body>
<p><a href="!javascript!:na_open_window('chouettes', 'user s_private/webmaster/F.B.jpg', 0, 0, 148, 166, 0, 0, 0, 0, 0);" target="_self"><img src="users_pri vate/webmaster/F.B.jpg" width="960" height="400" border="0">& lt;/a></p>
</body>
|