Alinhar swf no header [RESOLVIDO]

Discussões relativas ao desenvolvimento de templates para Joomla!
torre
Novato
Mensagens: 28
Registrado em: 26 Nov 2009, 16:39

Alinhar swf no header [RESOLVIDO]

Mensagem por torre »

Pessoal, sou novato em Joomla e estou desenvolvendo um portalzinho, pensei em por um header animado, tentei em gif mas não ficou bom, devida a qualidade X tamanho, então surgiu a idéia de fazer em flash, beleza, ficou legalzinha a animação, porém não consigo inserir ela no template de forma correta.

Em suma, quero fazer o flash que coloquei para aparecer no header, fique alinhado e com o tamanho certo.

Inseri o código abaixo dentro do index.php

Código: Selecionar todos

<embed id="header" height="500" width="940" type="application/x-shockwave-flash" src="templates/wm_06_j15/images/header.swf" name="header" quality="high"/> 
O código do index.php é o abaixo:

Código: Selecionar todos

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >

<head>

<jdoc:include type="head" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!--[if lte IE 6]>

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />

<![endif]-->

</head>

<body class="body_bg">

	<div id="page_bg">

	<div id="page_bg_1">

		<div id="topw">

			<div class="pill_m">

				<div id="pillmenu">

					<table cellpadding="0" cellspacing="0">

						<tr>

							<td style="text-align: left; vertical-align: middle;">

								<jdoc:include type="modules" name="user3" />

								<div class="clr"></div>

							</td>

						</tr>

					</table>

				</div>

			</div>

		</div>

		<div class="clr"></div>

		

		<div id="header_1">

			

				<div id="logo">
<embed id="header" height="500" width="940" type="application/x-shockwave-flash" src="templates/wm_06_j15/images/header.swf" name="header" quality="high"/>

				</div>

			

		</div>

		<div style="height:10px;">&nbsp;</div>

		<!--center start-->

		<div class="center">

			<div id="wrapper">

				<div id="content">

					<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>

						<div id="leftcolumn">	

							<jdoc:include type="modules" name="left" style="rounded" />

						</div>

						<?php endif; ?>

						

						<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>

						<div id="maincontent">

							<div class="m1">

						<?php else: ?>

						<div id="maincontent_full">

							<div class="m1_f">



						<?php endif; ?>

								<div class="nopad">			

									<jdoc:include type="message" />

									<?php if($this->params->get('showComponent')) : ?>

										<jdoc:include type="component" />

									<?php endif; ?>

								</div>

							</div>

						</div>

						

						<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>

						<div id="rightcolumn" style="float:right;">

							<jdoc:include type="modules" name="right" style="rounded" />								

						</div>

					<?php endif; ?>

					<div class="clr"><?php if($this->countModules('footer')) : ?><div class="footer">
<jdoc:include type="modules" name="Footer" style="" /><?php endif; ?></div>
<a href="http://www.webmedie.dk">WebMedie</a></div>
				</div>		

			</div>

		</div>

		<!--center end-->

		

	</div>	

	</div>	

	<jdoc:include type="modules" name="debug" />

<div id="c1"><div id="c2">

<a href="http://www.print-trade.dk/trykkeri.html"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="Trykkeri" title="Trykkeri" /></a>

<a href="http://www.kontor-moebler.dk"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="kontorstole" title="kontorstole" /></a>

<a href="http://www.min-renault.dk"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="Renault" title="Renault" /></a>

</div>

<a href="http://www.mementa.dk"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="seo" title="seo" /></a>

<a href="http://www.dan-konference.dk"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="konference" title="konference" /></a>

<a href="http://www.webmedie.dk/cms.html"><img src="templates/<?php echo $this->template ?>/images/lo_l.jpg" alt="CMS" title="CMS" /></a>

</div>

</body>

</html> 
Quem quiser ver como ta é só acessar: http://www.leandrotorre.com.br/601 que é minha instalação beta, o produto final fica no http://www.cavaleirosdaluz.org

Preciso alinhar esse swf, alguém sabe como?
Editado pela última vez por torre em 27 Jan 2010, 12:24, em um total de 1 vez.
torre
Novato
Mensagens: 28
Registrado em: 26 Nov 2009, 16:39

Re: Alinhar swf no header

Mensagem por torre »

inseri o id="flash" e coloquei no template.css o posicionamento mas nao deu muito certo, alguem manjaaa?????????
torre
Novato
Mensagens: 28
Registrado em: 26 Nov 2009, 16:39

Re: Alinhar swf no header

Mensagem por torre »

ninguém sabe?
torre
Novato
Mensagens: 28
Registrado em: 26 Nov 2009, 16:39

Re: Alinhar swf no header [RESOLVIDO]

Mensagem por torre »

Se alguém precisar, MP
torre
Novato
Mensagens: 28
Registrado em: 26 Nov 2009, 16:39

Re: Alinhar swf no header [RESOLVIDO]

Mensagem por torre »

Código: Selecionar todos

<div><embed src="http://www.leandrotorre.com.br/601/templates/wm_06_j15/images/header.swf" height=251px width=940px</div>
Responder