Paginas Web Peru, Alojamiento en Peru, hosting en Peru, host en peru, alojar mi pagina web, Registro de Dominios Peru, Dominios en Perú, Hosting Perú, Dominio Económico, Domain ILIMITADO TODO INCLUIDO, Hosting peru, Registro de dominios peru, paginas web peru, antivirus,Venta de computadoras, laptops, computadoras portatiles, impresoras, escaner, antivirus, programas, software, marketing por internet, comercio electronico, empresas peruanas,Paginas web Peru, Diseño web, Hosting Peru;, Alojamiento web Peru, elaboracion de paginas web en Peru
 
Contacto en vivo
Registro de Dominios
Alojamiento de Páginas Web
Diseño de Páginas Web
Posicionamiento Web
Distribuidor de Antivirus
Distribuidor de PC's y Laptops
 

Somos especialistas en: Diseño de Páginas Web, Servicio de alojamiento Web, registro de Dominios y desarrollo de Sistemas a medida(Sitema de Facturación, Sistema de control de Inventarios, Tiendas Electrónicas ó Carrito de Compras, Sistemas en Internet), contribuimos con la educación ofreciendo códigos libres y ejemplos de proyectos desarrollados (en Visual Basic, .Net, Asp, PHP, Java) gratis.

Paginas Web Peru, Alojamiento en Peru, hosting en Peru, host en peru, alojar mi pagina web, Registro de Dominios Peru, Dominios en Perú, Hosting Perú, Dominio Económico, Domain ILIMITADO TODO INCLUIDO, Hosting peru, Registro de dominios peru, paginas web peru, antivirus,Venta de computadoras, laptops, computadoras portatiles, impresoras, escaner, antivirus, programas, software, marketing por internet, comercio electronico, empresas peruanas,Paginas web Peru, Diseño web, Hosting Peru;, Alojamiento web Peru, elaboracion de paginas web en Peru


 

 
EJEMPLOS DE JAVA SCRIPT  

 

Insertar banner

 Con este javascript es posible insertar un banner que se desliza de derecha a izquierda con texto a elegir dentro de un campo texto de formulario

 

<HTML>
<HEAD>
<TITLE>Ejemplos Javascript: ejemplo pr�?�?�?¡ctico </TITLE>

<script language="JavaScript">
<!--
var id,pause=0,position=0;
function scorrevole() {
var i,k,msg="Mensaje bla bla bla bla bla";
k=(100/msg.length)+1;
for(i=0;i<=k;i++) msg+=" "+msg;
document.form2.scorrevole.value=msg.substring(position,position+100);
if(position++==100) position=0;
id=setTimeout("scorrevole()",100); }
//-->

</script>

</HEAD>

<BODY bgcolor="white" onload="scorrevole()">


<form name=form2><input type="text" name="scorrevole" size="40"></form>

</body>
</html>

Mensaje tipo maquina de escribir

Mensaje que va apareciendo como si saliera de una máquina de escribir (un carácter a la vez) dentro de un campo texto de form. Hay dos botones para controlar la dirección y velocidad del texto.

 

<HTML>
<HEAD>

<TITLE>Ejemplos Javascript: ejemplo pr�?�?�?¡ctico </TITLE>

<SCRIPT>
<!--- Hide script from old browsers
var msg = "it even re-sizes itself to fit your message!"
var x = ""
num = 1
toggle = 1
tt = 1
OOK = 0
timval = 60
var tval = ""
function switcha() {
if (document.myform.dowhat.value == "Start/Stop" )
tval = "Forward/Backward"
if (document.myform.dowhat.value == "Forward/Backward")
tval = "Fast/Slow"
if (document.myform.dowhat.value == "Fast/Slow")
tval = "Start/Stop"
document.myform.dowhat.value = tval
}
function switcha2() {
if (document.myform.dowhat.value == "Start/Stop" ) toggla()
if (document.myform.dowhat.value == "Forward/Backward" ) csd()
if (document.myform.dowhat.value == "Fast/Slow" ) fasl()
}
function fasl() { timval = (timval==60 ? 150 : 60 ) }

function csd() {
tt = ( tt==1 ? 0 : 1)
}
function scroll() {
if (tt==1)
if (num <= msg.length)
OOK = 1
if (tt==0)
if (num >
= 0)
OOK = 1

if ( OOK == 1)
{
OOK = 0
x = msg.substring(0,num)
document.myform.scroll.value = x
num = ( tt==1 ? num+1 : num-1 )
}
else
{
x = ""
document.myform.scroll.value = ""
num = (tt==1 ? 0 : msg.length )
}
if (toggle == 1)
setTimeout("scroll()", timval)
}
function toggla() {
toggle = (toggle == 1 ? 0 : 1 )
if (toggle == 1) scroll()
}

// end hiding from old browsers -->
</SCRIPT>

 

</HEAD>

<BODY bgcolor="white" onLoad="scroll()">

 

<FORM NAME="myform">
<INPUT TYPE="text" NAME="scroll" SIZE=&{msg.length + 2}; >
<BR><BR>
<INPUT TYPE="button" VALUE="Do It" onClick="switcha2()">
<INPUT TYPE="text" NAME="dowhat" SIZE = 10 VALUE = "Start/Stop">

