Latest Movie :
Recent Movies

PHP and MySQL Scripts and Tutorials Download

Listed below are a few of the scripts and tutorials I have written. When I have a bit more time I will add a few more!download
{[['']]}

Creating a website using PHP Includes

Back to what we were doing, the layout of our page will be like:-Step One A good rule is to keep all files which are related to a particular website in the same folder. This prevents any dead links or linking errors which may creep in later on when the website gets quite large. This applies to all websites you create and not just this tutorial. Another good tip which is worth remembering is to keep all filenames you create for pages in lowercase.Read more...
{[['']]}

Design Layout Form Login

Download
{[['']]}

Top Search Enging

{[['']]}

Cut & Paste JavaScript Image Clock

Description: This is a compact JavaScript image clock that's updated live every second. It comes with a default image pack for the interface, though you can easily specify you own "digits" images instead inside the script.Download Source Code
{[['']]}

Live Clock JavaScript

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Time</title></head><body><body><script>var Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn="AM"if (hours>12){dn="PM"hours=hours-12}if (hours==0)hours=12if (minutes<=9)minutes="0"+minutesif (seconds<=9)seconds="0"+secondsvar ctime="<b><font face='Verdana' color='#8000FF'>"+hours+":"+minutes+":"+seconds+" "+dn+"</font></b>"document.write(ctime);//-->&l
{[['']]}

JavaScript while Loop statement

Download
{[['']]}

Form Calculator in JavaScript

This Form Calculator in JavaScript with HTMLDownload this Source CodeJavaScript document.getElementById<script type="text/javascript">function notEmpty(){ var myTextField = document.getElementById('myText'); if(myTextField.value != "") alert("You entered: " + myTextField.value) else alert("Would you please enter some text?") }</script><input type='text' id='myText' /><input type='button' onclick='notEmpty()' value='Form Checker' />
{[['']]}

JavaScript Functions

What's a Function?A function is a piece of code that sits dormant until it is referenced or called upon to do its "function". In addition to controllable execution, functions are also a great time saver for doing repetitive tasks.To create a function, type the function keyword followed by a name for the function, followed by an opening, then a closing, parentheses, followed by an opening curly bracket “{“ and ending with a closing curly bracket “}”. Here is the syntax for creating a function: function name(){}Read more...
{[['']]}

For Loop Statement

The for loop is used when you know in advance how many times the script should run. for (variable=startvalue;variable<=endvalue;variable=variable+increment){ code to be executed}Ex1: <html><body><script type="text/javascript">var i=0;for (i=0;i<=5;i++){document.write("The number is " + i);document.write("<br />");}</script></body></html>Ex2:<script type="text/javascript"> <!-- var count; document.write("Starting Loop" + "<br />"); for(count = 0; count < 10; count++){ document.write("Current Count : " + count ); document.write("
{[['']]}

While Loop Statement

The JavaScript while loop is much simpler than the for loop. It consists of a condition and the statement block. Syntax: while (condition){ ...statements... } Ex1: <script> var msg = "";var x = 1;while (x <= 10){msg = msg + x + "\n";x++; } alert(msg);</script> Ex2: <script> var msg = "";var x = 1;var res = 0;while (x <= 10) { res = 12 * x;msg = msg + "12 X " + x + " = " + res + "\n";x++; }alert(msg)</script> Output: n/a
{[['']]}

The Do While loop

You can consider the do-while loop as a modified version of the while loop. Here, the condition is placed at the end of the loop and hence, the loop is executed at least once.Ex3:<script>var x = 20;do{alert("The number is " + x);x++;}while (x <= 10);</script>Ex4:<script>var x = 20;do{alert("The number is " + x);x++;}while (x <= 30);</script>AssignmentEx5:<script>var num=0;while (num <= 30){document.write(num+"<br>");num = num + 3;}</script>1- If the value of variable num is 20, how many times will the following while loop be executeEx6:2- How
{[['']]}

Switch Statement

<script> var day="Friday"; switch(day){ case "Monday" : document.write("First Day"); break; case "Wednesday" : document.write("Four Day"); break; case "Friday" : document.write("Happy Day"); break;case "Sunday" : document.write("Weekend Day"); break; default:document.write("Day Off");break; } </script>
{[['']]}

IF Statements

IF StatementOne Conditionvar day="Friday";if(day=="Friday"){document.write("Happy Day");}--------------------------------IF / Else StatementTwo Conditionvar day="Friday";if(day=="Friday"){document.write("Happy Day");}else{document.write("Bad Day");}-------------------------------------IF / Else StatementMany Conditionvar day="Friday";if(day=="Monday"){document.write("First Day");}else if(day=="Wednesday"){document.write("Four Day");}else if(day=="Friday"){document.write("Happy Day");}else if(day=="Sunday"){document.write("Weekend Day");}else{document.write("Day Off");}
{[['']]}

Create Form E-mail with JavaScript

Download *.zip
{[['']]}

Calculator, For Statement

Write Code: javascript<script type="text/javascript">var total = 0;var even = 0;for ( x = 1, y = 1; x <= 100; x++, y++ ) {if ( ( y % 2 ) == 0 ) { even = even + y; } total = total + x; }document.write ( "The total sum: " + total + "<br>");document.write ( "The sum of even values: " + even );</script></head><body>Output:The total sum: 5050The sum of even values: 2550
{[['']]}

JavaScript : Operand

<script language="javascript">function operand(){var fr = document.operator;fr.txtr.value=parseInt(fr.txt1.value)+parseInt(fr.txt2.value);}</script><body><form name="operator"><fieldset class="cut">Operand 1:<br /><input type="text" name="txt1" size="30" /><br />Operand 2:<br /><input type="text" name="txt2" size="30" /> <br />Result :<br /><input type="text" name="txtr" size="30" /><input type="hidden" name="txth" size="30" /></fieldset><fieldset class="cut"><input type="button" name="btns" val
{[['']]}

JavaScript : Calculator

<script>function sum(){var a=document.getElementById('t1').value;var b=document.getElementById('t2').value;document.getElementById('rs').innerHTML = eval(a) + eval(b);}</script>.............Result is :function sum(){ var a=document.getElementById('t1').value; var b=document.getElementById('t2').value; document.getElementById('rs').innerHTML = eval(a) + eval(b); }<div id="rs"></div>Download
{[['']]}
 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. isophal.com - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger