block-FlashinBlock img centering problem

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   block-FlashinBlock img centering problem
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 56
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.08 posts per day
Posts: 643
Points: 57,200
   
Hello

downloaded this block from phpnukefordonkeys.com

problem is funny i cant make my flash centered in this block strangely icon_evil.gif .Tryed to ask at their forums even couldnt find where their english lang and get errors.I see they use this block but their flash not centered well too.can someone help me plz or i would not have any keyboard left icon_mad.gif


<?php

/***************************************************************************************/
/* PHP-NUKE: Web Portal System                                                         */
/* ==============================================                                      */
/*                                                                                     */
/* Copyright (c) 2001 by Francisco Burzi (fbc@mandrakesoft.com)                        */
/* http://phpnuke.org                                                                  */
/*                                                                                     */
/* ==============================================                                      */
/* block-FlashinBlock.php by Rino  [ Register or login to view links on this board. ]                                   */
/* http://www.phpnukefordonkeys.com                                                    */
/*                                                                                     */
/* Tutorial su [ Register or login to view links on this board. ]                                              */
/*                                                                                     */
/***************************************************************************************/

if (eregi("block-FlashinBlock.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
$content .="<tr><td align=\"center\"><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"
WIDTH=\"500\" HEIGHT=\"450\" id=\"banner\" ALIGN=\"\"><PARAM NAME=\"movie\" VALUE=\"file.swf\">
<PARAM NAME=\"quality\" VALUE=\"high\"> <PARAM NAME=\"bgcolor\" VALUE=\"#FFFFFF\">
<EMBED src=\"file.swf\" quality=\"high\" bgcolor=\"#FFFFFF\"
WIDTH=\"500\" HEIGHT=\"450\" NAME=\"HEADER\" ALIGN=\"\"TYPE=\"application/x-shockwave-flash\"
PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT></td></tr>";

?>




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   re: ok this this is gonna make me sick or will throw keyboa
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
try this:

<?php

/***************************************************************************************/
/* PHP-NUKE: Web Portal System                                                         */
/* ==============================================                                      */
/*                                                                                     */
/* Copyright (c) 2001 by Francisco Burzi (fbc@mandrakesoft.com)                        */
/* http://phpnuke.org                                                                  */
/*                                                                                     */
/* ==============================================                                      */
/* block-FlashinBlock.php by Rino  [ Register or login to view links on this board. ]                                   */
/* http://www.phpnukefordonkeys.com                                                    */
/*                                                                                     */
/* Tutorial su [ Register or login to view links on this board. ]                                              */
/*                                                                                     */
/***************************************************************************************/

if (eregi("block-FlashinBlock.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
$content .="<center><table><tr><td align=\"center\"><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"
WIDTH=\"500\" HEIGHT=\"450\" id=\"banner\" ALIGN=\"\"><PARAM NAME=\"movie\" VALUE=\"file.swf\">
<PARAM NAME=\"quality\" VALUE=\"high\"> <PARAM NAME=\"bgcolor\" VALUE=\"#FFFFFF\">
<EMBED src=\"file.swf\" quality=\"high\" bgcolor=\"#FFFFFF\"
WIDTH=\"500\" HEIGHT=\"450\" NAME=\"HEADER\" ALIGN=\"\"TYPE=\"application/x-shockwave-flash\"
PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT></td></tr></table>";

?>




P.S. Please edit the title of your post, so if anyone should have the same problem, they will be able to see the fix


Back to top Reply with quote
#3   re: block-FlashinBlock img centering problem
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 56
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.08 posts per day
Posts: 643
Points: 57,200
   
Ty taut it worked
i see i wasnt add table but did tryed center .
btw it not centered well i tryed absmiddle but didnt work or i sucked again icon_mrgreen.gif

Thx again icon_cool.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum