Putting Flash between %logo and %menu
Hi Flynn,
I've managed to put a Flash banner below the logo and menu area - http://conraddavies.com/hif/ but would like to put it between these two elements - so the logo is above and the menu below. Is that possible? Regards (ps dosh inbound) |
At the moment you'd have to edit functions/bfa_header_config.php for this
Change PHP Code:
PHP Code:
|
Hi Flynn,
Thanks for the quick response. I'm getting this: Parse error: syntax error, unexpected T_STRING in /home/conraddavies/BE9N04NB/htdocs/hif/wp-content/themes/atahualpa332/functions/bfa_header_config.php on line 191 (I presume - $logo_are .=' should also be $logo_area .=' ) - 'area' not 'are'? PHP Code:
|
Yes, that should have been logo_area, sorry, and fixed it in the post above
Also, replace all single quotes in your code (not in the complete code, just in your code) with double quotes |
It worked! Cheers Flynn.
One thing though - in Firefox and Safari there is a gap above the menu and below the Flash. In IE7 it's OK. Any ideas how to get rid? http://www.s-on.co.uk/designerstalk/gap.jpg |
Ah haa - sussed it!
I put the flash code in a div with the specified height! So for anybody else wanting to do this here's the final code: PHP Code:
|
Hi all
my code was: $logo_area .=' <div style="height: 100px;"><script src="http://www.mysite/wordpress/scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0","width","850","heigh t","100","src","/wordpress/wp-content/themes/atahualpa342/images/testata.swf","quality","high","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movi e","/wordpress/wp-content/themes/atahualpa342/images/testata.swf" ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="850" height="100"> <param name="movie" value="http://mysite.com/wordpress/wp-content/themes/atahualpa342/images/testata.swf" /> <param name="quality" value="high" /> <embed src="http://mysite.com/wordpress/wp-content/themes/atahualpa342/images/testata.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="850" height="100"></embed> </object></noscript></div> '; ...but i see only a blank space in the right position. The .js file has benn uploaded of course. Where is the error? Thank you.... |
forget that
get the Dynamic Headers plugin and: With version 3.4.2 - instead of messing with the php files you can insert Dynamic Headers by simply pasting <?php show_media_header(); ?> in the option pages, simply go to: Style & edit HEADER AREA > Configure Header Area Here's an example: %logo %image %pages %bar1 <?php show_media_header(); ?> %bar2 Also with WP 2.8 it now remembers which header for which page - unlike before when it reset to the default. Wey hey. |
Perfect! It works. :)
Thank you very much... |
This is a simple and working solution. Tried it with WP version 2.9.2 and ATA 3.4.9
|
All times are GMT -6. The time now is 07:05 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.