| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Rebecca Boucher

Page history last edited by reboucher 10 years, 4 months ago

10: How to add your name in bubbles using Javescript:

This was my hour of code activity. Exchange your name where it says "Becca"

 

var red = [0, 100, 63];

var orange = [40, 100, 60];

var green = [75, 100, 40];

var blue = [196, 77, 55];

var purple = [280, 50, 60];

 

var myName = "Becca";

var letterColors = [red, orange, green]

if(15 > 5) {

    bubbleShape = "circle";

}

 

else {

    bubbleShape = "square";

}

drawName(myName, letterColors);

bounceBubbles()

 

 

9: How to add a register form to your page:

http://www.htmlfreecodes.com/Register_Form.htm

Create a div and add this to the code in the middle of the open and close div tags

 

<!-- This Script is from www.htmlfreecodes.com, Coded by:  Krishna Eydat-->

 

<table style="border-width: 0px;width: 287px; height: 107px">

<tr>

<td style="border-style: solid;border-width: 0px;background-color: #DFFFFF;">

<form action="" method="post" >

<h1>Register</h1>

<table style="border:0px solid #000000;">

<tr>

<td align="right">

Username: <input type="text" size="15" maxlength="25" name="username0">

</td>

</tr>

<tr>

<td align="right">

Password: <input type="password" size="15" maxlength="25" name="password0">

</td>

</tr>

<tr>

<td align="right">

Confirm Password: <input type="password" size="15" maxlength="25" name="cpassword">

</td>

</tr>

<tr>

<td align="right">

Email: <input type="text" size="15" maxlength="25" name="email">

</td>

</tr>

<tr>

<td align="center">

<input type="submit" value="Register">

</td>

</tr>

</table>

</form></td>

</tr>

</table>

 

<br><font face="Tahoma"><a target="_blank" href="http://www.htmlfreecodes.com/">

<span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>

 

 

8: How to make your cursor a magic wand:

http://www.dynamicdrive.com/dynamicindex13/star3.htm

Add this code to your HTML to make the cursor a wand.

 

<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF00FF" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,1,1"></LAYER>

<LAYER NAME="a7" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a8" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a9" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a10" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a11" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a12" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#0000ff" CLIP="0,0,2,2"></LAYER>

<LAYER NAME="a13" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,2,2"></LAYER>

 

 

<script language="JavaScript">

 

/*

Magic Wand cursor II (By Kurt at kurt.grigg@virgin.net)

Modified and permission granted to Dynamic Drive to feature script in archive

For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com

*/

 

if (document.all){

with (document){

write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')

write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')

write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')

write('</div>')

}

}

 

if (document.layers)

{window.captureEvents(Event.MOUSEMOVE);}

var yBase = 200;

var xBase = 200;

var step = 1;

var currStep = 0;

var Xpos = 1;

var Ypos = 1;

 

if (document.all)

{

  function MoveHandler(){

  Xpos = document.body.scrollLeft+event.x;

  Ypos = document.body.scrollTop+event.y;

  }

  document.onmousemove = MoveHandler;

}

 

else if (document.layers)

{

  function xMoveHandler(evnt){

  Xpos = evnt.pageX;

  Ypos = evnt.pageY;

  }

  window.onMouseMove = xMoveHandler;

}

 

function animateLogo() {

if (document.all)

{

 yBase = window.document.body.offsetHeight/6;

 xBase = window.document.body.offsetWidth/6;

}

else if (document.layers)

{

 yBase = window.innerHeight/8;

 xBase = window.innerWidth/8;

}

 

if (document.all)

{

 for ( i = 0 ; i < starsDiv.all.length ; i++ )

 {

  starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);

 starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);

 }

}

 

else if (document.layers)

{

 for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!

 {

  var templayer="a"+j

  document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);

  document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);

 }

}

currStep+= step;

setTimeout("animateLogo()", 10);

}

animateLogo();

</script>

 

 

 

7: How to add a contact us form to your page:

http://www.htmlfreecodes.com/Contact_us_Form.htm

Make a div and add this to the code with the div code.

 

<!-- This Script is from www.htmlfreecodes.com, Coded by:  Krishna Eydat-->

<html>

<head>

<style type="text/css">

