Archive for Cool Sites

Disable right click (Context Menu) in your HTML page

// February 19th, 2009 // Comments // Cool Sites, Engineering

My last post on file structure lab program is getting listed first when you google for ” fs lab”,  “file structure lab” and many more related keywords. This is driving a lot of visitors to the site.

File structure lab being introduced for the first time in 6th Semester,  Department of Information Science, VTU. Hence there is no lab programs available with anyone, neither the seniors have it nor it is available on the whole internet. SandeepHegde.me is the only site where you can find the programs and I want to keep it the same. I don’t mind people using the program for their personal use or internal circulation. What I don’t like is copying the program onto other websites. In such cases you can provide link to SandeepHegde.me from that site.

So I’m making an small attempt to reduce copying articles from my site. I’m disabling the right click feature from SandeepHegde.me and it today’s post is all about how to disable right click (Context Menu) in your HTML page. Here it goes….

HTML has an event called “oncontextmenu”. This event handles the right click event.

So, if you want to disable right click for any field in your page, all you have to do is add “oncontextmenu” inside the particular tag. The example below will make things clear.

Ex. Suppose you want to prevent users from copy pasting something into one of your text boxes. Then you need to write the input tag as follows:

<input type=”text” oncontextmenu=”return false;”>

That’s it!! The context menu does not appear because we are handling the right click event by returning false.

Alternatively, you can disable right click for the whole page as follows:

Just copy paste the following code after the end of your <form> tag.

<script>

document.oncontextmenu = function(){return false}

</script>

I do not really know how far the web browsers can support it, but there is nothing wrong in giving an try.

Please comment your queries.

[Request : If you are using someone else's content, Please leave an credit to the Original Author ]

WordPress Blogging Workshop/Contest

// February 17th, 2009 // Comments // Cool Sites, Engineering, My Activities, Tools, Web

Finally today (17/02/2009) we finalized the workshop and contest on “Blogging with WordPress” for students of Department of Information Science & Engineering, Gogte Institute of Technology, Belgaum
Prof Kiran K.T and our H.O.D. Prof.  M. M. Math were were Co-operative in approving the idea of conducting such an stuff first time in the college history.Myself and Snehal will be handling most of the stuff.
Although I had though of arranging such workshop last year itself , could not implement due to various circumstances. Don’t know whether it was possible this time too if  Snehal had not asked about keeping a website design contest !
The workshop is going to be conducted on 27/02/2009 from 2.00pm to 3.00pm. I’m expecting nearly 100 candidates to attend the workshop.
The following topics will be covered :
  • Introduction
  • Hosting & Domains
  • WordPress Installation
  • Using WordPress
  • Theming
  • Plugins
  • Widgets
  • Using Analytics
  • S.E.O.
  • Promoting the site
Almost all candidates are new to this field and workshop shall provide them with the basic information and a motivation for thier online identity. We are going ahead with Free Hosting and free co.cc domains which is provided by www.FreeHostCell.com. The contest shall be starting after the workshop and candidates shall have of lot of time of around 45 days. I don’t know how they are going to cope up with wordpress blogging. The best blogs  shall be awarded.
Last but not the least here an advertisement prepared by Snehal to display on the notice board. I like it a lot. Here it goes…
Come..
Project Yourself on the Web
Get a New Dimension to your Internet Experience
Communicate Differently
Own your own Website
Get Publicity over the Internet
Add Weight-age to your Resume
Come…  Learn Website Design


Please comment your suggestions regarding the workshop/contest.
I shall be posting frequently on this topic until the winner is chosen.
Keep Checking…
[More details at Official Site : www.gitise.co.cc]

Hello world!

// February 10th, 2009 // Comments // Cool Sites, My Activities, My Works

This is the bigining of my Brand New Personal(?) Blog with the domain “PingSense.com”.  Many domains where available when I din have money to buy and when I have money it is already registered by someone. Even “sandeephegde.com” is lying there without any content. Anyway I’m satisfied with PingSense :) Thanks to Pruthwi.

About Ping :

  • Ping is a computer network tool used to test whether a particular host is reachable across an IP network; it is also used to self test the network interface card of the computer, or as a speed test.
  • In blogging, ping is an XML-RPC-based push mechanism by which a weblog notifies a server that its content has been updated. An XML-RPC signal is sent to one or more “ping servers,” which can then generate a list of blogs that have new material.

Content of blog : I haven’t yet thought much about it. Whatever comes to my ming I’m going to  write it. It may be about the technology, softwares, Sci-Fi, movies, music, videos, gadgets, tools, life,………………………

Schedule : I cant say how frequently I can blog. It all depends on my work load. I have to manage my Web Design work at dotCORD , Academic stuff and other personal matters. I’l try to write atleast once a week.

This first time I’m writing something of my own. This me my first step towards coming out of copy paste world. I don’t know how well I can write, so please bear with me. All your suggestions and comments are welcome.