- Posts: 6747
- Thank you received: 716
Re: using a flash header in place of image
-
- Topic Author
- Visitor
14 years 2 months ago - 4 years 4 months ago #3133
by
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
using a flash header in place of image was created by
Code:
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
Last edit: 4 years 4 months ago by milos.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
14 years 2 months ago #3134
by milos
Replied by milos on topic Re: using a flash header in place of image
Sorry, but I am not experienced with Flash.
Please Log in to join the conversation.
-
- Topic Author
- Visitor
14 years 2 months ago - 4 years 4 months ago #3136
by
Replied by on topic Re: using a flash header in place of image
Would I not add a flash header in this manner?
...adding this in the index.php
Trey
...adding this in the index.php
Code:
<div class="wrapper1"><div class="wrapper_outside">
<div class="header">
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>
[b][color=#880000]<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.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>[/color][/b]
<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.swf" width="980" height="150" alt="joomla restaurant template" /></a>
</div>
Trey
Last edit: 4 years 4 months ago by milos.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6747
- Thank you received: 716
14 years 2 months ago #3137
by milos
Replied by milos on topic Re: using a flash header in place of image
If you are changing logo image with Flash, you would need to change
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.
Code:
<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 to join the conversation.
-
- Topic Author
- Visitor
14 years 2 months ago - 14 years 2 months ago #3138
by
Replied by on topic Re: 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
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: 14 years 2 months ago by .
Please Log in to join the conversation.
-
ian
Inactive member - New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 10 months ago #6006
by ian
Replied by ian on topic Re: using a flash header in place of image
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.
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 to join the conversation.
Time to create page: 0.161 seconds