.style1 {

text-align: center;

}

.style2 {

font-size: 40pt;

color: #0000FF;

font-family: "Times New Roman", Times, serif;

}

.style3 {

font-size: medium;

color: #0000FF;

font-family: "Times New Roman", Times, serif;

}

.style5 {

font-family: "Times New Roman", Times, serif;

border-right-style: solid;

border-right-width: 0px;

border-top-style: solid;

border-top-width: 0px;

background-color: #CCFFFF;

}

.style6 {

text-align: center;

border-left-style: solid;

border-left-width: 0px;

border-right-style: solid;

border-right-width: 0px;

border-top-style: solid;

border-top-width: 0px;

background-color: #CCCCFF;

}

.style8 {

border: 3px dashed #0000CC;

}

.style9 {

font-family: "Times New Roman", Times, serif;

border-right-style: solid;

border-right-width: 0px;

background-color: #CCFFFF;

}

.style11 {

font-family: "Times New Roman", Times, serif;

border-right-style: solid;

border-right-width: 0px;

border-bottom-style: solid;

border-bottom-width: 0px;

}

.style12 {

font-family: "Times New Roman", Times, serif;

padding-left: 10px;

background-color: #CCFFFF;

}

.style13 {

font-family: "Times New Roman", Times, serif;

border-right-style: solid;

border-right-width: 0px;

background-color: #D5F1FF;

}

.style15 {

font-family: "Times New Roman", Times, serif;

border-right-style: solid;

border-right-width: 0px;

border-bottom-style: solid;

border-bottom-width: 0px;

background-color: #D5F1FF;

}

.style17 {

font-family: "Times New Roman", Times, serif;

padding-left: 10px;

background-color: #D5F1FF;

}

.style18 {

font-family: "Times New Roman", Times, serif;

border-left-style: solid;

border-left-width: 0px;

padding-left: 10px;

background-color: #CCFFFF;

text-align: center;

}

.style19 {

font-size: xx-small;

}

</style>

</head>

<body>

<form method="post" action="">

<table align="center" class="style8" style="width: 551">

<tr>

<td class="style6" colspan="2" style="height: 136px"><span class="style2">

<strong class="style11">Contact us</strong></span><br class="style3">

<span class="style3">Tell us what is in your mind</span></td>

</tr>

<tr>

<td class="style12" style="width: 268px; height: 40;"><strong>Your Name:</strong></td>

<td class="style5" style="width: 421px; height: 40;"><span dir="ltr">

<input name="name_msg" size="33" id="fa" dir="ltr" tabindex="1" maxlength="30"   lang="fa" style="float: left; width: 204px; height: 25px;" value="" onclick="this.value=''"><div class="style1">

</div>

</span> </td>

</tr>

<tr>

<td class="style17" style="width: 268px; height: 40;"><strong>Your Email:</strong></td>

<td class="style13" style="width: 421px; height: 40;"><span dir="ltr">

<input name="email_msg" size="33" dir="ltr" tabindex="3" maxlength="30" id="fa1" style="float: left; width:204px; height: 25px;" value="" onclick="this.value=''"></span></td>

</tr>

<tr>

<td class="style12" style="width: 268px; height: 40;"><strong>Your website:</strong></td>

<td class="style9" style="width: 421px; height: 40;"><span dir="ltr">

<input name="url_msg" size="21" dir="ltr" tabindex="2" maxlength="30" id="fa0" style="float: left; width: 204px; height: 25px;" value="" onclick="this.value=''"></span></td>

</tr>

<tr>

<td class="style17" style="width: 268px; height: 123px;"><strong>Comment:</strong></td>

<td class="style15" style="width: 421px; height: 123;"><span dir="ltr">

<textarea rows="6" name="msg_body" dir="ltr" id="fa2" tabindex="4" lang="fa" onclick="this.value=''" style="width: 400px"></textarea></span></td>

</tr>

<tr>

<td class="style18" style="height: 78px;" colspan="2">

<span dir="ltr">

<input type="submit" value="Submit" name="submit_msg" tabindex="5" id="fa3" style="float:center; width: 114px; height: 35px;" ><br></span>

