Questions tagged [onhover]

215 questions
3
votes
3 answers

How to change span color on div hover

I am trying to change color of span on div's hover How to make the red hamburger button (which is span) to change the color to black on div's hover PS: Right now it does it on span's hover JSFiddle:…
sparrow
  • 57
  • 2
  • 10
2
votes
1 answer

Change image brightness while on hover

How can I edit a code for two main_menu buttons to lower their brightness while mouse cursor is on them? I have already imported images starton and stopon, in which the brightness is lower, however, I would like to just modify already drawn start…
2
votes
1 answer

How to show tooltip on legend hover?

I am using chart.js in React. I have read and implemented: Chart.js - show tooltip when hovering on legend Unfortunately, this is not providing the desired results. I believe this is because this is being implemented in javascript, and I am…
cfeltz
  • 23
  • 4
2
votes
1 answer

In chartJS, change label color onhover

I would like to change the color of the label on-hovering over the data bar in chartJS. But the color change is not responsive. Below shows the onhover code that I am using. Does anyone have any ideas how to change the color of the label…
ivor
  • 49
  • 2
  • 5
2
votes
1 answer

D3 line chart line selected on hoover even if opacity of the line is zero

I have a D3 line chart in my application and on hovering on the line a text is shown above the line displaying the line name. After that I had implemented a legend alongside with the chart and legend allows making lines appear and disappear upon…
Yasiru Nilan
  • 447
  • 5
  • 28
2
votes
2 answers

Show box on hover of item in jlist

I want to show box that contains information when user hovers on an item in list. Something like follows: How can I do this? This can be seen in chat app like pidgin or spark.
Harry Joy
  • 58,650
  • 30
  • 162
  • 207
2
votes
2 answers

Attempt to write jQuery fadeTo effect in Javascript

A Website uses only one single jQuery function which we'd like to replace by an equal pure Javascript function. However I struggle to convert (translate) that function. I am aware jQuery is perfect for that task but the trade-off to download all…
snahl
  • 497
  • 2
  • 10
  • 25
2
votes
1 answer

Pure CSS on hover stop animation

I need to stop animation on hover for the following Codepen project. I though that adding .photo:hover{ animation-play-state:paused; -webkit-animation-play-state:paused; } could be enough, but it works only for visible image while for other three…
Joe
  • 1,033
  • 1
  • 16
  • 39
2
votes
3 answers

HTML\CSS: change cell background for hover state with CSS

look at this jsFIDDLE sample i want to change the cell background color for hover state with CSS.. it can be attained through JavaScript but i want to do it with CSS... plus i want the whole cell to act as a link how to do it
Moon
  • 19,518
  • 56
  • 138
  • 200
2
votes
1 answer

On hover effect on a SVG group

I'm working on a pretty big map with lots of different areas and text on top of them, sort of like countries. I want to add a on mouse hover effect when hovering over this area. The effect should add a shadow and change its opacity. When I hover out…
Dries Crauwels
  • 127
  • 1
  • 13
2
votes
1 answer

CSS hover is affecting sibling elements?

I have created the following section as part of a website I'm currently working on. When the social media icons below the job title are hovered over with the cursor, the CSS is supposed to generate a border around the icons individually, without…
Barry D.
  • 549
  • 2
  • 6
  • 21
2
votes
2 answers

How to trigger ON-HOVER CONTENT in WEBKIT TRANSITION BOX

I am trying to put some pictures (with hyperlinks) in the on hover expanding DIV BOX > once the box is fully opened after (5 seconds). I have made a really bad attempt to do this by creating a zaxis and to make the content appear over the…
2
votes
1 answer

Morris donut graphs. Very long and small labels

I have very long labels on my morris donut graphs. Because of their long it's very hard to read. I would like to have some kind of popup with label when I hover on that text. But there are no css classes to bind a handler. js code: Morris.Donut({ …
masterdany88
  • 5,041
  • 11
  • 58
  • 132
2
votes
1 answer

How to make a scroll as real as clicking the scroll bar arrows?

I want to simulate the scroll bar arrows' clicks by hovering certain elements. Basic example: function scrollBody(dir, speed){ $('html, body').animate( {'scrollTop': dir+'='+speed+'px'}, {duration: 300, easing:…
Armfoot
  • 4,663
  • 5
  • 45
  • 60
2
votes
3 answers

CSS: On hover display block not working

For following html on hovering li.visibleLi li.invisibleLi need to be shown.
  • Web Design
  • Web Development
  • Illustrations
I tried the following…
Erma
  • 337
  • 1
  • 6
  • 14
1
2
3
14 15