![](https://forum.scriptbrasil.com.br/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
fercosmig
-
Total de itens
4.048 -
Registro em
-
Última visita
Posts postados por fercosmig
-
-
em qual pergunta devemos responder? rssssss
aperte o botão "postar" apenas 1 vez -> topicos duplicados excluidos!
veja o link que a Andreia passou
abraços
-
http://www.guj.com.br/java.tutorial.artigo.126.1.guj
http://www.guj.com.br/posts/list/4708.java
tem bastante coisa no google
abraços
-
abrir arquivo dentro da camada não dá.
só com frame ou iframe
abraço
-
não tem como
você pode dificultar desabilitando o botão direito do mouse e usando frames
abraços
-
você tem que abrir seu site em uma janela pop-up.
dá uma olhada no forum de javascript que tem vários exemplos
abraços
-
no browser ele não vai executar
vai abrir uma janela para download
abraços
-
talves tenha como fazer com javascript
ou use uma linguagem dinâmica
abraços
-
<script language=Javascript>
<!--
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Copia para a área de transferência!"
setTimeout("window.status=''",2400);
}
}
-->
</script>
<form name="form5"><textarea name="select" rows="6" cols="65"></TEXTAREA>
</form>
<a href="javascript:HighlightAll('form5.select')">Copiar</a>
testado, ok
abraços
-
Trecho:
"Isso não quer dizer que o Firefox e o Opera são incapazes de "ler" javascript. Mas há muitas páginas com código mal escrito por aí, que acabam não funcionando direito no Firefox e no Opera."Dá uma olhada neste link
http://www.sgi.ms.gov.br/Sgi/Noticias/pros...is_browsers.htm
-
fiz uns testes ae
e assim funciona...
não sei se é o melhor jeito, mas resolve
-
tópico antigo:
http://scriptbrasil.com.br/forum/index.php?showtopic=64027
você tentou usando iframe como o Orlando falou?
-
No arquivo global.asa digite o seguinte código: (este arquivo deve estar na raiz de seu site)
-
abre num pop-up
<a href="#" onClick="window.open(pagina.htm','','width=400, height=380);">link1</a> -
k, fechando
abraços
-
<form name="form1" method="post" action="" onSubmit="return validation();submete();" >
NOME: <input type="text" maxlength="50" name="nome" size="12" />
CPF: <input type="text"name="cpf" size="12" maxlength="11" />
<input type="submit" value="Inserir">
</form>
não tenho certeza não, mas acho que é assim
-
ahahhahhahahaha
tá exatamente do jeito que você postou.. não mudei nem os comentários rsssssss
-
cara.. eu só consegui fazer funcionar assim... mas se forem muitas opções fica um código enorme.
<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script language="JavaScript"> function desabilita() { if (document.formulario.inibe.checked) { document.getElementById('time1').disabled = false; document.getElementById('time2').disabled = false; document.getElementById('time3').disabled = false; document.getElementById('time4').disabled = false; document.getElementById('time5').disabled = false; document.getElementById('time6').disabled = false; document.getElementById('time7').disabled = false; document.formulario.botao.disabled = false; } else { document.getElementById('time1').disabled = true; document.getElementById('time2').disabled = true; document.getElementById('time3').disabled = true; document.getElementById('time4').disabled = true; document.getElementById('time5').disabled = true; document.getElementById('time6').disabled = true; document.getElementById('time7').disabled = true; document.formulario.botao.disabled = true; } } </script> </head> <body> <form name="formulario"> Qual é o time do seu coração? <br /><br /> <input type="radio" name="resp" id="time1" disabled="true" value="Corinthians" /> Corinthians <br /> <input type="radio" name="resp" id="time2" disabled="true" value="Palmeiras" /> Palmeiras <br /> <input type="radio" name="resp" id="time3" disabled="true" value="Fluminense" /> Fluminense <br /> <input type="radio" name="resp" id="time4" disabled="true" value="Botafogo" /> Botafogo <br /> <input type="radio" name="resp" id="time5" disabled="true" value="Grêmio" /> Grêmio <br /> <input type="radio" name="resp" id="time6" disabled="true" value="Internacional" /> Internacional <br /> <input type="radio" name="resp" id="time7" disabled="true" value="Cruzeiro" /> Cruzeiro <br /><br /> <input type="checkbox" name="inibe" onclick="desabilita();" /> Declaro nunca ter sido torcedor do São Paulo<br /><br /> <input type="button" name="botao" value="OK" onclick="alert('Muito bem!')" disabled="true" /> </form> </body> </html>
-
não sei te informar se é por causa do navegador
eu testei no ie
abraços
-
um exemplo que se não me engano peguei aqui no forum. funcionando ok.
<html><head>
<title>Untitled</title>
<script language=javascript>
//MÁSCARA DE VALORES
function txtBoxFormat(objeto, sMask, evtKeyPress) {
var i, nCount, sValue, fldLen, mskLen,bolMask, sCod, nTecla;
if(document.all) { // Internet Explorer
nTecla = evtKeyPress.keyCode; }
else if(document.layers) { // Nestcape
nTecla = evtKeyPress.which;
}
sValue = objeto.value;
// Limpa todos os caracteres de formatação que
// já estiverem no campo.
sValue = sValue.toString().replace( "-", "" );
sValue = sValue.toString().replace( "-", "" );
sValue = sValue.toString().replace( ".", "" );
sValue = sValue.toString().replace( ".", "" );
sValue = sValue.toString().replace( "/", "" );
sValue = sValue.toString().replace( "/", "" );
sValue = sValue.toString().replace( ":", "" );
sValue = sValue.toString().replace( ":", "" );
sValue = sValue.toString().replace( "(", "" );
sValue = sValue.toString().replace( "(", "" );
sValue = sValue.toString().replace( ")", "" );
sValue = sValue.toString().replace( ")", "" );
sValue = sValue.toString().replace( " ", "" );
sValue = sValue.toString().replace( " ", "" );
fldLen = sValue.length;
mskLen = sMask.length;
i = 0;
nCount = 0;
sCod = "";
mskLen = fldLen;
while (i <= mskLen) {
bolMask = ((sMask.charAt(i) == "-") || (sMask.charAt(i) == ".") || (sMask.charAt(i) == "/") || (sMask.charAt(i) == ":"))
bolMask = bolMask || ((sMask.charAt(i) == "(") || (sMask.charAt(i) == ")") || (sMask.charAt(i) == " "))
if (bolMask) {
sCod += sMask.charAt(i);
mskLen++; }
else {
sCod += sValue.charAt(nCount);
nCount++;
}
i++;
}
objeto.value = sCod;
if (nTecla != 8) { // backspace
if (sMask.charAt(i-1) == "9") { // apenas números...
return ((nTecla > 47) && (nTecla < 58)); } // números de 0 a 9
else { // qualquer caracter...
return true;
} }
else {
return true;
}
}
</script>
</head>
<body>
Data: <input type="text" size="20" maxlength="10" onkeypress="return txtBoxFormat(this, '99/99/9999', event);"><br>
CPF: <input type="text" size="20" maxlength="14" onkeypress="return txtBoxFormat(this, '999.999.999-99', event);">
</body>
</html>
abraços
-
uma opção é salvar ela numa session
abraços
-
-
-
amigo, seu problema é com javascript
to movendo pra lá
se você procurar nos scripts você acha o que você precisa
abraços
-
montei um grafico de barras bem fraquinho
mas talvez seja util para alguém
lá vai
Executável Na Página
em HTML, XHTML, CSS
Postado
http://www.geocities.com/SiliconValley/Cam.../delphinet.html
fiz uma pesquisa ae
trecho:
arquivo executavel não roda no browser.. pode funcionar no servidor e retornar um html...
isto é CGI, atualmente:
ISAPI = Internet Server Application Programming Interface (Microsoft)
NSAP = Netscape Application Programming Interface (Netscape)
dá uma lida no link ae
abraços