bonjour tout le monde ...
j ai un petit problème que je n arrive pas à résoudre.
j ai un script php qui permet d avoir un random au niveau du background img .jpg
mais j aimerais que l'image qui apparait aléatoirement peut import la taille de la fenetre s'étire quite a se déformé pour etre a la taille de l'écran du visiteurs...
est ce possible.? pouvez-vous me donner un ptit coup de pouce...
voici ma page html avec mon code php ...
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>hi-d.ch V.2.0</title>
<meta name="generator" content="BBEdit 8.0">
<body bgcolor="black" text="white" link="white" vlink="white" alink="white" style="margin:0px;padding:0px;background no-repeat:no-repeat;" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<table width="100%" align="center" background="background/<?php echo rand(1,5) ?>.jpg" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" height="100%">
<td align="center" valign="middle" width="100%" height="100%"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=5,0,30,0" height="694" width="1000">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="enter.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<embed src="enter.swf" quality="high" wmode="transparent" bgcolor="#000000" width="1000" height="694" name="home" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></td>
</tr>
</table>