Posts filed under ‘HTML’

SQL Script to Find Week Days of a Year and J-Query

hi,go through below links
Get Date of All Weekdays or Weekends of the Year(By Pinal Dave)

Change Image Opacity on MouseOver using jQuery (Suprotim Agarwal)

December 29, 2009 at 10:51 am Leave a comment

Image Gallery using j-query

Go through below link to show image gallery in web site with the use of J-Query

Pretty Gallery With J-Query

Its a handy plug in for the Image Gallery.

December 23, 2009 at 1:56 pm Leave a comment

Javascript to allow only numeric in text box

hi , many times we come to situation when in our website we just want to allow numeric value in text box.

This can be done by the client side java script.

Below is the script you need to insert

function isNumberKey(evt)

{

var charCode = (evt.which) ? evt.which : event.keyCode

if (charCode > 31 && (charCode < 48 || charCode > 57))

return false;

return true;

}

and here is how to attach this function to your text box either its html or asp.net text box.

onkeypress=”return isNumberKey(event)”



		

December 22, 2009 at 7:30 am Leave a comment

Disable Right click Context menu on Web Page

There are some situation when we want to hide our source code from user. User can easily see your web page source code by right click on page.

There are so many scripts available to disable right click. you can even open context menu by keyboard.

This is some what easy and hands on attribute to disable right click

Just write..

<body oncontextmenu=”return false;”>

This will not allow user to open context menu by key board or by mouse. Just try it..

June 23, 2009 at 4:07 am Leave a comment


Archives

Categories

 

May 2012
M T W T F S S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

Blog Stats

  • 1,999

Follow

Get every new post delivered to your Inbox.