Problemas com flash

  • rweb
  • Avatar de rweb Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
15 anos 5 meses atrás #29949 por rweb
rweb created the topic: Problemas com flash
Pessoal estou criando um site o http://paguemenosjuazeiro.com.br/ só que estou com alguns problemas primeiro ele algo parecido com este http://www.supermercadospaguemenos.com.br/ com o flash em cima estou usando esta template gk_ilife . outro problemas é no menus seções pois o final está aparecendo atrás de um flash que tem o mascote podem reparar. usei um codigo em html pois não achei edito wisiwyg pra joomla com opção pra flash.

gostarai de saber se tem como colocar um menu como o que ele quer??
Por favor me ajudem pois tenho que enviar amanhã pro cliente

Aqui vai a template.css
/*
# ILife - September 2008 (for Joomla 1.5)
# Copyright (C) 2007-2008 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: [url=http://www.gavick.com" onclick="window.open(this.href);return false;]http://www.gavick.com[/url]
# Support: <!-- e --><a href="mailto:support@gavick.com]support@gavick.com[/url]<!-- e -->
*/

/* ||| universal set of reset styles |||*/

html,
body,
div,
span,
applet,
object,
iframe,
caption,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
vertical-align: baseline;
font-size: 100%;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
/* remember to define focus styles! */

:focus {
outline: 0;
}
body {
background: white;
line-height: 1;
color: black;
}
ol,
ul {
list-style: none;
}
/* tables still need cellspacing="0" in the markup */

table {
border-collapse: separate;
border-spacing: 0;
}
caption,
th,
td {
font-weight: normal;
}
/* remove possible quote marks (") from <q> & <blockquote> */

blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
}
blockquote,
q {
quotes: "" "";
}
/* ||| the end |||*/
/* ||| set of clearing floats |||*/

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
display: inline-block;
}
.clr {
font-size : 1px;
}
/* Hides from IE-mac \*/

* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
.clear {
clear: both;
}
/* End hide from IE-mac */
/* ||| the end |||*/

html {
height: 100%;
margin-bottom: 1px;
}
body {
margin: 0;
padding: 0;
font-size:100%;
}
#bg {
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
line-height:1.6;
}
a {
outline: none;
cursor: pointer;
}
img {
border: none;
text-decoration: none;
}
a:link,
a:visited,
a:active {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
padding: 0 0 0 2px;
margin: 0;
margin-left: 1px;
list-style: none;
}
ul li {
border-bottom: 1px solid #fff;
padding-left: 0;
line-height: 170%;
padding: 5px 0;
}
ul li a {
text-decoration: none!important;
}
ul li a:hover {
text-decoration: underline!important;
}
ol li {
line-height: 170%;
}
fieldset {
border: 0;
padding: 5px 0;
}
th {
padding: 4px;
text-align: left;
}
h1 {
font-size: 200%;
}
h2 {
font-size: 175%;
}
h3 {
font-size: 150%;
}
h4 {
font-size: 125%;
}
h5 {
font-size: 115%;
}
p,
pre,
blockquote,
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 1em 0;
padding: 0;
}
fieldset {
border: none;
}
fieldset a {
font-weight: bold;
}
input,
select,
button {
font: normal 11px Tahoma, Arial, Verdana, sans-serif;
}
hr {
border-right: 0;
border-left: 0;
border-bottom: 0;
height: 1px;
color: #eee;
background-color: #eee;
}
.clearfix {
clear: both;
}
.lf {
float: left;
}
.rf {
float: right;
}
/* Here you can change width or height of your logo*/

a#logo {
width: 123px;
height: 52px;
float: left;
margin-top: 25px;
display: block;
}
/*end*/

/* Set the major blocks
*/
div#page_wrap_2 {
min-height: 638px;
}
div#memberarea,
div#memberarea_wrap,
div#top_wrap,
div#main_wrap,
div#banner_wrap,
div#main_wrap_bottom {
width: 960px;
margin: 0 auto;
clear: both;
}
div#top_wrap {
height: 102px;
}
div#main_wrap {
}
div#main_wrap_top {
width: 904px;
background: #e8e8e8;
margin: 14px 14px 0;
padding: 14px 14px 0;
}
div#header_wrap {
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
}
div#bg_content_wrap {
margin: 14px 14px 0;
clear: both;
}
div#horiz-menu {
width: 958px;
height: 34px;
}
div#dat_wrap {
padding: 0 14px;
height: 33px;
line-height: 33px;
background: #f7f7f7;
}
div#pathway_wrap {
width: auto;
float: left;
}
div#datatop {
width: auto;
float: right;
}
div#datatop span {
padding: 1px 2px;
}
span.breadcrumbs_start {
padding: 1px 2px;
margin-right: 6px;
}
div#header {
float:left;
overflow: hidden;
}
div#advert2 {
float:right;
overflow: hidden;
}
/* Search module in the top
*/
#search {
float: right;
margin-top: 55px;
}