<INPUT TYPE="button" VALUE="next" onClick="switcha()" >
</FORM>

 

</body>
</html>

 

Letras dinamicas

Animación creada convirtiendo en mayúscula una letra a la vez.

 

<HTML>
<HEAD>

<TITLE>Ejemplos Javascript: ejemplo pr�?�?�?¡ctico </TITLE>

<script lanuage="JavaScript">

// This script was written by Nathan Wenneker
// naw@3eagles.com
// http://www.geocities.com/SiliconValley/Pines/7183
// http://www.geocities.com/SiliconValley/Lakes/3595


// This script is free to use as long as you keep
// these comments with it.

// This script will go through a message one character at a
// time and change the caps of that character. It
// looks neat but if in a non fixed type font, it will
// lose some of the effect.  Set "speedtogo" higher to
// go slower and lower to go faster. Set a[1] and a[2]
// to the sets of alternating caps you want.  I have
// chosen a[1] to be all small and a[2] to be all big
// but you can set then to anything.  Just make sure
// you have them reversed in the a[2] or you will
// lose effect.


// Enjoy.

var count = -1;
var counter;
var nchar
var speedtogo = 200

var a = new Array();

a[1] = "Mensaje 1";
a[2] = "Mensaje 2";


function capswitch() {
count++
if(count == 0){
document.wow.display.value = a[1]
}
if(count == 1){
document.wow.display.value = a[2].substring(0, 1) +
a[1].substring(20, 1)
}
if(count > 1){
a[3] = a[1].substring(0, count - 1) + a[2].substring(count - 1,
count) + a[1].substring(20, count)
document.wow.display.value = a[3]
}
if(count == a[1].length){
count = -1
}

counter    = setTimeout("capswitch()",speedtogo);

}
</script>


</HEAD>

<BODY bgcolor="white" onload="capswitch()">

<center>
<form name="wow">

<input type="text" size="18" name="display" value="">

</form>
</center>

</body>
</html>

 

Texto animado con un pequeño editor

Texto animado con un pequeño editor para regular la velocidad de la animación.

 

<HTML>
<HEAD>

<TITLE>Ejemplos Javascript: ejemplo pr�?�?�?¡ctico </TITLE>

 

<!-- ///////////////////////////////////////////////////////////////////////////

 


Cut & Paste JavaScript 
Copyright 1996, IMA STUDIOS, Inc. 
This code may not be resold.
This Copyright notice must be included
on every document that contains this code.
A link to http://www.imastudios.com should
be included somewhere on your document.


/////////////////////////////////////////////////////////////////////////// -->

 

<script language="javascript">
tid = 0;
pause = 0;
var to;
var bcount;
var tcount;

function bannerArray() {
this.length = 54;
this[1] = "                            W";
this[2] = "                           We";
this[3] = "                          Wel";
this[4] = "                         Welc";
this[5] = "                        Welco";
this[6] = "                       Welcom";
this[7] = "                      Welcome";
this[8] = "                     Welcome ";
this[9] = "                    Welcome t";
this[10] = "                  Welcome to";
this[11] = "                 Welcome to ";
this[12] = "                Welcome to I";
this[13] = "               Welcome to IM";
this[14] = "              Welcome to IMA";
this[15] = "             Welcome to IMA S";
this[16] = "            Welcome to IMA ST";
this[17] = "           Welcome to IMA STU";
this[18] = "          Welcome to IMA STUD";
this[19] = "         Welcome to IMA STUDI ";
this[20] = "        Welcome to IMA STUDIO";
this[21] = "       Welcome to IMA STUDIOS";
this[22] = "      Welcome to IMA STUDIOS'";
this[23] = "     Welcome to IMA STUDIOS' Si";
this[24] = "    Welcome to IMA STUDIOS' Sit";
this[25] = "   Welcome to IMA STUDIOS' Site!";
this[26] = "  ";
this[27] = " Welcome to IMA STUDIOS' Site! ";
this[28] = " ";
this[29] = " Welcome to IMA STUDIOS' Site! ";
this[30] = " Welcome to IMA STUDIOS' Site! ";
this[31] = "Welcome to IMA STUDIOS' Site! ";
this[32] = "elcome to IMA STUDIOS' Site! ";
this[33] = "lcome to IMA STUDIOS' Site! ";
this[34] = "come to IMA STUDIOS' Site! ";
this[35] = "ome to IMA STUDIOS' Site! ";
this[36] = "me to IMA STUDIOS' Site!";
this[37] = "e to IMA STUDIOS' Site! ";
this[38] = "to IMA STUDIOS' Site!";
this[39] = "o IMA STUDIOS' Site! ";
this[40] = " IMA STUDIOS' Site!";
this[41] = " MA STUDIOS' Site!";
this[42] = "A STUDIOS' Site ";
this[43] = "STUDIOS' Site!";
this[44] = "TUDIOS' Site!";
this[45] = "UDIOS' Site!";
this[46] = "DIOS' Site!";
this[47] = "'IOS' Site!";
this[48] = "OS' Site!";
this[49] = " S' Site!";
this[50] = "' Site!";
this[51] = " Site!";
this[52] = "ite!";
this[53] = "te!";
this[54] = " e!";
return this
}

 

