swf will not work on wordpress template
-
After 78 hours of trying to figure this out on my own, I still can’t figure this out..
The swf banner my client wants on there homepage will not display (at all) when I apply the word press template, but it works stand-alone on page by itself.
here is the code that works
<script src="../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','560','height','290','wmode','transparent','music_on','0','src','flash/flash/header','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/flash/header' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="560" height="290"> <param name="movie" value="flash/flash/header.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent" /> <param name="music_on" value="0" /><param name="SCALE" value="noborder"> <embed src="flash/flash/header.swf" width="560" height="290" quality="high" allowScriptAccess="sameDomain" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" music_on="0" scale="noborder"></embed> </object> </noscript>
and here is the page that I put it on
<?php get_header(); ?> <link href="style.css" rel="stylesheet" type="text/css" /> <div id="main_bg"> <div id="main"> <div class="contentwrapper_clear"> <div class="three_px_space"></div><div id="left_feed"><div class="accent_header_text">Upcoming Events</div><div id="left_feed_content">example</div></div> <div id="flash"><script src="<?php echo get_bloginfo('template_directory'); ?>/Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','560','height','290','wmode','transparent','music_on','0','src','<?php echo get_bloginfo('template_directory'); ?>/flash/flash/header','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/flash/header' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="560" height="290"> <param name="movie" value="<?php echo get_bloginfo('template_directory'); ?>/flash/flash/header.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent" /> <param name="music_on" value="0" /><param name="SCALE" value="noborder"> <embed src="<?php echo get_bloginfo('template_directory'); ?>/flash/flash/header.swf" width="560" height="290" quality="high" allowScriptAccess="sameDomain" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" music_on="0" scale="noborder"></embed> </object> </noscript></div> </div> <div class="cleared"></div> <div class="main_divider"></div> <div class="contentwrapper"> <div class="topPost"><div id="right_feed"><div class="accent_header_text">Blog</div><div id="right_feed_content">example text</div></div> <h2 class="topTitle">Welcome</h2> <div class="topContent">example text</div> <div class="cleared"></div> </div> <!-- Closes topPost --> </div> <!-- Closes contentwrapper--> <div class="three_px_space"></div> <div class="cleared"></div> </div></div><!-- Closes Main --> <?php get_footer(); ?>
dose the “<script src=”<?php echo get_bloginfo(‘template_directory’); ?>/Scripts/AC_RunActiveContent.js” type=”text/javascript”></script>” need to be in the header.php ?
Any help will be great!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘swf will not work on wordpress template’ is closed to new replies.