Flash in the header help editing please...

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Flash in the header help editing please...
sound
CZ Super Newbie
sound has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Hi,

I'm having trouble viewing the flash im putting in my header
I folowed an old topic to get help but not able to fix it fully.
First i create my flash 600 by 108 and the html for that, both called logo.swf logo.htm
upload those to themes/Cobalt/forums/images/logo.swf

Open the header1.html where the code for the origional header logo.gif is stored.
Find this at the bottom:
<tr>
<td>
<a href="index.html"><img src="themes/Cobalt/forums/images/logo.gif" width="257" height="108" border="0"></a>
</td>
<td>

Replace:
<img src="themes/Cobalt/forums/images/logo.gif" width="257" height="108" border="0">

With:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0" width="600" height="108">
<param name="SRC" value="TheFullUrl/phpn/themes/Cobalt/forums/images/logo.swf\">
<embed src="TheFullUrl/phpn/themes/Cobalt/forums/images/logo.swf\" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" width="600" height="108">
</embed>
</object>

So i now have:

<tr>
<td>
<a href="index.html"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0" width="600" height="108">
<param name="SRC" value="http://www.ottomaniarecordings.com/phpn/themes/Cobalt/forums/images/logo.swf\">
<embed src="http://www.ottomaniarecordings.com/phpn/themes/Cobalt/forums/images/logo.swf\" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" width="600" height="108">
</embed>
</object>
</a>
</td>
<td>

Did i leave the code around it correct?

I then edited my logo.htm file for the flash, with no \ on the end of both links to the .swf
I can see a white box where the flash should be showing at the top of the page/header.

Thats the best i can explain sorry, any ideas?

later



Back to top Reply with quote
#2   re: Flash in the header help editing please...
sound
CZ Super Newbie
sound has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
I fixed it icon_smile.gif I removed the \ off the link in the header1.html
I remember now, the \ woudl be used in the theme.php if thats where i was editing the ogigional logo.gif? but my theme has a html instead ey?

One small thing please, since i've enlarged the logo in my headed,
the site is expanding (all blocks on the right are pushed further right.)

Where can i edit the width of the site?

Thanks later



Back to top Reply with quote
#3   re: Flash in the header help editing please...
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
Actually, you can remove the link, since it won't work on the Flash movie. Also, you don't have to put in the full path to the movie. If you uploaded it to themes/Cobalt/images/ folder, you can just put that part of the URL. Something like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0" width="600" height="108">
<param name="SRC" value="themes/Cobalt/forums/images/logo.swf\">
<embed src="themes/Cobalt/forums/images/logo.swf\" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" width="600" height="108">
</embed>
</object>


As for your right blocks, without seeing the theme, I can't say for sure, but I suspect that by using a Flash movie that's wider than the original logo, you've broken the outer table that the site sits in.


Back to top Reply with quote
#4   re: Flash in the header help editing please...
sound
CZ Super Newbie
sound has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Hi kelly,

Yea i just got in the habbit of putting the full path in my links.
I've used flash in blocks before, yea if i made it wider than the block the block would stretch. But as the flash i put in the header stretched the site,
Can i fix the site so it's not stretching? you know what i mean?
I'ver seen tons of sites with flash i ntheir headers.

The origional gif in the headed was/is 257 by 108
My flash is 600 by 108
Here's the site so you can see what i mean. [ Register or login to view links on this board. ]



Back to top Reply with quote
#5   re: Flash in the header help editing please...
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
Look in the folder for that theme and grab header.php (or whatever the header file is named) and attach it here. I'll take a look at the table code.



Back to top Reply with quote
#6   re: Flash in the header help editing please...
sound
CZ Super Newbie
sound has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Hey thanks,

I added a another flash in the top center message block and it seemes to have fixed the size, watcha think?

Here's the header file
[ Register or login to view links on this board.]



Back to top Reply with quote
#7   re: Flash in the header help editing please...
sound
CZ Super Newbie
sound has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
When someone views the homepage it looks right,
my screen resolution is 600 by 800
Im wondering do others see ti different in higher resolutions,
hope not.
when i click on any other module other than home,
The site stretches again,
I dunno can i fix the theme to stay like the home page width?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum