Tentei trabalhar com opacidade em um objeto no Chrome mas até agora não consegui
crossobj.style.Opacity = 1;
http://www.plyme.com.br/noticias.php
No Ie e FF funciona normalmente mas no Chr ainda não consegui fazer com q a notícia que está atrás fica opaca qdo a nova listagem de notícias chega.
Se alguém tiver alguma solução, aguardo
- Fórum WMO
- → Josy's Content
Josy's Content
There have been 4 items by Josy (Search limited from 14/05/2023)
Ordernar por
Order
#940297 Opacidade No Chrome
Posted by Josy on 06/10/2008, 10:38 in CSS & Semântica (Tableless)
#933290 Função Mail
Posted by Josy on 28/08/2008, 11:32 in HTML, CSS e Metodologias
Preciso mandar emails com imagem de fundo, onde o texto fica na frente... Mas como eu faço o envio o recebimento correto só funciona para quem usa algum programa de email tipo outlook, no entanto para quem usa web nao mostra a imagem ou ela fica em cima do texto.
Já tentei colocar ela como background do td mas nao funcionou tb..
Tah ai o código:
$htm="";
$htm.="<html>\n";
$htm.="<head>\n";
$htm.="<title>NEWS GRUPO PLYME</title>\n";
$htm.="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$htm.="<style type=\"text/css\">\n";
$htm.="<!--\n";
$htm.=".style {}\n";
$htm.="-->\n";
$htm.="</style>\n";
$htm.="</head>\n";
$htm.="<body bgcolor=\"#CECFCE\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";
$htm.="<table bgcolor=\"#ffffff\" width=\"550\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#000000\">\n";
$htm.=" <tr>\n";
$htm.=" <td>\n";
$htm.=" <div style='font-family: Tahoma, Verdana; width: 577px; height: 613px; position: absolute; z-index: 1;'>\n";
$htm.=" <img src='http://www.plyme.com.br/imagens/$imagem' border=0>\n";
$htm.=" <div style='z-index: 2; height: 440px; overflow-y: auto; overflow-x: hidden; margin-top: -450px; margin-right: 15px; margin-bottom: 10px; margin-left: 15px; padding: 0 5px;'>$descricao</div>";
$htm.=" </div>\n";
$htm.=" </td>\n";
$htm.=" </tr>\n";
$htm.="</table>\n";
$htm.="</body>\n";
$htm.="</html>\n";
$subject = "Teste::.. ";
$to = $rsLista['email_cliente'];
$headers = "From: Grupo Plyme <plyme@plyme.com.br>\r\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Reply-to:empresa@empresa.com.br\n";
$from = "Teste <empresa@empresa.com.br>";
$enviou = @mail($to, $subject, $htm, $headers);
Qdo a pessoa recebe usando programa para email é da seguinte forma como na imagem 1
E qdo recebe na web é como na imagem 2 q é onde o texto fica atras da imagem..
Aguardo uma ajuda
Depois d tanto tentar achei uma solução:
$htm="";
$htm.="<html>\n";
$htm.="<head>\n";
$htm.="<title>NEWS GRUPO PLYME</title>\n";
$htm.="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$htm.="</head>\n";
$htm.="<body bgcolor=\"#cecfce\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";
$htm.="<table bgcolor=\"#ffffff\" width=\"577\" height=\"613\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#000000\">\n";
$htm.=" <tr>\n";
$htm.=" <td valign='bottom' background='http://www.plyme.com.br/imagens/$imagem'>\n";
$htm.=" <img src='http://www.plyme.com.br/tmp.jpg' border='0' style='display: none; width:1px; height:1px;' />\n";
$htm.=" <div style='height: 440px; overflow-y: auto; overflow-x: hidden; margin-right: 15px; margin-bottom: 10px; margin-left: 15px; position: fixed; padding-right: 5px;'>$descricao</div>";
$htm.=" </td>\n";
$htm.=" </tr>\n";
$htm.="</table>\n";
$htm.="</body>\n";
$htm.="</html>\n";
A mágica é em uma imagem na tag img q nao existe, entao no outlook ele tenta baixar a imagem como nao consegue vai baixando as outras e dá certo.. mas só testei no outlook até 2003.
Abraço
O recebimento no outlook 2007 não foi compatível pois a microsoft retirou algumas funcionalidades das tags html, como:
* no support for background images (HTML or CSS)
* no support for forms
* no support for Flash, or other plugins
* no support for CSS floats
* no support for replacing bullets with images in unordered lists
* no support for CSS positioning
* no support for animated GIFs
Entre outras.. Estou tentando achar uma solução para resolver esta incompatibilidade, se alguém puder ajudar, aguardamos...
Já tentei colocar ela como background do td mas nao funcionou tb..
Tah ai o código:
$htm="";
$htm.="<html>\n";
$htm.="<head>\n";
$htm.="<title>NEWS GRUPO PLYME</title>\n";
$htm.="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$htm.="<style type=\"text/css\">\n";
$htm.="<!--\n";
$htm.=".style {}\n";
$htm.="-->\n";
$htm.="</style>\n";
$htm.="</head>\n";
$htm.="<body bgcolor=\"#CECFCE\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";
$htm.="<table bgcolor=\"#ffffff\" width=\"550\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#000000\">\n";
$htm.=" <tr>\n";
$htm.=" <td>\n";
$htm.=" <div style='font-family: Tahoma, Verdana; width: 577px; height: 613px; position: absolute; z-index: 1;'>\n";
$htm.=" <img src='http://www.plyme.com.br/imagens/$imagem' border=0>\n";
$htm.=" <div style='z-index: 2; height: 440px; overflow-y: auto; overflow-x: hidden; margin-top: -450px; margin-right: 15px; margin-bottom: 10px; margin-left: 15px; padding: 0 5px;'>$descricao</div>";
$htm.=" </div>\n";
$htm.=" </td>\n";
$htm.=" </tr>\n";
$htm.="</table>\n";
$htm.="</body>\n";
$htm.="</html>\n";
$subject = "Teste::.. ";
$to = $rsLista['email_cliente'];
$headers = "From: Grupo Plyme <plyme@plyme.com.br>\r\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Reply-to:empresa@empresa.com.br\n";
$from = "Teste <empresa@empresa.com.br>";
$enviou = @mail($to, $subject, $htm, $headers);
Qdo a pessoa recebe usando programa para email é da seguinte forma como na imagem 1
E qdo recebe na web é como na imagem 2 q é onde o texto fica atras da imagem..
Aguardo uma ajuda
Depois d tanto tentar achei uma solução:
$htm="";
$htm.="<html>\n";
$htm.="<head>\n";
$htm.="<title>NEWS GRUPO PLYME</title>\n";
$htm.="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$htm.="</head>\n";
$htm.="<body bgcolor=\"#cecfce\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";
$htm.="<table bgcolor=\"#ffffff\" width=\"577\" height=\"613\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#000000\">\n";
$htm.=" <tr>\n";
$htm.=" <td valign='bottom' background='http://www.plyme.com.br/imagens/$imagem'>\n";
$htm.=" <img src='http://www.plyme.com.br/tmp.jpg' border='0' style='display: none; width:1px; height:1px;' />\n";
$htm.=" <div style='height: 440px; overflow-y: auto; overflow-x: hidden; margin-right: 15px; margin-bottom: 10px; margin-left: 15px; position: fixed; padding-right: 5px;'>$descricao</div>";
$htm.=" </td>\n";
$htm.=" </tr>\n";
$htm.="</table>\n";
$htm.="</body>\n";
$htm.="</html>\n";
A mágica é em uma imagem na tag img q nao existe, entao no outlook ele tenta baixar a imagem como nao consegue vai baixando as outras e dá certo.. mas só testei no outlook até 2003.
Abraço
O recebimento no outlook 2007 não foi compatível pois a microsoft retirou algumas funcionalidades das tags html, como:
* no support for background images (HTML or CSS)
* no support for forms
* no support for Flash, or other plugins
* no support for CSS floats
* no support for replacing bullets with images in unordered lists
* no support for CSS positioning
* no support for animated GIFs
Entre outras.. Estou tentando achar uma solução para resolver esta incompatibilidade, se alguém puder ajudar, aguardamos...
#973505 Centralizar <ul> Na Div
Posted by Josy on 10/07/2009, 13:22 in CSS & Semântica (Tableless)
HTML
CSS
Com os códigos conforme apresentado acima, não consigo centralizar o menu <ul> com os <li> na barra barra_hori. Se alguém puder colaborar dando uma dica agradeço desde já..
<!-- MENU HORIZONTAL SUPERIOR --> <div id="barra_hori"> <div id="menu_hori" align="center"> <ul> <li class=""><a href='index-2.html'><img src='images/home.png' border='0' /> Home</a></li> <li class=""><a href='pagea6f0.html?id=newsletter'><img src='images/newsletter.png' border='0' /> Newsletter</a></li> <li class=""><a href='#'><img src='images/mapa.png' border='0' /> Mapa do Site</a></li> <li class=""><a href='pagef41b.html?id=10'><img src='images/contato.png' border='0' /> Contato</a></li> </ul> </div> </div> <!-- FIM MENU HORIZONTAL SUPERIOR -->
CSS
/* Barra Horizontal */ #barra_hori { background-image: url(../images/barra_hori_1.jpg); width: 960px; margin: 0 auto; height: 39px; margin-left: auto; margin-right: auto; } /* Menu Horizontal */ #menu_hori ul { padding: 8px 0 5px 40px; _padding: 8px 0 5px 0; *padding: 8px 0 5px 0; list-style: none; line-height: normal; } #menu_hori li { float: left; } #menu_hori a { display: block; margin-right: 3px; padding: 5px 12px 7px 12px; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; color: #FFFFFF; border: none; } #menu_hori a:hover { text-decoration: none; background-color: #E1BAEB; } #menu_hori .first { margin-right: 3px; background: #FF7900; }
Com os códigos conforme apresentado acima, não consigo centralizar o menu <ul> com os <li> na barra barra_hori. Se alguém puder colaborar dando uma dica agradeço desde já..
#976322 Download Arquivo Ie
Posted by Josy on 04/08/2009, 18:50 in PHP
Estou tendo problemas para fazer o download de arquivos de um site com o Ie, sendo que com o ff acontece normalmente...
Já testei com vários tags header que li sobre isso, e nada melhorou.
Se alguém me der uma dica agradeço deste já!
arquivo do Admin q insere no banco de dados e salva no diretório
arquivo q faz leitura e permite o download
Fiz mais testes.. passei o dia fazendo isso :\
E vi que funciona perfeitamente qdo acesso a url diretamente www.site.com.br/download.php usando esse script acima.
Mas a estrutura do site é com iframe, para abrir as páginas internas www.site.com.br/index.php?url=publicacoes
E assim não funciona d jeito nenhum
Agradeço se alguem souber algo agora...
Já testei com vários tags header que li sobre isso, e nada melhorou.
Se alguém me der uma dica agradeço deste já!
arquivo do Admin q insere no banco de dados e salva no diretório
if(isset($_POST["acao"])) { if($_POST["acao"] == 'cad') { if($_POST["txtbxNomeArquivo"]) $nome_arquivo = trim($_POST["txtbxNomeArquivo"]); else $nome_arquivo = ''; if($_POST["txtbxDescricao"]) $desc_arquivo = trim($_POST["txtbxDescricao"]); else $desc_arquivo = ''; if($_POST["cmbbxSituacao"]) $situacao_publicacao = trim($_POST["cmbbxSituacao"]); else $situacao_publicacao = ''; $arquivo_publicacao = $_FILES['txtflArquivo']; $data_publicacao = date("Y-m-d"); if (!move_uploaded_file($arquivo_publicacao['tmp_name'], "../arquivo/" . RemoveAcentos(str_replace(" ", "_", $arquivo_publicacao['name'])))) { echo'<br /><br /><br /> <table class="borda" width="370" border="0" bordercolor="black" valign="center" align="center" width="280"> <tr><td class="cabecalho" align="center"><b>Detalhes da inclusão</b></td></tr> <tr><td>- Erro ao salvar o arquivo: ' . $arquivo_publicacao['name'] . '.</td></tr> <tr><td><a class="linkcinco" href="java script:history.back(-1);">- Clique aqui para voltar.</a></td></tr> </table>'; exit; } chmod("../arquivo/" . RemoveAcentos(str_replace(" ", "_", $arquivo_publicacao['name'])), 0777); $sql = "insert into $tabela set arquivo = '" . RemoveAcentos(str_replace(" ", "_", $arquivo_publicacao['name'])) . "', "; $sql .= "nome_arquivo = '$nome_arquivo', "; $sql .= "dt_publicacao = '$data_publicacao', "; $sql .= "descricao_breve = '$desc_arquivo', "; $sql .= "situacao = '$situacao_publicacao' "; if(mysql_query($sql)) { echo'<br /><br /><br /> <table class="borda" width="370" border="0" bordercolor="black" valign="center" align="center" width="280"> <tr><td class="cabecalho" align="center"><b>Detalhes da inclusão</b></td></tr> <tr><td>- Publicação cadastrada com sucesso!</td></tr> </table>'; } }
arquivo q faz leitura e permite o download
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="borda_simples_branca"> <tr class="borda_simples_branca"> <td class="td_left td_header_roxo">Arquivo</td> <td class="td_left td_header_roxo">Formato</td> <td class="td_left td_header_roxo">Upload</td> </tr> <? $td_Class = 'td_Row1'; while ($Linha = mysql_fetch_array($result)) { $Extencao = Pegar_Extencao($Linha['arquivo']); $nome_arquivo = $Linha['nome_arquivo']; $nome_arquivo = ereg_replace("<[^>]*>", "", $nome_arquivo); if (strlen($nome_arquivo) > 60) $nome_arquivo = substr($nome_arquivo, 0, 57) . "..."; echo "<tr class='borda_simples_branca'>"; echo "<td class='td_left $td_Class'>" . $nome_arquivo . "</td>"; echo "<td class='td_left $td_Class'>" . Retorna_Tag_IMG($Extencao) . "</td>"; //echo "<td class='td_center $td_Class'><a href='baixar_arquivo.php?id_file={$Linha['id_download']}'><img src='images/download.gif' border='0' width='16' height='16' title='Clique para salvar' /></td>"; echo "<td class='td_center $td_Class'><a href='arquivo/baixar_arquivo.php?id_file={$Linha['id_download']}'><img src='images/download.gif' border='0' width='16' height='16' title='Clique para salvar' /></td>"; echo "</tr>"; if ($td_Class == "td_Row1") $td_Class = "td_Row2"; else $td_Class = "td_Row1"; } echo '<tr>'; echo '<td colspan="2" align="center" style="border-left: none; border-bottom: none; border-right: none;">'; echo '<form id="frmPaginacao" name="frmPaginacao" method="POST">'; echo '<input type="hidden" id="PaginaAtual" name="PaginaAtual" value="' . $PaginaAtual . '" />'; echo Paginacao_Registros($Inicio, $Limite, null, $PaginaAtual, mysql_query($sql), 'frmPaginacao'); echo '</form>'; echo '</td>'; echo '</tr>'; ?> </table>
Fiz mais testes.. passei o dia fazendo isso :\
E vi que funciona perfeitamente qdo acesso a url diretamente www.site.com.br/download.php usando esse script acima.
Mas a estrutura do site é com iframe, para abrir as páginas internas www.site.com.br/index.php?url=publicacoes
E assim não funciona d jeito nenhum
Agradeço se alguem souber algo agora...
- Fórum WMO
- → Josy's Content
- Privacy Policy
- Regras ·