If you are trying to stop people viewing your source code, you are going to have to do more than disable right clicking on your site. There are tools such as cURL that let a user download the source code of a web page without even needing to use a web browser.
I would like to know how do i disable the right click functions for a wordpress site.
http://sabasdesign.com