0
Adding a draggable div along with the cursor using simple javascript
In this tutorial we can see how to add a draggable div along with the cursor using simple javascript.
Only some simple javascript included and you can just copy and paste it in to a webpage you want the draggable content to be displayed.
DEMO
<html>
<head>
<meta...
Expand and collapse toggle div using jquery
This is a very simple tutorial on how to show and hide a division tag or Expand and collapse toggle div using simple jquery.
<script src=”http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js” type=”text/javascript”></script>
<script...
Shell Scripts Part 2
Create a small shell script, testVar2.sh:
testVar2.sh
#!/bin/sh
echo “testVar is: $testVar”
testVar=”my shell script”
echo “testVar is: $testVar”
Now run the script:
$ ./testVar2.sh
testVar is:
testVar is:...
Disabling right click menu using javascript Enhanced Version
This is an enhanced version of how to disable right click menu from a webpage.
Simple just copy and paste this code
<script LANGUAGE="JavaScript">
var message="Sorry this function is disabled."
function clickIE4(){
if(event.button==2){
alert(message)
return...
Page 1 of 11
