Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
ominae
Regular
Regular



Joined: Sep 16, 2008
Posts: 62

PostPosted: Sun Mar 06, 2011 12:49 pm Reply with quote

Hi all

I recently started working on a updated site for my games club as theres was
sadly lacking in all things Smile....

installed RN found a good theme began work Smile

atm the theme all works right but i am having problems with the main header
of the site.
the header.php file points to a .swf file even thought the header.gif is there with the rest of them
i made the banner a .swf so i could save myself some time as i am still realy new
to php coding when i got it all working the banner was the wrong size i was wondering
iff some one would be able to help me out with this problem....

site addy is http://www.eodo808.co.uk/gob2

is should like up like the origonal
Image

i can provide any nfo asked for , thanx people
 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Mar 06, 2011 2:09 pm Reply with quote

Add this parameter within the object tag of the SWF:
Code:
<param name="scale" value="exactfit">

You will also need to change the width of the very top table from 931 to 1000 so that the table above the SWF is the right width.

The problem that you are having is that the SWF file was published at 300 x 1000 and the aspect ratio is locked unless you do what I posted above. If you where to change to height to 300 you would see that it fits perfectly. Obviously you want it smaller though.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
ominae







PostPosted: Mon Mar 07, 2011 1:03 am Reply with quote

hi there

thanx for the super fast respose Smile
could you tell me where in the code i need to drop that please not sure myself sorry.

Code:
echo "  <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"1000\" align=\"center\">\n";

echo "   <tr>\n";
echo "   <td><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"1000\" align=\"center\">\n";
echo "     <tr>\n";
echo "          <td width=\"1000\">\n";
echo "            <object type=\"application/x-shockwave-flash\" data=\"themes/$theme_name/images/logo.swf\" width=\"1000\" height=\"240\">\n";
echo "            <param name=\"movie\" value=\"themes/$theme_name/images/logo.swf\" /><param name=\"wmode\" value=\"transparent\">\n";
echo "            </object>\n";
echo "          </td>\n";
echo "    </tr>\n";
 
ominae







PostPosted: Mon Mar 07, 2011 10:20 am Reply with quote

thanx dude i found a work arround that worked for me this time
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©