Forum Moderators: open

Message Too Old, No Replies

Changing a left-click to a right click

how to do it?

         

adni18

3:05 am on Dec 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi. Is there a way to change a right click so it does a left click action? I don't think there's a click() function.

archrajan

3:59 am on Dec 25, 2004 (gmt 0)



there is a click function see this example

<html>
<head>
<body onload = "document.frm.btn.click();">
<form name = "frm">
<input type = "button" name = "btn" value = "click" onclick = "alert('hi welcome')">
</form>
</body>
</html>

Lance

11:12 am on Dec 25, 2004 (gmt 0)

10+ Year Member



adni18:

Check this thread [webmasterworld.com] for a message I posted yesterday. I think it will do what you're looking for, or at least give you a place to start. (6th message)

orion_rus

8:16 pm on Dec 25, 2004 (gmt 0)

10+ Year Member



I don't clearly understand what u want to make with this. Windows already have mousefunction swapping.
U can do all what u want. All u need in onclick to see a button what's pressed and make such actions. Where problem i didn't see?