Showing posts with label Web Design. Show all posts
Showing posts with label Web Design. Show all posts

Monday, July 26, 2010

Code for embedding flash movie files(swf) in php.

   1:  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="161">


   2:        <param name="movie" value="images/header.swf" />


   3:        <param name="quality" value="high" />


   4:        <embed src="images/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="161"></embed>


   5:      </object>


Wednesday, June 2, 2010

How to keep the background image static and let the whole fore-page scroll???

This is done using CSS and is very simple indeed!

here is the code

<center>
<body style=
"background-image: url('http://img.inkfrog.com/pix/KeepingBusy/BGinterlocksmall.gif'); background-repeat; background-position: 0px 50%; background-attachment: fixed">
<table border="0" width="650">
<tr>
<td width="100%" HEIGTH="600">
<table border="0" width="100%" cellspacing="0" cellpadding="0"
bgcolor="WHITE">
<tr>
<td width="100%">
<CENTER>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</center>