DianaBuild Guide by Crusher395
Updated on February 9, 2023
New Guide
VoteVoteBuild Guide By Crusher395
5,977 Views
0 Comments
5,977 Views
0 Comments
Diana Build Guide By Crusher395 Updated on February 9, 2023
x
Did this guide help you? If so please give them a vote or leave a comment.You can even win prizes by doing so!
You must be logged in to comment. Please login or register.
I liked this Guide
I didn't like this Guide
Commenting is required to vote!
Thank You!
Your votes and comments encourage our guide authors to continue
creating helpful guides for the League of Legends community.
Crusher395Diana Guide
');}$('.side-toc__main--scrollable').on('wheel', function(e){var pos = parseInt($(this).attr('pos'));var max = $(this).find('.side-toc__main__inner').outerHeight() - 155;if(e.originalEvent.deltaY < 0) { // scrolling upif (pos > 10) {pos-=10;} else {pos = 0;}} else { // scrolling down if (pos+10 < max) {pos+=10;} else {pos = max;}}$(this).attr('pos',pos);$(this).find('.scroller').css('top',pos/max * 150);$(this).find('a').css('top',-pos);e.preventDefault();});var grabScroller = false;var currY;$('.scroller').on('mousedown',function(e){grabScroller = true;currY = e.pageY;$(this).addClass('dragging');e.preventDefault();});$(document).on('mousemove',function(e){if (grabScroller) {var cont = $('.side-toc__main--scrollable');var pos = parseInt(cont.attr('pos'));var max = cont.find('.side-toc__main__inner').outerHeight() - 155;var diff = e.pageY - currY;currY = e.pageY;pos += diff;if (pos < 0) { pos=0; }if (pos > max) { pos=max; }cont.attr('pos',pos);cont.find('.scroller').css('top',pos/max * 150);cont.find('a').css('top',-pos);e.preventDefault();}});$(document).on('mouseup',function(){if (grabScroller) { grabScroller = false; $('.scroller').removeClass('dragging'); }});});