1 month ago
if ($("div#capa_1").height() > $("div#capa_2").height()) {
$("div#capa_2").height($("div#capa_1").height())
}else{
$("div#capa_1").height($("div#capa_2").height())
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2093"></script>
1 year ago
function ucfirst_low($c){
$cadena =
strtr(strtolower($c),
"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÜÚ",
"àáâãäåæçèéêëìíîïðñòóôõöøùüú");
return($cadena);
}
function ucfirst_upp($c){
$cadena =
strtr(strtoupper($c),
"àáâãäåæçèéêëìíîïðñòóôõöøùüú",
"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÜÚ");
return($cadena);
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1803"></script>
1 year ago
<STYLE>
H1.SaltoDePagina
{
PAGE-BREAK-AFTER: always
}
</STYLE>
<!--En el sitio en que quieras forzar el salto de página deberás poner el tag h1 aplicando el estilo SaltoDePagina definido anteriormente-->
<H1 class=SaltoDePagina> </H1>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1802"></script>
1 year ago
function alertPhp($texto){
echo "<script type='text/javascript'>alert('".
$texto.
"');</script>";
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1783"></script>
1 year ago
<script type="text/javascript">
function pulsar(e) {
tecla = (document.all) ? e.keyCode : e.which;
return (tecla != 13);
}
</script>
<!-- -->
<form action="loquesea.asp" onkeypress = "return pulsar(event)">
<input type="text" />
<input type="submit" />
</form>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1695"></script>
1 year ago
function stopRKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) && (node.type=="text")) {return false;}
}
document.onkeypress = stopRKey;
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1694"></script>
1 year ago
En los parámetros del flash o FLV incluir
<param name="wmode" value="transparent">
Ahora un paso MUY IMPORTANTE para que funcione en todos los navegadores
Para que tambien funcione en Firefox y Opera, etc.incluir el codigo (wmode="transparent") dentro de la etiqueta EMBED, y quede algo así como:
<embed src="miflash.swf" wmode="transparent" quality="high" etc etc.
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1660"></script>
1 year ago
<script language="JavaScript">
function Abrir_ventana (pagina) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=690, height=400, top=100, left=80";
window.open(pagina,"",opciones);
}
</script>
<body onLoad ="Abrir_ventana('pop.html')" >// abrirlo cuando carga la pagina
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1393"></script>
1 year ago
<?php
$dbhost = "servidor"; $dbuser = "usuario"; $dbpassword = "clave"; $dbname = "base_de_datos";
} ?>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1378"></script>
1 year ago
<?php
function is_chrome(){
return(eregi("chrome",
$_SERVER['HTTP_USER_AGENT']));
}
if(is_chrome()){
echo 'Tu estas usando el navegador Google Chrome.';
}
?>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1308"></script>