trocar o header em .jpeg para um ficheiro .swf

  • contente
  • Avatar de contente Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
15 anos 4 meses atrás #32421 por contente
contente created the topic: trocar o header em .jpeg para um ficheiro .swf
preciso de ajuda, desenvolvi um site em joomla, utilizei o tema nieruchomosc_15, tudo funcionou bem até tentar inserir o flash no header, já tentei todas as conselhos aqui dados mas nada funciona, o espaço onde devia surgir o header está em branco.

os passos que fiz foram os seguintes:
no ficheiro index.php do template onde estava :

<div id="header_box"><div id="header">
<?php if($this->countModules('top')) : ?>
<div id="head_mod_out"><div id="head_mod"><div id="head_mod_in"><jdoc:include type="modules" name="top" style="xhtml"/></div></div>
</div>
<?php endif; ?>
</div></div>


troquei por

<div id="header_box"><div id="header">
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE=" download.macromedia.com/pub/shockwave/ca....cab#version=6,0,0,0 " WIDTH="971" HEIGHT="211">
<PARAM NAME="movie" VALUE="cpaheader1.swf">
<PARAM NAME="quality" VALUE="high">
<EMBED SRC="cpaheader1.swf" TYPE="application/shockwave-flash" PLUGINSPAGE=" www.macromedia.com/go/getflashplayer " WIDTH="971" HEIGHT="211">
</OBJECT>
</div></div>


e no ficheiro template_css.css onde está :

#header_box { width: 100%; height: 211px; background:url(../images/header_bg.gif) top left repeat-x;}
#header { width: 982px; height: 211px; background:url(../images/header.jpg) top left no-repeat; }


alterei para :

#header_box { width: 100%; height: 211px; background:url(../images/header_bg.gif) top left repeat-x;}
#header { width: 982px; height: 211px; }



o que estou a fazer mal, penso que não seja problema de directórios mas sim de código, uma vez que já testei o ficheiro flash em várias pastas

Please Entrar ou Registrar to join the conversation.


  • contente
  • Avatar de contente Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
15 anos 4 meses atrás #32433 por contente
contente replied the topic: Re: trocar o header em .jpeg para um ficheiro .swf
já consegui resolver o problema, o caminho do ficheiro estava errado no entanto agora surgiu outro. no firefox funciona bem, mas no internet explorer o flash não carrega e dá o seguinte erro:

Agente do Utilizador: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 3.0.30729)
Carimbo de data/hora: Thu, 20 May 2010 15:30:59 UTC


Mensagem: 'this.root' é nulo ou não é um objecto
Linha: 91
Caráct: 79
Código: 0
URL: [url=http://localhost/cpa/templates/nieruchomosc_15/js/cssmenus.js" onclick="window.open(this.href);return false;]http://localhost/cpa/templates/nierucho ... ssmenus.js[/url]

Please Entrar ou Registrar to join the conversation.