Post by alkemyst » Fri Dec 14, 2007 6:39 pm

Hi folks,

how can i replace the .png logo with a new flash animated logo?


#header .a {
  background: url('../image/logo.png') no-repeat;
  behavior: url('catalog/javascript/png/iepngfix.htc');
  width: 157px;
  height: 32px;
  float: left;
  position: absolute;
  top: 22px;
  left: 10px;
}

Many Thanks
BR
Alke

Newbie

Posts

Joined
Fri Dec 14, 2007 6:35 pm

Post by JohnnyO » Sat Dec 15, 2007 1:34 am

Unfortunately you can't embed the flash (.swf) into CSS. It must be done in the PHP/HTML

I will look into where this needs to happen, In the mean time if somebody knows it better than I. Feel free to answer this :)

-JO

If you make it idiot proof, they will just build a better idiot.


User avatar
New member

Posts

Joined
Wed Nov 14, 2007 7:31 am
Location - Denver, CO - USA

Post by trippy » Sun Dec 16, 2007 5:17 pm

done!
in the header.tpl add





  var so = new SWFObject("image/textmask.swf", "textmask.swf", "531", "90", "7", "#000000");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
  so.write("flashcontent");
 

where swfobject.js is a script that you can find here  http://blog.deconcept.com/swfobject/ 

New member

Posts

Joined
Sun Dec 16, 2007 5:12 pm
Who is online

Users browsing this forum: No registered users and 2 guests