WordPress.org

Ready to get started?Download WordPress

Forums

More on Flash Headers (1 post)

  1. robhav
    Member
    Posted 6 years ago #

    If anyone has an answer to this, I'd really appreciate it.

    I'm using SWFObject to try to load a Flash banner where the jpg used to be. Here's my code in header.php:

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/swfobject.js"></script>
            <script type="text/javascript">
               var so = new SWFObject("<?php bloginfo('template_directory'); ?>/flash/banner.swf", "mymovie", "900", "180", "8", "#0F0A06");
               so.write("splash");
            </script>

    Then I simply create a div id in the body text called 'splash'.

    Not happening for me. It's not a path error I don't think.

Topic Closed

This topic has been closed to new replies.

About this Topic