Questions tagged [rollover]

rollover image is an image that changes to some other image when you or your customer rolls the mouse over it

451 questions
32
votes
1 answer

CSS Resize/Zoom-In effect on Image while keeping Dimensions

I would like to use the CSS3 scale() transition for a rollover effect, but I'd like to keep the rollover image dimensions the same. So, the effect is that the image zooms in, but it remains constrained to its existing width and height. img:hover { …
mtyson
  • 8,196
  • 16
  • 66
  • 106
24
votes
4 answers

Using Hover and Pressed stylesheet Qt

I used this in my button pushButton stylesheet QPushButton#pushButton { background-color: yellow; } QPushButton#pushButton:pressed { background-color: rgb(224, 0, 0); } QPushButton#pushButton:hover { background-color:…
harveyslash
  • 5,906
  • 12
  • 58
  • 111
18
votes
1 answer

Tooltip for QPushButton

Is there a possibility to add a tooltip to a QPushButton. I mean, that when you roll over the button a small textbox appears (usually yellow) and tells users what this button is doing. Thank you.
buddy
  • 821
  • 2
  • 12
  • 30
14
votes
4 answers

How to put Hover effect on jbutton?

I am trying to create a Java Desktop application where I am using two buttons. I want to add hover effect in those buttons. I want: When I click any button it should change its background color. How can I achieve it? Here is my code: public class…
user3456343
  • 252
  • 3
  • 7
  • 21
11
votes
8 answers

Rollover safe timer (tick) comparisons

I have a counter in hardware that I can observe for timing considerations. It counts miliseconds and is stored in a 16 bit unsigned value. How do I safely check if a timer value has passed a certain time and safely handle the inevitable…
JeffV
  • 52,985
  • 32
  • 103
  • 124
9
votes
1 answer

Logback, set max history files per day

I use TimeBasedRollingPolicy and SizeAndTimeBasedFNATP triggering policy for my logback configuration. The rollover of log files is set to happen every day and it will also be triggered if log file size goes beyond a limit. If I do…
Prasanna
  • 3,703
  • 9
  • 46
  • 74
7
votes
7 answers

mouseover() mouseout() jQuery add/removeClass problem

I am trying to create a simple mouseover effect using a combination of mouseover, mouseout, addClass, and removeClass. Basically, when the user mouses over an element, I want to apply a different border (1px dashed gray). The initial state is "1px…
Brian David Berman
  • 7,514
  • 26
  • 77
  • 144
6
votes
4 answers

Does Stopwatch.Gettimestamp ever roll over? Or roll back?

In using Stopwatch.GetTimestamp() we find that if you record the return value and then continue calling it and comparing to the previous return value, it will eventually but unpredictably return a value less than the original. Is this expected…
Wayne
  • 2,959
  • 3
  • 30
  • 48
6
votes
3 answers

Simplest rollover/hover technique

I'm curious to know what people think is the current best way to go about a basic roll-over action- JQuery or CSS? I want a roll-over with these states: Normal: paragraphs of text within a DIV Hover: paragraphs of text fade out, a photograph fades…
Ila
  • 3,528
  • 8
  • 48
  • 76
6
votes
4 answers

Count numbers that are lower by constant from current number

Imagine that I have a list of numbers (i.e. numbers column in data.table/data.frame). 1 5 5 10 11 12 for each number in a list a want to count how many unique numbers are there which are lower than that particular number + 5. The explanation for…
Makaroni
  • 880
  • 3
  • 15
  • 34
6
votes
4 answers

:hover with elements

I am working with: #top ul li.corner span.right-corner:hover { background-image:url("images/corner-right-over.gif"); width:4px; height:15px; float:left; } #top ul li.corner span.left-corner:hover { …
user39980
6
votes
3 answers

Adding space between buttons?

Hi I have a code here that is all perfect except one thing. There is NO space between each button in the code. I've tried margin, but unfortunately its an unordered list so I am a bit confused. What would I add or replace to have space between the…
raininggalaxies
  • 103
  • 1
  • 2
  • 4
5
votes
1 answer

Elastic GET by ID query on rollover alias fails with ""Alias [...] has more than one indices associated with it..."

Our new rollover indices just rolled over. Now this query... GET http://my.elastic/system-logs/_doc/7e8017d8-0cb8-4b9e-b021-b2a4b4ac71c7 ...fails with this: "Alias [system-logs] has more than one indices associated with it [[system-logs-000002,…
Lars P
  • 796
  • 6
  • 16
5
votes
8 answers

Best way to do image rollovers?

I want my main logo to change when mousing over. I understand there are several ways to achieve this, and was wondering what's the best way for stability, browser compatibility, efficiency - and ease to setup. Some ways I've found are: Javascript…
Nathan H
  • 48,033
  • 60
  • 165
  • 247
5
votes
1 answer

Updating existing documents in ElasticSearch (ES) while using rollover API

I have a data source which will create a high number of entries that I'm planning to store in ElasticSearch. The source creates two entries for the same document in ElasticSearch: the 'init' part which records init-time and other details under a…
Zoltan
  • 315
  • 1
  • 3
  • 10
1
2 3
30 31