View Full Version : Flash object nullified within index.php
steadwell
03-05-2009, 03:43 AM
My index.php uses a <div> with id="iframe" for navigation purposes and works fine, except for a particular sub-page. This sub-page is also php and contains some flash within a script. The page works fine stand-alone, but the flash does not appear when the this sub-page is invoked by the calling index.php. I hope that I have made my dilemma clear and would greatly appreciate any pointers, hints, etc...
Thanx!:confused:
Please post a link to the page on your site that contains the problematic script so we can check it out.
Please include your code so that we can take a look at it, we can't do much without it.
steadwell
03-05-2009, 02:33 PM
Here are the particulars:
excerpt from index.php:
<div id="iframe" style="width: 500px; height: 420px"></div>
<div id="sidebar" style="width: 100px; height: 386px">
<div id="menu">
<ul>
<li><a id="menuhome" class="active" href="javascript:ajaxpage('portal/home.html', 'iframe');">Home</a></li>
<li><a id="menuabout" href="javascript:ajaxpage('portal/about.html', 'iframe');">About</a></li>
<li><a id="menunews" href="javascript:ajaxpage('news/news.php', 'iframe');">News</a></li>
<li><a id="menulinks" href="javascript:ajaxpage('portal/links.html', 'iframe');">Links</a></li>
<li><a id="menublog" href="javascript:ajaxpage('portal/blog.html', 'iframe');">Blog</a></li>
<li><a id="menutoc" href="javascript:ajaxpage('portal/toc.html', 'iframe');">Site Map</a></li>
<li><a id="menucontact" href="javascript:ajaxpage('portal/contact.html', 'iframe');">Contact</a></li>
</ul>
</div>
</div>
body of sub-page:
<body id="news">
<table border="0" width="300" id="main" align="left" style="width: 400px">
<tr>
<td>
<p style="text-align: left">
<b><font size="3">Top Stories</font></b></p>
</td>
</tr>
<tr>
<td><p align="left" style="text-align: left">
<script src="ns1js.js" type="text/javascript"></script>
<noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="250" id="newsscroll2" align="middle"><param name="movie" value="ns1flashns.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="wmode" value="opaque" /><param name="bgcolor" value="#ffffff" /><PARAM NAME=menu VALUE=false /><param name="salign" value="lt" /> <param name="FlashVars" VALUE="xml_name=ns1data.xml" /></object></noscript>
</p>
</td>
</tr>
</table>
</body>
The problem may be a CSS one and it may entail assigning an id or class to the script command line. Nevertheless; thank you for checking it out! The more eyes, the better. Also, I've tried other scripts within the linked page that don't function properly either. The site is at: http://stephendowell.net , and I will clean up the code once I get to the next "plateau", which is to apply some content.
Thanks again,
Steve D.
Can you tell me which page has the flash on it thats not working?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.