Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

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   More...
#1Mon Sep 12, 2005 6:34 am   why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 8 year's 8 Year Member
turkey.gif
Age: 43
Website: www.yahoopool.net
Status: Offline
Joined: Mar 23, 2004
0.22 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
#2Mon Sep 12, 2005 8:21 am   re: why this code doesnt work with IE ¿
Kelly_Hero
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Kelly_Hero has been a member for over 8 year's 8 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 47
Website: www.myleague.com/bandr
Status: Offline
Joined: Aug 20, 2003
1.18 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
#3Mon Sep 12, 2005 9:24 am   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 8 year's 8 Year Member
turkey.gif
Age: 43
Website: www.yahoopool.net
Status: Offline
Joined: Mar 23, 2004
0.22 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
#4Mon Sep 12, 2005 12:07 pm   re: why this code doesnt work with IE ¿
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 8 year's 8 Year Member
Status: Offline
Joined: Jun 26, 2003
0.37 posts per day
Posts: 1220
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
#5Mon Sep 12, 2005 1:35 pm   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 8 year's 8 Year Member
turkey.gif
Age: 43
Website: www.yahoopool.net
Status: Offline
Joined: Mar 23, 2004
0.22 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
#6Tue Sep 13, 2005 9:39 pm   
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 8 year's 8 Year Member
Status: Offline
Joined: Jun 26, 2003
0.37 posts per day
Posts: 1220
Points: 69,166
 Yahoo Messenger  
The formatting of your htaccess file was a bit messy was the problem.




_________________
Back to top Reply with quote
#7Wed Sep 14, 2005 2:33 am   re: why this code doesnt work with IE ¿
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 8 year's 8 Year Member
turkey.gif
Age: 43
Website: www.yahoopool.net
Status: Offline
Joined: Mar 23, 2004
0.22 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
#8Wed Sep 14, 2005 3:23 am   
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 8 year's 8 Year Member
Status: Offline
Joined: Jun 26, 2003
0.37 posts per day
Posts: 1220
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   More...
<< 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