Click here to Skip to main content
15,895,192 members

Comments by GottZ (Top 4 by date)

GottZ 23-Nov-11 7:05am View    
Deleted
Reason for my vote of 1
this is a hacky solution. will behave differently in different browsers.

in addition:
try adding the html 5 doctype and you will notice that the div will be as big as its content.
GottZ 9-Aug-11 3:06am View    
Deleted
Reason for my vote of 2
this is not about the actual right mouse button. this is about the context menu.

the answers above could be used in order to create a custom contextmenu.
GottZ 9-Aug-11 3:04am View    
Deleted
Reason for my vote of 5
thats how i would do it too :D
GottZ 9-Aug-11 3:04am View    
Deleted
Reason for my vote of 3
nowdays nobody uses new Function

you should (if you do it like this) write it like:

function(){return false}

also.. e.preventDefault is more usefull in this case.