- Fórum WMO
- → Lucia's Content
Lucia's Content
There have been 33 items by Lucia (Search limited from 13/05/2023)
#965493 Expression Web - Popup
Posted by Lucia on 28/04/2009, 16:45 in FrontPage
Nos links abaixo você encontra script para isso.
http://www.dynamicdr...4/thumbnail.htm
http://www.dynamicdr...rogjs/index.htm
http://www.dynamicdr...mplegallery.htm
http://www.dynamicdr...tepcarousel.htm
http://www.dynamicdr...tbox2/index.htm
Abraços
#971594 Enviar Dados Para Varios E-mails
Posted by Lucia on 22/06/2009, 19:11 in FrontPage
Vou te dar uma sugestão, mas não sei te dizer se vai dar certo, pois estou sem extensão do front aqui e não da para testar.
Clique em propriedades do formulário e vá em opções > resultados por email, aí coloca os emails separado por ponto e vírgula.
Se não der certo, valeu a tentativa.
Abraços
#960568 Ferramentas / Comportamentos - Link Fica Sem O Cursor
Posted by Lucia on 12/03/2009, 21:10 in FrontPage
Faz assim:
>digite o texto
>selecione o texto e faça um link normal para a página que vc quer abrir (inserir hiperlink).
>com o texto selecionado, vá em
>formatar
>comportamentos
>siga os passos normais
OS: o teste que fiz aqui, em comportamentos eu escolhi "Abrir janela no navegador"
Qualquer coisa, é só voltar por aqui.
Abraços.
#964477 Formulário De Cadastro
Posted by Lucia on 19/04/2009, 12:06 in FrontPage
Ja tentei fazer isso e não dei conta, tente fazer se der certo traga o resultado pra gente aprender.
Acesso restrito
#958617 Efeito De Aparecer Foto Num Link, O Fp Faz?
Posted by Lucia on 20/02/2009, 19:54 in FrontPage
O front não faz, mas abaixo tem um link com o script, não é difícil de fazer.
Abraços
http://www.dynamicdr...xpandoimage.htm
Com mais tempo, encontrei outros scripts, espero que goste.
http://www.dynamicdr...4/thumbnail.htm
http://www.dynamicdr...rogjs/index.htm
http://www.dynamicdr...mplegallery.htm
http://www.dynamicdr...tepcarousel.htm
http://www.dynamicdr...tbox2/index.htm
Abraços
#976911 Mailto.php Dando Erro
Posted by Lucia on 10/08/2009, 21:43 in PHP
Seguinte, tenho um form php que envia o link da página, estava funcionando bem, mas de repente deu pau e não vai.
Já fui observar se se o problema estava nas permissões, não é.
Quando a gente preenche o form ele até parece que envia, na janela que aparece depois de enviado, antes aparecia a url da página, agora não.
Se alguem quiser ver no site o link é esse:
(é só clicar na bonequinha)
mailto.php
o arquivo php que tenho no diretório do site é esse:
<?PHP
error_reporting(134);
# Script name : el8.recommend
# Version : 1.0
# Description : Inform someone about page you are currently on
# Extra info : This script uses JavaScript to pop up a window with the form.
#
# Read readme.txt
#
# -[ hr.el8.web
# -[ made by Slaven Bacelic
# -[ e-mail: educamor@terra.com.br
#
# Edit variables below:
#
# Title of the "poped" page:
$GLOBALS["title"]="Envie esta página para um(a) Amigo(a)!";
# Path to mailto.php script:
$GLOBALS["path"]="http://www.educamor....et/mailto.php";
# Site name:
$GLOBALS["site_name"]="Educamor";
# webmaster's email:
$GLOBALS["your_email"]="educamor@terra.com.br";
# Last words: You can distribute this script freely as long as my name and email are in header!
############################ DO NOT EDIT BELOW ################################
function show_form() {
?>
<html>
<head>
<title><?PHP echo $GLOBALS["title"]; ?></title>
</head>
<body bgcolor="#C1718F" style="font-family: Comic Sans MS; color: #FFFFFF; font-size: 12pt">
<div align="center">
<table border="0" cellpadding="0" id="table1">
<tr>
<td>
<img border="0" src="http://www.educamor....s/maluzita.gif" width="100" height="120"></td>
Recomendando <b><?PHP echo $GLOBALS["url"]; ?></b> para seu(a) amigo(a) ...
<form method="post" action="<?PHP echo $GLOBALS["path"]; ?>">
<input type=hidden name="url" value="<?PHP echo $GLOBALS["url"]; ?>">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="50%"> Seu nome: </td>
<td>
<input type="text" name="form[from]" size="30">
</td>
</tr>
<tr align="left" valign="top">
<td> <small>*</small> Seu email: </td>
<td>
<input type="text" name="form[from_email]" maxlength="40" size="30">
</td>
</tr>
<tr align="left" valign="top">
<td> <small>*</small> Email do amigo(a):</td>
<td>
<input type="text" name="form[to_email]" size="30">
</td>
</tr>
<tr align="left" valign="top">
<td> Envie su mensagem: </td>
<td>
<textarea name="form[comment]" rows="5" cols="30"></textarea>
</td>
</tr>
<tr align="left" valign="top">
<td>
<input type="submit" name="submit" value="Enviar">
<input type="reset" name="Reset" value="Limpar">
</td>
<td> </td>
</tr>
</table>
<p><small>* - Preenchimento obrigatório!</small></p>
</form>
</body>
</html>
<?PHP
}
function error($string) {
print ("<div align=center valign=center><b>Aviso:</b> $string<br><br>
[ <a href=\"java script:history.go(-1)\">Voltar</a> ] |
[ <a href=\"java script:window.close()\">Fechar janela</a> ]
</div>");
exit;
}
function check_email ($address) {
# this function was copied from PHP mailing list
return (ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',$address));
}
if (isset($submit)) {
if (! check_email ($form["from_email"]) || ! check_email ($form["to_email"]) ) error ("Email inválido!");
$date=date( "D, j M Y H:i:s -0600");
$to_email=$form["to_email"];
$from=$form["from"];
$from_email=$form["from_email"];
$comment=$form["comment"];
$site_name=$GLOBALS["site_name"];
$your_email=$GLOBALS["your_email"];
$message="Oi!\n\n$from ($from_email) convidou-o para visitar esta página!\nVeirifique no link abaixo URL: $url";
if ($form["comment"] != "") {
$message.="\n\n$from Comentários:\n$comment";
}
$message.="\n\n\n-------------------------------------------------------------------\nSend using hr.el8.web's recommend script!";
$subject="You were invited by $from to visit ".$GLOBALS["site_name"]."!";
$add="From: $site_name <$your_email>\nReply-To: $from_email\nDate: $date\n";
if (@mail ("$to_email","$subject","$message","$add")) {
echo "<center>Sua mensagem foi enviada com sucesso!<br>Obrigada!<br><br>[ <a href=\"java script:window.close()\">Fechar janela</a> ]</center>";
} else error ("Erro do usário. Email inexistente, por favor corrija!");
} else show_form();
?>
Na página em q o formulário está têm dois códigos, um na head:
<script LANGUAGE="JAVASCRIPT">
<!--
function openform(url) {
var url = url + "?url=" + document.location
var NS = (document.layers) ? true : false;
var IE = (document.all) ? true : false;
if(NS) {
window.open(url,"","scrollbars=no,menubar=no,personalbar=no,width=500,height=310,screenX=220,screenY=0");
} else if(IE) {
window.open(url,"","scrollbars=no,menubar=no,personalbar=no,width=500,height=500,left=220,top=0");
}
}
//-->
</script>
e o outro que é o link:
<table border="0" cellspacing="0" id="table1">
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="1" id="table2"
style="border: 5px dotted #C4CBDE; ">
<tr>
<td>
<a href="java script:openform('http://www.educamor.net/mailto.php');" style="color: #00ff00; text-decoration: none">
<img border="0" src="figuras/indiquephp.gif" width="180"
height="150"></a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
Conto com a colaboração de vocês.
Obrigada e Abraços
- Fórum WMO
- → Lucia's Content
- Privacy Policy
- Regras ·