<br class="style19"><font face="Tahoma"><a target="_blank" href="/http://www.phpfreecode.com/"><span style="font-size: 8pt; text-decoration: none">PHP Free Code</span></a></font>

</td>

</tr>

</table>

</form>

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>

</body>

</html>

 

6: How to add a password to your page:

http://www.htmlfreecodes.com/Put_password_on_your_website_to_protect_your_pages.htm

<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->

<script language="javascript">

<!--//

/*This Script allows people to enter by using a form that asks for a

UserID and Password*/

function pasuser(form) {

if (form.id.value=="user") { 

if (form.pass.value=="password") {              

location="http://www.htmlfreecodes.com" 

} else {

alert("Invalid Password")

}

} else {  alert("Invalid UserID")

}

}

//-->

</script>

 

<center>

<table bgcolor="white" cellpadding="12" border="1" style="border: 0px dashed #FF0000">

<tr><td colspan="2" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><center><h1><i><b>

<font size="3">Login

Area</font></b></i></h1></center></td></tr>

<tr><td height="30" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><h1><i><b>

<font size="3">UserID:</font></b></i></h1></td>

<td height="64" bordercolor="#FFFF00" style="border: 1px solid #FF0000"><form name="login"><input

name="id" type="text"></td></tr>

<tr><td bordercolor="#FFFF00" style="border: 1px solid #FF0000"><h1><i><b>

<font size="3">Password:</font></b></i></h1></td>

<td bordercolor="#FFFF00" style="border: 1px solid #FF0000"><input name="pass"

type="password"></td></tr>

<tr><td bordercolor="#FFFF00" style="border: 1px solid #FF0000" height="51"><center><input type="button" value="Login"

onClick="pasuser(this.form)"></center></td>

<td bordercolor="#FFFF00" style="border: 1px solid #FF0000" height="51"><center><input

type="Reset"></form></td></tr></table></center> 

 

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>

 

 

 

 

5: How to add a welcome message to your site:

http://www.htmlfreecodes.com/Show_welcome_message_to_visitors_of_your_website.htm

<!-- this script got from www.htmlfreecodes.com coded by: Krishna Eydat-->

<html>

<head>

<script language="javascript" type="text/javascript">

alert("Welcome to my site")

</script>

</head>

</html>       

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">Html Free Code</span></a></font>

 

 

 

4: How to add an email form to your page:

http://www.htmlfreecodes.com/Html_email_form.htm

<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->

 

<FORM action="mailto:you@yourdomain.com" method="post" enctype="text/plain">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="90%">

<TR>

<TD width="30%"><DIV align="right">

<B>Name:</B>

</DIV>

</TD>

<TD width="70%">

<INPUT type="text" name="name" size="20">

</TD>

</TR>

<TR>

<TD><DIV align="right"><B>Email:</B></DIV>

</TD>

<TD>

<INPUT type="text" name="email" size="20">

</TD>

</TR>

<TR>

<TD><DIV align="right">

<B>Comment:</B>

</DIV>

</TD>

<TD><TEXTAREA name="comment" cols="30" wrap="virtual" rows="4"></TEXTAREA></TD>

</TR>

</TABLE>

 

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">Html

cript Free Code</span></a></font>

 

 

3: How to add a calendar to your page:

http://www.htmlfreecodes.com/Todays_date_on_website_on_a_nice_calendar.htm

 

<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->

<html>

 

<head>

<meta name="GENERATOR" content="Microsoft FrontPage 6.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

</head>

 

<body>

 

<center>

<script LANGUAGE="JavaScript">

 

<!-- Begin

monthnames = new Array(

"January",

"Februrary",

"March",

"April",

"May",

"June",

"July",

"August",

"September",

"October",

"November",

"Decemeber");

var linkcount=0;

function addlink(month, day, href) {

var entry = new Array(3);

entry[0] = month;

entry[1] = day;

entry[2] = href;

this[linkcount++] = entry;

}

Array.prototype.addlink = addlink;

linkdays = new Array();

monthdays = new Array(12);

monthdays[0]=31;

monthdays[1]=28;

monthdays[2]=31;

monthdays[3]=30;

monthdays[4]=31;

monthdays[5]=30;

monthdays[6]=31;

monthdays[7]=31;

