Encadrement Flash autour d'un forum

Petit nouveau ! | 2 Messages

20 sept. 2005, 17:12

Bonjour,

je galère pas mal sur Dreamweaver que je découvres depuis peu...

Je souhaiterez faire une page avec un entourage en flash et un lien sur un forum au centre.

J'ai donc découpé un header, footer et les bords du fichier flash... mais je ne parviens pas à les "recoller" parfaitement... cc'est tout décallé...
Comment kon fait?

Par ailleurs, dois-je créer une frame pour faire un lien direct sur le forum?

Voici le code...

Code : Tout sélectionner

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="css.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="963" height="607" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><!--DWLayoutTable--> <tr> <td width="959" height="105" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="955" height="105" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="955" height="105"> <param name="movie" value="header.swf"> <param name=quality value=high> <embed src="header.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="955" height="105"></embed> </object></td> </tr> </table></td> <td width="4">&nbsp;</td> </tr> <tr> <td height="424" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="4">&nbsp;</td> <td width="15" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="15" height="424"> <param name="movie" value="bord.swf"> <param name=quality value=high> <embed src="bord.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="15" height="424"></embed> </object></td> <td width="929">&nbsp;</td> <td width="15" align="right" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="15" height="424"> <param name="movie" value="bord.swf"> <param name=quality value=high> <embed src="bord.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="15" height="424"></embed> </object></td> </tr> </table></td> </tr> <tr> <td height="4"></td> <td></td> </tr> <tr> <td height="74" colspan="2" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="955" height="71"> <param name="movie" value="footer.swf"> <param name=quality value=high> <embed src="footer.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="955" height="71"></embed> </object></td> </tr><tr><td height="1"><img src="spacer.gif" alt="" width="959" height="1"></td> <td></td> </tr> </table> <p></p> </body> </html>


Merci pour votre aiguillage :wink:

Eléphant du PHP | 199 Messages

20 sept. 2005, 19:54

L'endroit débuter en PHP n'est peut etre pas trop bien choisit ---> modo

Mammouth du PHP | 19672 Messages

20 sept. 2005, 20:03

Si, c'est bien ici, mais c'est pas tant le code html qu'il faudrait que voir comment tu fais tes includes et sur la base de quoi tu as découppé : est-ce que l'original complet html qui a servi avant découpage était correct ?
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe:

Invité
Invité n'ayant pas de compte PHPfrance

21 sept. 2005, 12:16

euh... j'ai un peu de mal à te suivre...

voila ce que j'ai fait:
J'ai pris mon anim' flash, puis l'ai découpé en 4 dans le logiciel.
J'ai ensuite ouvert Dreamweaver pour y "glisser" les découpes
J'ai après fait un lien au centre...

... mais les blocs ne se collent pas et le forum n'apparait pas au centre, ya juste un lien...

Suis-je sur la bonne voie? :?

Petit nouveau ! | 2 Messages

21 sept. 2005, 12:24

Oups! J'avais oublié de me logger, pas moyen de corriger le message précédent...

L'anim flash fait 955x600, aucune trace de marge pour chaque élement en lisant les swf.

Alors ché pas...

Mammouth du PHP | 19672 Messages

21 sept. 2005, 12:59

Fais donc voir la page qui contient les include().
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe: