Hi frnds..
Mouse moving with background image...i dont know how do it...plz give some suggestions...the theme should be image...
ex:NDTV.com..just check this website..
Thanks in advance...
Thats just css. Read up on the background selector.
this is a basic code that changes the image wen mouse is moved over it or moved out of it ..
<html>
<head>
<script type="text/javascript">
function cpic()
{
document.getElementById("imagee").src='b.jpg'
}
function cpic2()
{
document.getElementById("imagee").src='a.jpg'
}
</script>
</head>
<body>
<img src="a.jpg" id="imagee" onmouseover="cpic();" onmouseout="cpic2();">
</body>
</html>
i hope i have got your question correct....
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.