Solved

unwanted blinking button images in asp.net web site

Posted on 2011-09-28
2
403 Views
Last Modified: 2012-05-12
I'm using css to change the image of a over button and a normal button but the space blink when the mouse passes over the button for the first time and changes the image.

Can i avoid this? is a better way then css?

.Home
{
    display: block;
    width: 116px;
    height: 49px;
    background: url('../images/Home.jpg') bottom;
}
.Home:hover
{
    background: url('../images/HomeOver.jpg') bottom;
}
0
Comment
Question by:girosoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
Carlos Villegas earned 500 total points
ID: 36758310
Hello, just the first time? then your images are not being cached... also you can try adding this somewhere in your aspx page (preferably before your button):
<img alt="" src="../images/Home.jpg" style="display: none;" />
<img alt="" src="../images/HomeOver.jpg" style="display: none;" />

Open in new window

0
 

Author Closing Comment

by:girosoft
ID: 36813958
Great, it works perfect, thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question