September 22, 2009 at 5:24 am (Javascript, Programming, Web, html)
Tags: prevent right click
We can prevent ricght click on website pages by using following code
<!– This for right click
//Disable right mouse click Script
var message=”Copyright bwsipl!!”;
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function(”alert(message);return false”)
// –>
Leave a Comment
September 22, 2009 at 5:23 am (Javascript, Programming, Web, html)
Tags: prevent copy
We can also prevent copy of text also, by using following code
<!– This for prevent not select text
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function (”return false”)
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
–>
Leave a Comment
July 23, 2009 at 7:00 am (Css, html)
Tags: button, css button, sliding door

sliding door button with css
Recently I saw the Sliding Door like buttons in WordPress.com site, I am so liked that and thought of making a sample one and I was all most success. So I thought of sharing that with you. It’s not a hard part, but I spend around thirty minutes to do this, I was so sad because I spent much time to do this, but finally I was really happy I learned some CSS in that thirty minutes. But any way will dive in and just have a look on how to make.
Download: http://www.box.net/shared/8u1h5xsk0t
Download PSD: http://www.box.net/shared/a5rvfz3yzs
That’s it, if you want to try out by yourself, get the files, try your seft and optimize as you wish, use it In your site, if possible else if you have a optimized why shout out in the comments. So far this solution is checked with following browsers;
- Safari 4
- Mozilla 3.5
- Internet Explorer 8
Just checked with Opera 9.64 and Internet Explore 7, it’s working fine
For lower browser check I don’t have much resource, if possible try it yourself
.
Author: Yoosufs
Leave a Comment
June 25, 2009 at 6:15 am (htaccess, html)
Tags: 404 error
Internet has become a more beautiful place now than it used to be till few years back. I am saying this in terms of beauty of the web designs. The look and feel of the websites are now much better than what they used to be. The continuous evolution in the web designing technologies have contributed immensely towards the beautification of websites. One of the worst part of website till sometime back used to be its 404 error page but now things have changed for good. The designers themselves don’t like the weird 404 error pages and that is perhaps major reason why these less frequently seen pages are sporting some color and statement. Let’s take a look at some of the beautiful and simple 404 error pages.
Product Planner

Habrahabr

MundoFox

Swiss Miss

Falken Creative

Cuoma

Duoh

Apartmenthomeliving

Chris Glass

Renkoo

Zivity

The Brand Surgery

Unit Interactive

ClearSpring

Brightkite

Huwshimi

Hootsuite

StudentMarket

Suspended Animations

Fuelly

The Truth

24-7 Media

Jackfig

Snapdox

AteaseWeb

Author: Sushaantu
Leave a Comment