![]() With this setup, and my situation, there are a couple (minor) gotchas.įirefox will open a new tab when you middle click, but only if you don't drag. ![]() ![]() Nowadays, you can do this with a single line of vanilla JS: = function(e) Ĭurrently, my solution is this: (more jquery!) $(".togglable").wrap(īy wrapping it in a link (via jquery wrap), browsers think it's a link and don't scroll on middle click, even if you drag your mouse around. This is an old question.but if I'm understanding it properly, you want to disable scrolling via the middle mouse button click. ![]() Middle-click can be disabled with Javascript, but only in IE, WebKit, and Konquerer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |