nyuji
Forum Replies Created
-
Forum: Themes and Templates
In reply to: flash headerI was very pleased to get my Flash header working using Kimili. But then I discovered it works on everything but IE7 (haven’t tried IE8 yet).
This is so frustrating.
Here’s the code from header.php. Can anyone please tell me what I’m doing wrong?<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><style type=”text/css” media=”screen”>
<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?></style>
<?php wp_head(); ?>
</head>
<body>
<div id=”page”><div id=”header”>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”760″ height=”200″ id=”kubrickheader” name=”kubrickheader”>
<param name=”movie” value=”kubrickheader.swf” />
<param name=”allowscriptaccess” value=”always” />
<param name=”allownetworking” value=”all” />
<!–[if !IE]>–>
<object type=”application/x-shockwave-flash” data=”http://www.andplusor.co.nz/wordpress/wp-content/themes/default/images/kubrickheader.swf” width=”760″ height=”200″>
<param name=”allowscriptaccess” value=”always” />
<param name=”allownetworking” value=”all” />
<!–<![endif]–>
<img src=”http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif” alt=”Get Adobe Flash player” />
<!–[if !IE]>–>
</object>
<!–<![endif]–>
</object></div>
<hr />