input.mod_search_button,
input.mod_search_button:hover{
width: 28px;
height: 22px;
border: none;
}

input#mod_search_searchword {
border: none;
width: 204px;
height: 12px;
padding: 4px 0 4px 6px;
margin: 0 5px 0 0;
}
#memberarea input.button {
float: left;
height: 22px;
width: 61px;
margin-top: 3px;
text-decoration: none;
text-transform: uppercase;
font-size: 10px;
line-height: 18px;
font-weight: normal;
border: none;
}
div#search input.button {
float: right;
width: 28px;
height: 22px;
border: none;
padding: 0px;
margin: 0;
}
div#search input.inputbox {
float: right;
}
#memberarea .logout span {
float: left;
color: #333;
margin: 3px 15px 0 14px;
line-height: 27px;
}
#memberarea .logout input.button {
float: none!important;
display: inline;
margin-top: 6px;
}
div.logout {
float: left;
}
div.logout input.button {
padding: 0;
}
/* set the width of user modules */
div#bottom_wrap {
padding: 14px;
}
.users_wrap {
clear: both;
}
/* set the width of user modules */

.us_width-32b,
.us_width-49b,
.us_width-32b-special1,
.us_width-32b-special2 {
overflow: hidden;
float: left;
margin-left: 2%;
}
.us_width-32b {
width: 32%;
}
.us_width-32b-special1 {
width: 24%;
}
.us_width-32b-special2 {
width: 48%;
}
.us_width-49b {
width: 49%;
}
div:first-child.us_width-32b,
div:first-child.us_width-49b {
margin-left: 0;
}
.us-stand {
clear: both;
width: 100%;
}
/* component + right */
div#component-2 {
float: left;
width: 588px;
}
div#right {
float: right;
width: 330px;
}
div#content_wrap {
background: #fff;
}
/* component */

div#component {
width: 100%;
}
#mainbody {
padding: 0;
margin-bottom: 10px;
}
/* Footer */

#footer_wrap {
width: auto;
float: right;
clear: both;
height: 16px;
line-height: 16px;
font-size: 11px;
margin: 10px 0 0 0;
padding: 0 3px 0 3px;
}
#footer_wrap div {
}
#footer_wrap div div {
}
div#footer_wrap a {
text-decoration: none;
color: #fff;
}
div#highlighter {
clear: both;
}
/* Moduletable
*/
div.moduletable h3,
div.moduletable_menu h3 {
margin: 0 0 8px;
padding: 0;
white-space: nowrap;
font: normal 20px Geneva, Arial, Helvetica, sans-serif;
color: #666;
}
div.moduletable h3 span,
div.moduletable_menu h3 span {
padding: 1px 3px;
}
div.moduletable,
div.moduletable_menu {
padding: 14px;
line-height: 13px;
margin: 0 0 14px;
background: #f7f7f7;
}
/* Restrictions */
div#main_wrap_top .moduletable {
background: none;
padding: 0;
}
div#bottom_wrap .moduletable {
background: none;
color: #fff;
font-weight: bold;
}
div#bottom_wrap .moduletable h3 {
color: #fff;
}
div#bottom_wrap a {
color: #fff;
}
div#bottom_wrap h4.gk_news_show_news_header a {
padding: 1px 2px;
}
/* Joomla menu */

