Hey guys. Can anyone help please?
I'm trying to use a flash menu for my website. Below is the XHTML code for the main page. I'm trying to make the flash menu appear in the #flashcontent div (that is in the navigation bar). It won't work. All I see when I open it in my browser is, well, nothing. Not even the alternative text that is supposed to have been there if my flash player wasn't working. Nothing. I checked the links. None broken. I don't understand. All code validates with XHTML 1.0 Strict.
Any ideas?
Thanks
<?hml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--Head-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Logic For</title>
<script type="text/javascript" src="swfobject.js"></script>
<link rel="stylesheet" href="format.css"/>
<link rel="SHORTCUT ICON" href="favicon.ico"/>
</head>
<!--Body-->
<body>
<div id="outer">
<!--Header-->
<div id="header">
<img height="100px" width="100%" src="JPG/banner.png"/>
</div>
<!--End of Header-->
<!--Navigation Bar-->
<div id="flashcontent">
This text is replacedby the Flash movie.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("Flash_Menu_Labs_open_source.swf", "menu", "200", "300", "8", "#01519e");
so.write("flashcontent");
// ]]>
</script>
<!--End of Navigation Bar-->
<!--Main display area-->
<div id="main">
<p> Logic For is a small software developing company based in Onesti/Romania.</p>
<p> Our main focus is developing bespoke applications for businesses and fiscal units at competitive prices and a high level of quality.</p>
<p> We offer various Windows-based business solutions in areas such as:</p>
<ul>
<li>network installation</li>
<li>bespoke applications</li>
<li>system integration</li>
<li>architecture projects</li>
<li>web development</li>
<li>technical training</li>
</ul>
<p> We can even consult you in finding the best business solution for vertical/horizontal markets.</p>
<p><b>Since its foundation in 1992, Logic For has been committed to meeting its clients' highest expectations at the most competitive cost rate the market can offer. We believe in long-term solutions and long-term customer satisfaction! </b></p>
<p> Logic For is certified SRAC ISO9001:2000 for "software development, software and hardware wholesale and retaliation, technical support and service". Logic FOr is an ANIS200 member and the first Microsoft Certified Partner in its district.</p>
</div>
<!--End of main display area-->
<!--Footer-->
<div id="footer">
<p>© 1999-2008 SC Logic For SRL. All rights reserved.
Webjanitor - Maria Boghiu</p>
</div>
<!--End of footer-->
</div>
</body>
</html>
My flash menu won't display - Post ID...
Try getting rid of the colour code in your flash code. If it's a background colour or something it will already be coded in your flash file.
"#01519e" should not be there. If you need to add other Param things, you can do it after that part of the code, like this:
so.addParam("loop", "false");
so.addParam("autostart", "true");
so, without your colour code, it will look like this:
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("Flash_Menu_Labs_open_source.swf", "menu", "200", "300", "8");
so.write("flashcontent");
// ]]>
</script>
"#01519e" should not be there. If you need to add other Param things, you can do it after that part of the code, like this:
so.addParam("loop", "false");
so.addParam("autostart", "true");
so, without your colour code, it will look like this:
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("Flash_Menu_Labs_open_source.swf", "menu", "200", "300", "8");
so.write("flashcontent");
// ]]>
</script>
E-Learning Specialist
www.mainsites.ca is my website, and yes, some of it is crappy.
www.mainsites.ca is my website, and yes, some of it is crappy.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.