January 11, 2010
Show
< script src= "http://write-site.net/jquery-1.3.2.js" type= "text/javascript" ></ script>
< a id= "switch" onClick= "$('img[id=alakazam]').show('slow');" > Show</ a>
< img src= "http://farm3.static.flickr.com/2628/4192131856_27bdb92d89.jpg" id= "alakazam" onClick= "$('img[id=alakazam]').hide('slow');" />
Filed under:
Javascript by Edward Delaporte
January 10, 2010
Click here for Hello!
// This code syntax requires that JQuery be imported.
$( document) .ready ( function ( ) {
$( "a[name=hello]" ) .click ( function ( ) {
alert ( "Hello world!" ) ;
} ) ;
} ) ;
Filed under:
Javascript by Edward Delaporte
January 9, 2010
Click in this box to enjoy your message.
var x = 0 ;
var message = "How are you gentlemen !!! \n All your base are belong to us. \n You are on the way to destruction. \n You have no chance to survive make your time. \n Ha Ha Ha Ha. \n " ;
function how_are_you( )
{
current_message = document.main_screen .talking .value ;
document.main_screen .talking .value = current_message+ message.charAt ( x) ;
x = x+ 1 ;
setTimeout( "how_are_you()" , 300) ;
}
<p > Click in this box to enjoy your message.</ p >
<form name = "main_screen" > <textarea onclick = "how_are_you();"
cols = "50" rows = "6" name = "talking" ></ textarea ></ form >
Filed under:
Javascript by Edward Delaporte
January 9, 2010
Click in this box to enjoy your message.
function how_are_you2( )
{
document.main_screen2 .talking2 .value = "How are you gentlemen?" ;
}
<p > Click in this box to enjoy your message.</ p >
<form name = main_screen2>
<input name = talking2 onClick = "how_are_you2();" >
</ form >
Filed under:
Javascript by Edward Delaporte
April 2, 2009
Sonya has launcher her Write Site at http://sonya.write-site.net/ . Check it out.
Filed under:
Featured by Edward Delaporte