Hello,
I've been trying to get the alternative content to load in IE but have
not had any luck. If anyone knows of a fix please let me know.
// FLASH CONTENT (swfhead.php)
<?php
include("includes/fns.php");
function do_html_header()
{
$title = check_page_title();
$heading = ucfirst($title);
// print HTML header
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<meta name="keywords" content="web design firms,northwest web
design,developer,Web Design,Contemporary Web Design,Web
Services,designers,website design,Designers,contemporary web design
and modern web development">
<meta name="description" content="neridasign provides web standards
compliant solutions for an effective internet presence, PHP, MySQL,
CSS, XHTML, JavaScript, XML">
<title>neridasign ~:: <?php echo $heading; ?></title>
<link rel="stylesheet" type="text/css" href="css/neridasign.css" />
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("head.swf", "bghead", "740", "120", "9.0.0",
"expressInstall.swf", {pt:<? echo '"'. $_GET['pt'] .'"'; ?>},
{bgcolor:"#CCC"});
home_off = new Image;
work_off = new Image;
bio_off = new Image;
info_off = new Image;
home_on = new Image;
work_on = new Image;
bio_on = new Image;
info_on = new Image;
if(document.images) {
home_off.src = "images/home_off.png";
work_off.src = "images/work_off.png";
bio_off.src = "images/bio_off.png";
info_off.src = "images/info_off.png";
home_on.src = "images/home_on.png";
work_on.src = "images/work_on.png";
bio_on.src = "images/bio_on.png";
info_on.src = "images/info_on.png";
}
</script>
</head>
<body>
<div id="container">
<div id="bghead">
<? include('altheader.php'); ?>
</div>
// ALTERNATIVE CONTENT (altheader.php)
<a href="index.php"><img id="altlogo" src="images/logo.png"
width="227" height="39" alt="Logo" /></a>
<div id="altnavcontainer">
<a href="info.php?pt=info"
onmouseover="document.info.src=info_on.src"
onmouseout="document.info.src=info_off.src"><img name="info"
class="floatright" src="images/info_off.png" alt="Info Off" /></a>
<a href="bio.php?pt=bio"
onmouseover="document.bio.src=bio_on.src"
onmouseout="document.bio.src=bio_off.src"><img name="bio"
class="floatright" src="images/bio_off.png" alt="Bio Off" /></a>
<a href="work.php?pt=work"
onmouseover="document.work.src=work_on.src"
onmouseout="document.work.src=work_off.src"><img name="work"
class="floatright" src="images/work_off.png" alt="Work Off" /></a>
<a href="index.php" onmouseover="document.home.src=home_on.src"
onmouseout="document.home.src=home_off.src"><img name="home"
class="floatright" src="images/home_off.png" alt="Home Off" /></a>
</div>
Thanks for any help,
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---