index.html
...
<tr>
<td id='cart_center'>
<a href='#' id='linkx'>
<img src='IMAGE/x.png' id='imgx' />
</a>
...
css code
#imgx
{
display: none;
}
#imgx:hover, #cart_center:hover
{
display: inline;
float:left;
}
Posted 10 January 2013 - 12:46 AM
...
<tr>
<td id='cart_center'>
<a href='#' id='linkx'>
<img src='IMAGE/x.png' id='imgx' />
</a>
...
#imgx
{
display: none;
}
#imgx:hover, #cart_center:hover
{
display: inline;
float:left;
}
Posted 10 January 2013 - 01:15 AM
This post has been edited by Anthonidas: 10 January 2013 - 01:19 AM
Posted 11 January 2013 - 04:33 PM
('.selector-name').hover(
function () {
$(this).show();
},
function () {
$(this).hide();
}
);
Posted 11 January 2013 - 05:14 PM
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style type="text/css">
#imgx {
position: relative;
left: -999px;
}
#cart_center:hover img {
left: 0;
}
</style>
</head>
<body>
<table>
<tr>
<td id='cart_center'>
<a href='#' id='linkx'>
<img src='IMAGE/x.jpg' id='imgx' alt="simple hover">
</a>
</td>
</tr>
</table>
</body>
</html>
This post has been edited by andrewsw: 11 January 2013 - 05:15 PM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
