• OK, I’m a newbie when it comes to php. I found a way to load different page headers and flash navs per page but it seems a little sluggish when loading each page. Maybe it’s just because it’s laoding a different swf for every page but it’s the only way I found to achieve the colorization I was after.

    Here’s the wp site:

    https://www.soundmovesaudio.com/1224/

    and here is the header code:


    <div id="header" class="<?php if(is_page('home')) echo('headerHome'); ?>
    <?php if(is_page('facilities')) echo('headerFacilities'); ?>
    <?php if(is_page('recording')) echo('headerProduction'); ?>
    <?php if(is_page('mixing')) echo('headerProduction'); ?>
    <?php if(is_page('production-team')) echo('headerProduction'); ?>
    <?php if(is_page('gear')) echo('headerGear'); ?>
    <?php if(is_page('clients')) echo('headerClients'); ?>
    <?php if(is_page('contests')) echo('headerEvents'); ?>
    <?php if(is_page('soundscape-house-concerts')) echo('headerEvents'); ?>
    <?php if(is_page('location')) echo('headerContact'); ?>
    <?php if(is_page('booking-policy')) echo('headerContact'); ?> ">
    </div>

    <div id="navSwf">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&quot; width="794" height="80">
    <param name="movie" value="<?php if(is_home('home')) echo('images/sm_nav.swf'); ?>
    <?php if(is_page('facilities')) echo('images/sm_navFacilities.swf'); ?>
    <?php if(is_page('recording')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('mixing')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('production-team')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('gear')) echo('images/sm_navGear.swf'); ?>
    <?php if(is_page('clients')) echo('images/sm_navClients.swf'); ?>
    <?php if(is_page('contests')) echo('images/sm_navEvents.swf'); ?>
    <?php if(is_page('soundscape-house-concerts')) echo('images/sm_navEvents.swf'); ?>
    <?php if(is_page('location')) echo('images/sm_navContact.swf'); ?>
    <?php if(is_page('booking-policy')) echo('images/sm_navContact.swf'); ?>" />
    <param name="quality" value="high" />
    <embed src="<?php if(is_home('home')) echo('images/sm_nav.swf'); ?>
    <?php if(is_page('facilities')) echo('images/sm_navFacilities.swf'); ?>
    <?php if(is_page('recording')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('mixing')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('production-team')) echo('images/sm_navProduction.swf'); ?>
    <?php if(is_page('gear')) echo('images/sm_navGear.swf'); ?>
    <?php if(is_page('clients')) echo('images/sm_navClients.swf'); ?>
    <?php if(is_page('contests')) echo('images/sm_navEvents.swf'); ?>
    <?php if(is_page('soundscape-house-concerts')) echo('images/sm_navEvents.swf'); ?>
    <?php if(is_page('location')) echo('images/sm_navContact.swf'); ?>
    <?php if(is_page('booking-policy')) echo('images/sm_navContact.swf'); ?>" width="794" height="80" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer&quot; type="application/x-shockwave-flash"></embed>
    </object>
    </div>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different Headers and Flash Navs per Page – Is this right?’ is closed to new replies.