why this code doesnt work with IE ¿

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
Im tryin to use block-flashinblock.php it works well with firefox but never load in IE.
can somebody help me to work it with IE pls
here is the code


if (eregi("block-FlashinBlock.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.html");
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=\"600\" HEIGHT=\"300\" id=\"banner\" ALIGN=\"\"><PARAM NAME=\"movie\" VALUE=\"images/my/tricks/9/Trick9_imaged.swf\">
<PARAM NAME=\"quality\" VALUE=\"high\">
<EMBED src=\"images/my/tricks/9/Trick9_imaged.swf\" quality=\"high\"
WIDTH=\"600\" HEIGHT=\"300\" NAME=\"HEADER\" ALIGN=\"\"TYPE=\"application/x-shockwave-flash\"
PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></OBJECT></td></tr></table>";

?>




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   re: why this code doesnt work with IE ¿
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
I can't see anything majorly wrong that would stop it from displaying in IE. Two things that I did notice:

You need to close your <center> tag. You need to put a space between ALIGN=\"\" and TYPE=\".

The second error may be the problem in IE because it's in the <embed> tag, but I can't say for sure.



Back to top Reply with quote
#3   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
ty keLLy

did what u suggest but dont work icon_sad.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   re: why this code doesnt work with IE ¿
GoddsEgo
PayPal Donation
CZ Moderator
Status: Offline
Joined: Jun 26, 2003
0.15 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
Have you tried removing the object tag completely?


if (eregi("block-FlashinBlock.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.html");
die();
}
$content .="<center><table><tr><td align=\"center\"> <EMBED src=\"images/my/tricks/9/Trick9_imaged.swf\" quality=\"high\" WIDTH=\"600\" HEIGHT=\"300\" NAME=\"HEADER\" ALIGN=\"\"TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED> </td></tr></table>";

?>



Back to top Reply with quote
#5   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
ty goDDs

i did replace your code with mine but didnt work also icon_sad.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   
GoddsEgo
PayPal Donation
CZ Moderator
Status: Offline
Joined: Jun 26, 2003
0.15 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
The formatting of your htaccess file was a bit messy was the problem.



Back to top Reply with quote
#7   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
icon_eek.gif thats strange i would never think to look there lol
thank you for your help appreciated icon_cool.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   
GoddsEgo
PayPal Donation
CZ Moderator
Status: Offline
Joined: Jun 26, 2003
0.15 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
anytime



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