html - Issue with Tooltip and custom cursor on image-based links -


i have image on webpage use various links - can hover on buttons on image , click go page - when first creating webpage had issues getting links in right places.

i had entered image in css, having trouble. got around having image in html instead, , using <map> , <area> functions. so:

<img src="(my image url)" width="278" height="430" alt="tricorder" usemap="#tricorder"> <map name="tricorder"> <area shape="rect" coords="125,110,235,180" href="/" alt="home" title="home"> <area shape="circle" coords="92,120,9" href="{text:alpha url}" alt="link" title="{text:alpha}"> <area shape="circle" coords="91,140,9" href="{text:beta url}" alt="link" title="{text:beta}"> <area shape="circle" coords="89,160,9" href="{text:gamma url}" alt="link" title="{text:gamma}"> <area shape="circle" coords="88,180,9" href="{text:delta url}" alt="link" title="{text:delta}"> <area shape="circle" coords="83,216,20" href="{text:library url}" alt="navi" title="{text:library}"> 

there's easier way i'm new , works perfectly.

the problem i've installed tooltip , custom cursor css. these work fine rest of webpage, custom tooltip settings (white text, black background etc) , custom cursor (no hand when hovering on links) don't work when hovering on image links.

i can assume it's because image isn't affected css?? or along lines.

i'll try clarify if need more information, last little bit make perfect, , i'd appreciate if help..

take here http://jqueryui.com/tooltip/#custom-style.

the issue related tooltip configuration and/or css styles. used above code following css , rendered correctly.

.custom-tooltip, .arrow:after {     background: black;     border: 2px solid white; } .custom-tooltip {color:white;} 

and following js:

$( document ).tooltip({ tooltipclass:"custom-tooltip",      position: {my:"left+5 center", at:"right center"} }); 

jsfiddle example


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -