javascript - Tooltip title on image using mouseover? -


I want to display an element title on image (tooltip size). I got the title of the current element

  $ ('. DownloadPdf'). Mouseover (function () {var currentelement = $ (this) .attr ('title');});  

Download is common category on PDF elements.

Actually I have a menu bar below in which I have some icons These icons are functional here I want whenever a user enters these symbols, their title should be on the image. This image is nothing, just a tooltip figure.

But how to add it to the image? And its position will only be on the element. So how do I get this status? So, spoil and spend at least 3 hours on this small task. Any help would be appreciated. I'm pretty bad when I come to use CSS effectively.

OK to add the title attribute to your image and the simplest The easiest way to hover this image will be the reason for the original browser tooltip to show on the image.

Check it out (keep your mouse cursor over the image of pdf-icon).

In addition, these questions have already been asked.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -