Recent Topics

1 May 14, 2008 23:18    

My b2evolution Version: 2.x

Theoretically, I should be able to replace the standard header in my B2E blog with a Flash SWF.

As a test, I opened my _body_header.inc.php file and slugged in a GIF the same size and shape. It worked fine.

When I put the flash code in the same place, nothing happens. There's not even a space where the SWF should be, that space is just swallowed up.

Any thoughts?

EDITED TO ADD:
I had neglected to insert the opening lines of Javascript code. It seems to be working now.

2 Jun 07, 2008 17:24

Someone asked me to elaborate, so here goes.

I deleted the "header" and "nav" div areas and replaced them with:

<div id="headerImg" class="width">

<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>

INSERT YOUR FLASH HTML CODE HERE

</div>

Make sure you include the AC_RunActiveContent.js in the same directory.

Of course, my flash contains new navigation links. If you want to keep the blog's nav links, I suppose you wouldn't delete the nav area from the code.


Form is loading...