Scroll mousewheel to cycle thru next/prev tabs

This commit is contained in:
Matt Pass
2013-06-21 21:49:30 +01:00
parent 6ff8dcffc1
commit b7a2e7d097
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ if ($ICEcoder["checkUpdates"]) {
}
?>
<!DOCTYPE html>
<html onMouseDown="top.ICEcoder.mouseDown=true" onMouseUp="top.ICEcoder.mouseDown=false; if (!top.ICEcoder.overCloseLink) {top.ICEcoder.tabDragEnd()}" onMouseMove="if(top.ICEcoder) {top.ICEcoder.getMouseXY(event,'top');top.ICEcoder.canResizeFilesW()}">
<html onMouseDown="top.ICEcoder.mouseDown=true" onMouseUp="top.ICEcoder.mouseDown=false; if (!top.ICEcoder.overCloseLink) {top.ICEcoder.tabDragEnd()}" onMouseMove="if(top.ICEcoder) {top.ICEcoder.getMouseXY(event,'top');top.ICEcoder.canResizeFilesW()}" onMouseWheel="event.wheelDelta > 0 ? top.ICEcoder.nextTab() : top.ICEcoder.previousTab()">
<head>
<title>ICEcoder v <?php echo $ICEcoder["versionNo"];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

View File

@@ -51,6 +51,7 @@
<span class="key">Delete</span> <span class="shortcut">Delete selected</span><br><br>
<h2>Anywhere</h2>
<span class="key">Middle scrollwheel</span> <span class="shortcut">Next/previous tab</span><br>
<span class="key">Ctrl <span class="plus">+</span> &rarr;</span> <span class="shortcut">Next tab</span><br>
<span class="key">Ctrl <span class="plus">+</span> &larr;</span> <span class="shortcut">Previous tab</span><br>
<span class="key">Ctrl <span class="plus">+</span> +</span> <span class="shortcut">New tab</span><br>