function setHomePage() { this.style.behavior='url(#default#homepage)'; this.setHomePage('http://gunasekara.coconia.net/'); return false;" }
2 days ago
Asp.net Web Development with C#, .NET Ajax Asp.net Asp.netConfiguration C# CSS Events FormsAuthentication Genaral HowToDo Html IIS IIS IIS JavaScripts JQuery NHibernate RegularExpressions Silverlight SoftwareDevelopment SQL SQLServer Threading UserControls Validation VisualStudio WebControls Windows WinForms XML
Please note: If you find any post DOES NOT contain required amount of explanation, please do comment them with a request for more information. I will update as soon as I can attend to it. Also you can contact me with a link to the post.
function setHomePage() { this.style.behavior='url(#default#homepage)'; this.setHomePage('http://gunasekara.coconia.net/'); return false;" }
// // function that executes recursively but it is timed. // function animate() { k++ if (k == 5) k = 1 document.images[k - 1].src = imgArray2[k - 1].src if (k > 1) document.images[k - 2].src = imgArray1[k - 2].src else document.images[3].src = imgArray1[3].src var timeOutID = setTimeout("animate()", 1000) }
// //A funtion for check a charactor input in a web form // function checkIt(evt) { evt = (evt) ? evt : window.event var charCode = (evt.which) ? evt.which : evt.keyCode if ((charCode < 45 || charCode > 57) && charCode != 8 && charCode != 37 && charCode != 39) { alert("This field accepts numbers only") return false } return true } // // you can access it from any contorl as follows // onKeyPress = 'javascript:return checkIt(event)'
Copyrights(C) - Charith Gunasekara 2005-2010