monthdays[8]=30;

monthdays[9]=31;

monthdays[10]=30;

monthdays[11]=31;

todayDate=new Date();

thisday=todayDate.getDay();

thismonth=todayDate.getMonth();

thisdate=todayDate.getDate();

thisyear=todayDate.getYear();

thisyear = thisyear % 100;

thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));

if (((thisyear % 4 == 0) 

&& !(thisyear % 100 == 0))

||(thisyear % 400 == 0)) monthdays[1]++;

startspaces=thisdate;

while (startspaces > 7) startspaces-=7;

startspaces = thisday - startspaces + 1;

if (startspaces < 0) startspaces+=7;

document.write("<table border=2 bgcolor=white ");

document.write("bordercolor=black><font color=black>");

document.write("<tr><td colspan=7><center><strong>" 

+ monthnames[thismonth] + " " + thisyear 

+ "</strong></center></font></td></tr>");

document.write("<tr>");

document.write("<td align=center>Su</td>");

document.write("<td align=center>M</td>");

document.write("<td align=center>Tu</td>");

document.write("<td align=center>W</td>");

document.write("<td align=center>Th</td>");

document.write("<td align=center>F</td>");

document.write("<td align=center>Sa</td>"); 

document.write("</tr>");

document.write("<tr>");

for (s=0;s<startspaces;s++) {

document.write("<td> </td>");

}

count=1;

while (count <= monthdays[thismonth]) {

for (b = startspaces;b<7;b++) {

linktrue=false;

document.write("<td>");

for (c=0;c<linkdays.length;c++) {

if (linkdays[c] != null) {

if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {

document.write("<a href=\"" + linkdays[c][2] + "\">");

linktrue=true;

      }

   }

}

if (count==thisdate) {

document.write("<font color='FF0000'><strong>");

}

if (count <= monthdays[thismonth]) {

document.write(count);

}

else {

document.write(" ");

}

if (count==thisdate) {

document.write("</strong></font>");

}

if (linktrue)

document.write("</a>");

document.write("</td>");

count++;

}

document.write("</tr>");

document.write("<tr>");

startspaces=0;

}

document.write("</table></p>");

// End -->

</script>

</center>

<!-- Script Size:  2.98 KB  -->

 

 

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>

 

 

2: How to add snow to your page:

http://www.htmlfreecodes.com/Snow_on_the_page.htm

 

<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->

<script>

// Set the number of snowflakes (more than 30 - 40 not recommended)

var snowmax=35

 

// Set the colors for the snow. Add as many colors as you like

var snowcolor=new Array("#aaaacc","#ddddFF","#ccccDD")

 

// Set the fonts, that create the snowflakes. Add as many fonts as you like

var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS")

 

// Set the letter that creates your snowflake (recommended:*)

var snowletter="*"

 

// Set the speed of sinking (recommended values range from 0.3 to 2)

var sinkspeed=0.6

 

// Set the maximal-size of your snowflaxes

var snowmaxsize=22

 

// Set the minimal-size of your snowflaxes

var snowminsize=8

 

// Set the snowing-zone

// Set 1 for all-over-snowing, set 2 for left-side-snowing 

// Set 3 for center-snowing, set 4 for right-side-snowing

var snowingzone=3

 

///////////////////////////////////////////////////////////////////////////

// CONFIGURATION ENDS HERE

///////////////////////////////////////////////////////////////////////////

 

 

// Do not edit below this line

var snow=new Array()

var marginbottom

var marginright

var timer

var i_snow=0

var x_mv=new Array();

var crds=new Array();

var lftrght=new Array();

var browserinfos=navigator.userAgent 

var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)

var ns6=document.getElementById&&!document.all

var opera=browserinfos.match(/Opera/)  

var browserok=ie5||ns6||opera

 

function randommaker(range) {

rand=Math.floor(range*Math.random())

    return rand

}

 

