Using Click Events to Hyperlink Table Rows
<p>I am new to HTML/CSS/JS/etc, and have the following objective: I am trying to effectively hyperlink individual rows in tables. I am aware that this is not inherently possible, but have found that the solution I prefer most is simply using onclick methods. However...</p>

<p>Is there a way to distinguish mouse buttons for different reactions? Effectively, I am trying to mimic the usual reaction of mouse clicks for a link e.g., left click opens the link in the current tab, middle click opens the link in a new tab, and right click opens up the context menu for links.</p>

<p>What I know:</p>

<ul>
<li>I can open the link in the current tab with a simple link, or in a new tab/window by using window.open</li>
<li>I can have it react to only the left click with onclick, or to all three with onmousedown or onmouseup</li>
</ul>

<p>Thanks for the help!</p>