Facebook Like Button

JavaScript

This script shows you the way functions are used in JavaScript. The following script shows you:
  • How to declare functions.
  • How to call the functions you have declared.
  • How to change CSS properties of an element with js.
  • The use of inbuilt function alert().

Click me to run this Script.


Script & HTML Code:
<body>
<p id="idp"onclick="alertfn()" onmouseover="mpointer()">
<b><u>Click me to run this Script.</u></b>
</p>
<script type="text/javascript">
<!--
function alertfn(){
alert("This is the Alert box!!!\nClick OK or CLOSE the window to go back!!");
}
function mpointer(){
idp.style.cursor="pointer";
}
-->
</script>
</body>

Remove Shortcut Icon

Sorry guys, it has been too long since my last post. I was stuck in my Exams. Never the less I'm back. I was browsing registry and then i found a way of Removing that Irritating Shortcut Icon...
Here's the trick:
  • Go to START. 
  • Open Command Prompt. 
  • Type REGEDIT.EXE
  • Follow the Path:
    HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Icons 
  • Edit Column: "29"="C:\Windows\System32\shell32.dll,50"