Help me please to complete a script, just a small thing
Instead of currentlyHovered = $(this)[0];
:
currentOffset = $(this).offset();
.......................
'left': currentOffset.left + 'px',
'top': currentOffset.top + 'px',
P.S. for multiline code use <pre></pre>
tags or switch to markdown formatting ``(see also [this script](/scripts/6779)). BTW you may like [MPIV script](/scripts/404) with a custom rule for your site (those are mostly very simple, e.g.
{"r":"take.ms/[^/]+","q":"#currentItem"}`).
thank you wOxxOm, i knew it i missed something! yeah, i'm using MPIV too (have tried that variant too, it's working), but i want that images to be resized
this ``` , thought i need one apostrophe then the code then another one apostrophe, lol
one more thing please, if i by mistake hover over the link then the request begins, how can i add a timer or a delay, if the mouse cursor stays 2 seconds on link then do the request?
Change 1000 to 2000 in setTimeout
, save the returned timerId, add a mouseleave
handler to the link that cancels the timer via clearTimeout(timerId)
.
BTW it's possible to resize the popup in MPIV's setup by using custom css rules (@-moz-document wrapper isn't needed)
thank you! added.on("mouseleave", function(){
clearTimeout(timer)
this works very good, yes, i hae tried MPIV, but i want to add description of torrent above the image)
Help me please to complete a script, just a small thing
so i finally find out how to work with GM_xmlhttpRequest, made when i hover over a torrent link to show the cover photo from it, but it's showing in the upper left corner, and when i hover over image and hover out from image it's dissapearing, but i want that image to be above the mosue cursor, and when i hover out the link the image to dissapear
i have searched some hints, but nothing that can help me, thank you.