Posted by ISO
Posted on 2:38 PM
JavaScript Print Script - window.print() <form><input type="button" value="Print This Page" onClick="window.print()" /></form> --------------------------------------JavaScript Window.Location <script type="text/javascript">window.location = "http://www.bbu.edu.kh";</script> --------------------------------------JavaScript Time Delay <html><head><script type="text/javascript"> function delayer(){ window.location = "mypage.html";} </script></head> <body onLoad="setTimeout('delayer()', 5000)"><h2>Prepare to be redirec
{[['

']]}
Posted by ISO
Posted on 2:37 PM
<html> <head><script>function showTime () { var time = new Date()var hour = time.getHours() var minute = time.getMinutes()var sMin = (minute<10) ? "0" + minute : minute var second = time.getSeconds()var sSecs = (second<10) ? "0" + second : second var strTime = hour + ":" + sMin + ":" +sSecsdocument.getElementById("clockFace").innerHTML = strTime; }//showTime</script> </head><body onload="setInterval(showTime, 1000)"> <div id="clockFace" ></div></body> </html>
{[['

']]}
Posted by ISO
Posted on 8:42 AM

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
{[['

']]}
Posted by ISO
Posted on 8:38 AM

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...
{[['

']]}
Posted by ISO
Posted on 9:13 AM

Download
{[['

']]}
Posted by ISO
Posted on 11:45 AM
{[['

']]}
Posted by ISO
Posted on 11:39 AM

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
{[['

']]}
Posted by ISO
Posted on 9:10 AM
<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
{[['

']]}
Posted by ISO
Posted on 4:49 PM

Download
{[['

']]}
Posted by ISO
Posted on 4:55 PM

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' />
{[['

']]}
Posted by ISO
Posted on 7:58 AM
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...
{[['

']]}
Posted by ISO
Posted on 4:47 PM
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("
{[['

']]}
Posted by ISO
Posted on 4:23 PM
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
{[['

']]}
Posted by ISO
Posted on 4:15 PM
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
{[['

']]}
Posted by ISO
Posted on 4:14 PM
<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>
{[['

']]}
Posted by ISO
Posted on 2:44 PM
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");}
{[['

']]}
Posted by ISO
Posted on 10:17 AM

Download *.zip
{[['

']]}
Posted by ISO
Posted on 8:35 AM
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
{[['

']]}
Posted by ISO
Posted on 8:19 AM

<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
{[['

']]}
Posted by ISO
Posted on 8:20 AM

<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
{[['

']]}
Posted by ISO
Posted on 11:19 AM
AJAX and PHP JavaScript is a scripting language, whose code is written in plain ... As pointed out in the beginning of the chapter, technology exists to serve ...... you'll use to build AJAX web clients, using JavaScript, the DOM, the XMLHttpRequest ...More Download
{[['

']]}
Posted by ISO
Posted on 11:08 AM

Lee Babin 2 ReviewsApress, 2007 - Computers - 253 pagesAjax breathes new life into web applications by transparently communicating and manipulating data in conjunction with a server-based technology. Of all the server-based technologies capable of working in conjunction with Ajax, perhaps none are more suitable than PHP, the world's most popular scripting language. Beginning Ajax with PHP: From Novice to Professionalis the first book to introduce how these two popular technologies can work together to create next-generation applications. Author Lee Babin covers what you commonly encou
{[['

']]}
Posted by ISO
Posted on 10:44 AM

Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett 8 ReviewsJohn Wiley & Sons, 2006 - Computers - 406 pagesWritten for experienced web developers, Professional Ajax shows how to combine tried-and-true CSS, XML, and JavaScript technologies into Ajax. This provides web developers with the ability to create more sophisticated and responsive user interfaces and break free from the "click-and-wait" standard that has dominated the web since its introduction.Professional Ajax discusses the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when o
{[['

']]}
Posted by ISO
Posted on 10:42 AM

Nicholas C. Zakas 7 ReviewsJohn Wiley and Sons, 2011 - Computers - 840 pages"Professional JavaScript for Web Developers," 2nd Edition, provides a developer-level introduction along with the more advanced and useful features of JavaScript.Starting at the beginning, the book explores how JavaScript originated and evolved into what it is today. A detailed discussion of the components that make up a JavaScript implementation follows, with specific focus on standards such as ECMAScript and the Document Object Model (DOM). The differences in JavaScript implementations used in different popu
{[['

']]}
Posted by ISO
Posted on 10:38 AM

Paul Wilton, Jeremy McPeak 5 ReviewsJohn Wiley & Sons, 2011 - Computers - 792 pagesThe perennial bestseller returns with new details for using the latest tools and techniques available with JavaScriptJavaScript is the definitive language for making the Web a dynamic, rich, interactive medium. This guide to JavaScript builds on the success of previous editions and introduces you to many new advances in JavaScript development. The reorganization of the chapters helps streamline your learning process while new examples provide you with updated JavaScript programming techniques.Read mor
{[['

']]}
Posted by ISO
Posted on 3:19 PM

Want to delete a page you created on Facebook? This guide will show you how to do it.Once you have logged in to Facebook, go to the Page you want to delete. You can do this by looking for it using the search box at the top of your page.Once you are there, click on the “Edit Page” button at the top right hand corner of the Page:Then, on the left sidebar, click “Manage Permissions,” where shown in the next image:Now, near the “Delete Page” label, click on the link that says “Delete [Name of the Page],” which is the one shown in the next image:This will open a window in which you will have to
{[['

']]}
Posted by ISO
Posted on 11:16 AM
Hopefully this will help settle the long running confusion about Layer-3 switches in this forum...Some network topologies as illustrations1. Single Router Internet | | 1.1.1.0/24 | Router | LAN 1 with Unmanaged Switch (UM) 10.0.1.0/24Read more
{[['

']]}
Posted by ISO
Posted on 11:29 AM
{[['

']]}
Posted by ISO
Posted on 8:38 AM
{[['

']]}
Posted by ISO
Posted on 8:45 AM

Data Structures and Algorithm Analysis in Java, Third Edition by Dr. Clifford A. Shaffer Dover Publications | English | 2011 | ISBN: 0486485811 | 608 pages | PDF | 2,6 MB
{[['

']]}
Posted by ISO
Posted on 5:34 PM
S.M.A.R.T - awesome moves! First Cambodia Bangkok Airways TV Commercial - Cambodia. Smart Mobile Cambodia's third TV commercial - stunning!
{[['

']]}
Posted by ISO
Posted on 5:19 PM
Beeline Cambodia Lottery campaign Beeline Cambodia promotion 2nd wave campaign - HOT PROMOS
{[['

']]}
Posted by ISO
Posted on 4:58 PM
POND'S Cinq TVCLUX Everywomen TVC Leo Beer (Girl Friend) Panasonic Lumix Egypt Leo Beer ( Wedding )LEO Beer (football Soccer) Best Miller Light Commercial qb TALK TALK TALK TVC 2008
{[['

']]}
Posted by ISO
Posted on 11:26 AM
{[['

']]}
Posted by ISO
Posted on 4:33 PM
{[['

']]}