Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

div overlay or pop when mouse over and image change

Posted on 2011-04-18
1
Medium Priority
?
368 Views
Last Modified: 2012-05-11
div overlay or pop when mouse over and image change

like this  -> http://trg.xdtheory.com/clients/clients-no-space.html
0
Comment
Question by:ninjadude12
1 Comment
 
LVL 10

Accepted Solution

by:
JPJ78 earned 2000 total points
ID: 35421746
I usually use css to do this.
The concept is to use the :hover psuedo class.

Something like this... (not tested)
<style>
.FordLogo
{
   width: 100px;
   height: 100px;
   background-image: url(FordLogo_bw.png);
}

.popup
{
   position: absolute;
   display: none;
}

.FordLogo:hover 
{
   background-image: url(FordLogo_color.png);
}
.FordLogo:hover popup, popup:hover
{
   display: block;
}

</style>
<div class="FordLogo">
   <div class="popup">A lot of links...</div>
</div>

Open in new window

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Suggested Courses

810 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