function MakeArray(n) {
this.length = n;
return this
}

 

banner = new bannerArray();
IMAbanner = 1;

 

function banner1(n) {
tid=window.setTimeout("banner1(IMAbanner)",to);
f.result.value = banner[IMAbanner];
window.status = banner[IMAbanner];
IMAbanner = IMAbanner + 1;
if (IMAbanner == 55) {
IMAbanner = 1;
window.clearTimeout(tid);
tid=window.setTimeout("banner1()",to);
}
}

 

function start(x) {
f=x;
to=60;
banner1(x);
}

 

function pausing(x) {
if (pause == 0) {
pause = 1;
f.P.value = "Paused";
window.clearTimeout(tid);
}
else {
pause = 0;
f.P.value = " ";
banner1(x);
}
}

 

function speedup() {
if (to != 0) {
to = to-30;
}
}

function slowdown() {
to = to+30;
}

 

function refr() {
to = 90;
IMAbanner = 1;
}

 

function cleartids() {
window.clearTimeout(tid);
}

 

</script>

 

</HEAD>

<BODY bgcolor="white" onload="start(document.forms[0])" onunload="cleartids()">

<center>
<form name="banner">
<input type="button" name="Faster!" value=" Faster! " onClick="speedup()">
<input type="button" name="Slower!" value=" Slower!" onClick="slowdown()">
<input type="button" name="pause" value="Pause" onclick="pausing(this.form)">
<input type="text" name="P" size=6>
<input type="text" name="result" size=28>
<input type="reset" name="restart" value="Reset" onclick="refr()">
</center>
</form>

 

</body>
</html>

 
Paginas Web Peru, Alojamiento en Peru, hosting en Peru, host en peru, alojar mi pagina web, Registro de Dominios Peru, Dominios en Perú, Hosting Perú, Dominio Económico, Domain ILIMITADO TODO INCLUIDO, Hosting peru, Registro de dominios peru, paginas web peru, antivirus,Venta de computadoras, laptops, computadoras portatiles, impresoras, escaner, antivirus, programas, software, marketing por internet, comercio electronico, empresas peruanas,Paginas web Peru, Diseño web, Hosting Peru;, Alojamiento web Peru, elaboracion de paginas web en Peru

| Dirección: Av. Petit Thouars 1255 Of. 302 Santa Beatriz - Lima - Perú |
| Teléfonos: 266-2540 / 795-9969 / 472-1464 Celular: 9-91554872 (claro) / (62)962705978(claro) |
| Email: informes@web-peru.net MSN: jjavavb@hotmail.com
|

| Ing. Eli James Cabello Alvino Copyright © 2010 web-peru.net ® TICOM|


hosting, hosting Peru, Hosting Perú, hosting, perú, hosting economico peru, hosting barato en peru, prueba gratis, hosting, alojamiento,web hosting,alojamiento web,alojamiento de webs,hospedaje,hospedaje web,hospedaje de webs,hospedaje de pagina web,alojamiento de paginas web,alojar,hospedar,albergar,hosting mensual,alojamiento mensual,hospedaje mensual, servidor, servidor de hosting, servidor de paginas web, servidor de alojamiento, proveedor, proveedor de hosting, proveedor de alojamiento, host, alojamiento, hosting, reseller, fantastico, servidor, alojar, web, dominio,dominios, peru, nombre,nombres, que es un dominio, como publicar mi pagina web, como tener mi pagina web,compre su dominio aqui, registro de dominios peru, venta de dominios peru, dominios peru, hosting peru, alojamiento web peru, alojamiento de paginas web peru,Paginas web peru, diseño web peru, diseño de paginas web en peru, carrito de compras en peru, e-commercce en peru, comercio electronico en peru, marketing por internet en peru, publicidad en internet, email marketing, venta de computadoras, laptops, notebook, computadoras personales, paginas web en asp, paginas web en php, lenguajes de programacion, visual basic, asp, php, java script, ajax, asp .net, visual basic .net, visual basic script, visualbasicscript, diseño de base de datos, ejemplos de access, ejemplos de sql server, programacion orientada a objetos, registro de dominios, hosting, alojamiento de paginas web, antivirus en peru, distribuidor de avg antivirus en peru, distribuidor de antivirus nod32 en peru, distribuidor de antivirus eset en peru, distribuidor en peru antivirus kaspersky, diseño elaboracion y construccion de software a medida, programas gratis, ejemplos de codigos, outlook expres, microsoft outlook, fire works, photoshop, dreamweaver, flash, plantillas web, modelo de paginas web, ejemplos de paginas web, modelos peruanas, mujeres peruanas, empresas peruanas, portal empresarial, toda las empresas del peru, turismo en peru, lugares turisticos de peru,posisionamiento web, alta en buscadores, todo sobre linux