× Discussion about "Sportal" Joomla template.

Topic-icon using a flash header in place of image

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 6 months ago #3133 by trey-braid
using a flash header in place of image was created by trey-braid
www.govenom.com

milos what would i need to edit to drop a flash header in place of the image...

instead of logo_white.png

filename: logo_white.swf

would i just need to edit the index.php--- and what would i need to add...

thanks
trey

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #3134 by milos
Sorry, but I am not experienced with Flash.

Please Log in or Create an account to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 6 months ago #3136 by trey-braid
Replied by trey-braid on topic using a flash header in place of image
Would I not add a flash header in this manner?

...adding this in the index.php

<div class="wrapper1"><div class="wrapper_outside">
<div class="header">
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" download.macromedia.com/pub/shockwave/ca...cab#version=6,0,40,0 " width="980" height="150" align="left"><param name="width" value="980" /><param name="height" value="150" /><param name="align" value="left" /><param name="src" value="images/logo.swf" /><embed type="application/x-shockwave-flash" width="200" height="140" align="left" src="images/logo.swf"></embed></object>

<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.swf" width="980" height="150" alt="joomla restaurant template" /></a>
</div>

Trey

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #3137 by milos
If you are changing logo image with Flash, you would need to change
<a href="index.php"><img src="<?php echo $template_path ?><?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.swf" width="980" height="150" alt="joomla restaurant template" /></a>

with Flash object tag. But Flash size must be identical as logo image size. In your code you have 2 different sizes, first width="980" and later width="200"?!

Please find somebody experienced with Flash to help you.

Please Log in or Create an account to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 6 months ago - 7 years 6 months ago #3138 by trey-braid
Replied by trey-braid on topic using a flash header in place of image
thanks- still had typo on earliest post with the width... just wanted to make sure that is where i would put the flash scripting in the index.php...

so this is right?

<a href="index.php"><img src="<?php echo $template_path ?>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/ca...rsion=6,0,40,0" width="980" height="150" align="left"><param name="width" value="980" /><param name="height" value="150" /><param name="align" value="left" /><param name="src" value="images/logo_white.swf" /><embed type="application/x-shockwave-flash" width="980" height="140" align="left" src="images/logo_white.swf"></embed></object>

<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.swf" width="980" height="150" alt="joomla restaurant template" /></a>


trey
Last edit: 7 years 6 months ago by trey-braid.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #6006 by ian
Hi Trey

Did you ever figure out how to embed a swf flash header in place of logo_white.png?

I have tried to replace the code in index.php with what you suggested to no avail.

I have placed logo_white.swf under templates/hotsportal/images and also edited the templates/hotsportal/css/layout.css to increase height of .header

Cheers
Ian

PS
Anyone elses help would also be appreciated.

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds