SMFPT Suporte > SMF 2.0.X
como deichar o logo flash transparente ?
marcio-msa:
como deichar o logo flash transparente ?
adicionei o logo flash da segunte forma
no arquivo index.template.php procurei por
--- Código: --- <div id="header"><div class="frame">
<div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
--- Fim de Código ---
e modei por
--- Código: --- <div id="header">
<div id="logo">
<iframe frameborder="1" scrolling="no" width="400" height="100" src="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf"></iframe>
</div>';
--- Fim de Código ---
index.css adicione este arquivo no final
--- Código: ---#logo a {
display:block;
height:100px;
left:0;
position:absolute;
top:0;
width:400px;
}
--- Fim de Código ---
mais o logo fica com o fundo branco gostaria de deichar ele transparente vi em um site para adicionar o seguinte codigo
--- Código: ---wmode="transparent
--- Fim de Código ---
mais não sei onde adicionar esta codigo preciso de ajuda
marcio-msa:
editando aqui consegui colocar o logo flash transparente
--- Código: --- <div id="header">
<div id="logo">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="135" height="300">
<param name="movie" value="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="980" height="300"></embed>
</object>
</div>';
--- Fim de Código ---
marcio-msa:
no explor 8 o logo ficou pequeno se alguem saber oq aconteser me ajuda
no firefox ta normal :laugh:
marcio-msa:
em mais alguns testes que fiz consegui consertar
logo em flash com fundo transparente no explor 8 e firefox 13.0.1
--- Código: --- echo '
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="135" height="200">
<param name="movie" value="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="swfversion" value="7.0.70.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf" width="820" height="200">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="swfversion" value="7.0.70.0" />
<param name="expressinstall" value="http://www.gsmlivefans.com.br/flash/D88C452J_logo_fox.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</div>
';
--- Fim de Código ---
candidosa2:
Muito bom
Navegação
[#] Página seguinte
Ir para versão completa