Menu
i need help to make a div on seccond mouse button that triggers a script, can anyone help me with this.
Baisicly, i have a standered div with an id of ‘test’:
[code=html]<div id=”test”>This is a test div.</div>
All i want to do is to use javascript to trigger a function when the user seccond mouse-buttons on the div (and only that div)
Heres a [I]really
[code=html]<script>
function divclick() {
alert(‘you seccond mouse-buttoned on this div.’);
}
</script>
Could someone please help…