function initsnow() {

if (ie5 || opera) {

marginbottom = document.body.clientHeight

marginright = document.body.clientWidth

}

else if (ns6) {

marginbottom = window.innerHeight

marginright = window.innerWidth

}

var snowsizerange=snowmaxsize-snowminsize

for (i=0;i<=snowmax;i++) {

crds[i] = 0;                      

    lftrght[i] = Math.random()*15;         

    x_mv[i] = 0.03 + Math.random()/10;

snow[i]=document.getElementById("s"+i)

snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]

snow[i].size=randommaker(snowsizerange)+snowminsize

snow[i].style.fontSize=snow[i].size

snow[i].style.color=snowcolor[randommaker(snowcolor.length)]

snow[i].sink=sinkspeed*snow[i].size/5

if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}

if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}

if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}

if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}

snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size)

snow[i].style.left=snow[i].posx

snow[i].style.top=snow[i].posy

}

movesnow()

}

 

function movesnow() {

for (i=0;i<=snowmax;i++) {

crds[i] += x_mv[i];

snow[i].posy+=snow[i].sink

snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]);

snow[i].style.top=snow[i].posy

 

if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){

if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}

if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}

if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}

if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}

snow[i].posy=0

}

}

var timer=setTimeout("movesnow()",50)

}

 

for (i=0;i<=snowmax;i++) {

document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")

}

if (browserok) {

window.onload=initsnow

}

</script>

 

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>

 

 

1: How to add a Google search bar to your page:

 

<!-- this script got from www.htmlfreecodes.com-Coded by: Krishna Eydat -->

<!-- Search Google -->

<center>

<FORM method=GET action="http://www.google.com/search">

<TABLE bgcolor="#FFFFFF"><tr><td>

<A href="/http://www.google.com/">

<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" <br></A>

<INPUT TYPE=text name=q size=31 maxlength=255 value="">

<INPUT TYPE=hidden name=hl value="en">

<INPUT type=submit name=btnG VALUE="Google Search">

</td></tr></TABLE>

</FORM>

</center>

<!-- Search Google -->

 

<font face="Tahoma"><a target="_blank" href="/http://www.htmlfreecodes.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>

 

I got this from: http://htmlfreecodes.com/Google_Search_on_Your_Page.htm

Comments (11)

Lori said

at 10:11 am on Sep 19, 2013

Entry #1: 4/4. Great job, all required elements are provided. Being able to search directly from your site to Google is a useful code to add because that way the visitor does not leave your site.

Lori said

at 9:56 am on Sep 27, 2013

Entry #2: 4/4. All required elements are provided. Adding snow is neat dynamic concept but be sure to do it in a visually pleasing approach.

Lori said

at 9:53 am on Oct 9, 2013

Entry #3 & #4: 4/4 for both entries. Both entries are very useful elements to add onto a site and all required pieces are included in your post. Be sure to label your posts #1, #2...

Lori said

at 10:34 am on Oct 28, 2013

I can not grade your posts until you organize the Wiki with wiki entry numbers.

Lori said

at 9:23 am on Oct 30, 2013

Post #5 & #6: 3/4. These are both useful codes to know for a practical site- in the future try to provide the directions in your own words. I see a lot of code adn little directions.

Lori said

at 11:29 am on Nov 18, 2013

Post #7 & #8: All required elements are provided. #7, provide more details on where to place the code in the HTML- also sometimes these codes can cause the site design to be distracting from the information being provide. #8, how do user submit the forms and designers collect the information?

vltrofimov said

at 12:20 pm on Jan 10, 2014

Very good amount of useful code! I really enjoy the pop up message notifying the user, super useful!

aidoherty said

at 12:23 pm on Jan 10, 2014

I am definitely going to use some of the code you provided. Most of it I haven't seen before and it will be of great use to me. Especially the calendar, which I think would fit on almost any site. Thanks, Good Job!

jaalbrecht said

at 12:25 pm on Jan 10, 2014

I thin entry 9 is very useful as it can help someone get information about their audience and then can change their site to tailor it to their audience.

sykinder said

at 2:35 pm on Jan 10, 2014

Excellent job on your wikis Becca! Your entries are very useful, but I really like the visual aide to all of your entries, it helped me to quickly identify what each entry was on.

Lori said

at 5:51 pm on Jan 12, 2014

Post #9 & 10: 4/4. I really like the Javascript post- just make sure when you add it to a site it is not distracting from the look of the overall site. I am interested to know what happens after people register? Where does the information go?

You don't have permission to comment on this page.