ul.menu {
list-style: none;
margin: 0;
padding: 0 0 6px;
background: #fff;
}
ul.menu li {
background: none;
margin: 0 14px;
padding: 0;
border-bottom: 1px solid #f1f1f1;
}
ul.menu li a {
display: block;
outline: none;
padding: 5px 2px;
color: #333;
text-decoration:none!important;
}
ul.menu li a:hover,
ul.menu li a:active,
ul.menu li a:focus {
color: #659901;
}
ul.menu li.active a {
color: #659901;
}
ul.menu li.parent a {
background: url('../images/menu_joomla_bullet.png') no-repeat 96% center;
}
ul.menu li ul {
list-style: none;
margin: 0;
padding: 0;
}
ul.menu li li {
border-bottom: 1px solid #f1f1f1;
}
ul.menu li li:first-child {
border-top: 1px solid #f1f1f1;
}
ul.menu li li a {
border: none;
font-weight: normal !important;
padding-left: 20px !important;
}
ul.menu li li a:hover,
ul.menu li li a:active,
ul.menu li li a:focus {
background: none;
}
ul.menu li:last-child {
border: none;
}
ul.menu li:last-child a {
padding-bottom: 0;
}
ul.menu li li:last-child a {
padding-bottom: 5px;
}
ul.menu li.parent li a {
background: none;
}
/* Style switcher
*/
#links {
width: 93%;
float: left;
}
#stylearea span {float: left;padding:11px 4px;
}
#stylearea a {color: #fff;}
.st-icon-1,
.st-icon-2,
.st-icon-3 {
width: 70px;
height: 24px; line-height: 24px; text-align:center;
display: block;
float: left;
margin: 5px;border: 1px solid #fff;
}
.st-icon-1 {
background: #FF7400;
}
.st-icon-2 {
background: #253748;


Aqui vai o index.php
<?php

/*
# ILife - September 2008 (for Joomla 1.5)
# Copyright (C) 2007-2008 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: [url=http://www.gavick.com" onclick="window.open(this.href);return false;]http://www.gavick.com[/url]
# Support: <!-- e --><a href="mailto:support@gavick.com]support@gavick.com[/url]<!-- e -->
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// including base setup files
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_setup.php');

// setting variable for template base url
$template_baseurl = $this->baseurl . '/templates/' . $this->template;

// adding mootools
JHTML::_('behavior.mootools');

// getting variables from administration panel
$mtype = $this->params->get("menutype", "moomenu");
$datatop = ($this->params->get("datatop", 1) == 2) ? false : true;
$youah = ($this->params->get("youah", 1) == 2) ? false : true;
$header_width = $this->params->get("header_width", 626);
$header_margin = 14;

if($this->countModules('header + advert2') < 2)
{
if($this->countModules('header')) $header_width = 904;
else $header_width = 1;

$header_margin = 0;
}

// getting menu
$menu = & JSite::getMenu();
// getting information about third_width mode
$third_width = $this->params->get("third_width", 1);
// creating JURI instance
$url = clone(JURI::getInstance());
// getting User object and user ID
$user =& JFactory::getUser();
$userID = $user->get('id');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ;
<html xmlns=" www.w3.org/1999/xhtml" ; xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<?php
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/menu.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_head.php');
?>
</head>
<body id="bg">
<div id="page_wrap_1">
<div id="page_wrap_2">
<div id="main_wrap" class="clearfix">
<!-- Top wrapper -->
<div id="top_wrap">
<a id="logo" href="./"></a>
<?php if ($this->countModules('advert1')) : ?>
<div id="search">
<jdoc:include type="modules" name="advert1" style="raw" />
</div>
<?php endif; ?>
</div>
<!-- menu -->
<div id="horiz-menu" class="nav">
<?php echo $main_navigation;?>
</div>
<div id="content_wrap" class="clearfix">
<?php if ($this->countModules('banner')) : ?>
<!-- banner -->
<div id="banner_wrap">
<jdoc:include type="modules" name="banner" style="raw" />
</div>
<?php endif; ?>
<?php if ($this->countModules('pathway')) : ?>
<?php if($datatop) : ?>
<div id="dat_wrap">
<div id="datatop"><span><?php echo JHTML::_('date', 'now' ) ?></span></div>
<?php endif; ?>
<div id="pathway_wrap">
<?php if($youah) : ?>
<span class="breadcrumbs_start">You are here:</span>
<?php endif; ?>
<jdoc:include type="modules" name="pathway" style="raw" />
</div>
</div>
<?php endif; ?>
<!-- main wrapper -->
<?php if ($this->countModules('header or advert2') ) : ?>
<div id="main_wrap_top" class="clearfix">
<div id="header_wrap">
<?php if ($this->countModules('header')) : ?>
<div id="header" style="width:<?php echo ($header_width != 0) ? $header_width : 474; ?>px;">
<jdoc:include type="modules" name="header" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('advert2')) : ?>
<div id="advert2" style="width:<?php echo ($header_width != 0) ? 904-$header_width-$header_margin : 474; ?>px;margin-left: <?php echo $header_margin; ?>px;">
<jdoc:include type="modules" name="advert2" style="gavickpro" />
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!-- Main wrapper -->
<div id="bg_content_wrap" class="clearfix">
<div id="component<?php echo $w_count ?>">
<?php if ($this->countModules('top')) : ?>
<div class="users_wrap">
<jdoc:include type="modules" name="top" style="gavickpro" headerLevel="3" />
</div>
<?php endif; ?>
<?php if($this->countModules('user1 or user2 or user3')) : ?>
<div class="users_wrap clearfix">
<?php if ($this->countModules('user1')) : ?>
<div class="<?php echo $user_position_1; ?>">
<!-- user9 -->
<jdoc:include type="modules" name="user1" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<div class="<?php echo $user_position_1; ?>">
<!-- user10 -->
<jdoc:include type="modules" name="user2" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user3')) : ?>
<div class="<?php echo $user_position_1; ?>">
<!-- user11 -->
<jdoc:include type="modules" name="user3" style="gavickpro" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<div id="mainbody">
<jdoc:include type="component" />
</div>
<?php if($this->countModules('user4 or user5 or user6')) : ?>
<div class="users_wrap usbottom clearfix">
<?php if ($this->countModules('user4')) : ?>
<div class="<?php echo $user_position_2; ?>">
<!-- user9 -->
<jdoc:include type="modules" name="user4" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user5')) : ?>
<div class="<?php echo $user_position_2; ?>">
<!-- user10 -->
<jdoc:include type="modules" name="user5" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user6')) : ?>
<div class="<?php echo $user_position_2; ?>">
<!-- user11 -->
<jdoc:include type="modules" name="user6" style="gavickpro" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this->countModules('bottom')) : ?>
<div class="users_wrap usbottom">
<jdoc:include type="modules" name="bottom" style="gavickpro" headerLevel="3" />
</div>
<?php endif; ?>
</div>
<?php if ($this->countModules('right')) : ?>
<div id="right">
<jdoc:include type="modules" name="right" style="gavickpro" headerLevel="3" />
</div>
<?php endif; ?>
</div>
<?php if ($this->countModules('highlighter')) : ?>
<div id="highlighter">
<jdoc:include type="modules" name="highlighter" style="raw" headerLevel="3" />
</div>
<?php endif; ?>
<?php if($this->countModules('user9 or user10 or user11')) : ?>
<!-- Bottom modules -->
<div id="bottom_wrap" class="clearfix">
<?php if ($this->countModules('user9')) : ?>
<div class="<?php
if($third_width > 0 && $this->countModules('user9') && $this->countModules('user10') && $this->countModules('user11'))
{
if($third_width == 3) echo $user_position_4s2;
else echo $user_position_4s1;
}
else
{
echo $user_position_4;
}
?>" <?php if($third_width > 0) echo 'style="margin-left:0;"'; ?>>
<!-- user9 -->
<jdoc:include type="modules" name="user9" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user10')) : ?>
<div class="<?php
if($third_width > 0 && $this->countModules('user9') && $this->countModules('user10') && $this->countModules('user11'))
{
if($third_width == 2) echo $user_position_4s2;
else echo $user_position_4s1;
}
else
{
echo $user_position_4;
}
?>">
<!-- user10 -->
<jdoc:include type="modules" name="user10" style="gavickpro" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user11')) : ?>
<div class="<?php
if($third_width > 0 && $this->countModules('user9') && $this->countModules('user10') && $this->countModules('user11'))
{
if($third_width == 1) echo $user_position_4s2;
else echo $user_position_4s1;
}
else
{
echo $user_position_4;
}
?>">
<!-- user11 -->
<jdoc:include type="modules" name="user11" style="gavickpro" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- Footer -->
<div id="footer_wrap">
<?php
// including footer file
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_footer.php');
?>
</div>
<?php
// including information alert for IE6
if($this->params->get("ie6info", 1) == 1):
?>
<!-- IE6 alert -->
<div id="ie6">
<?php include_once(JPATH_ROOT."/templates/".$this->template.'/lib/php/gk_ie6.php'); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</body>
</html>

Please Entrar ou Registrar to join the conversation.


Mais
15 anos 5 meses atrás #30301 por thgcivic
thgcivic replied the topic: Re: Problemas com flash
olá
aki está aparecendo normalmente!!

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 5 meses atrás #30309 por leagencia
leagencia replied the topic: Re: Problemas com flash
rweb, no navegador firefox seu problema parece solucionado, mas no IE realmente o erro continua!
para solucionar este problema basta somente definir em seu arquivo flash o valor do wmode

<param name="wmode" value="transparent" />
:)

Please Entrar ou Registrar to join the conversation.