Thread: changing images
View Single Post
Old 05-27-2015, 06:55 AM   #3
yasar
Registered User
 
Join Date: May 2015
Posts: 61
Using java script we can do this

<div onmouseover = "mOver(this)" onmouseout = "mOut(this)" style="background-color:coral;height:40px;width:200px;padding:40px">
On Mouse Over
</div>
<script>
function mOver(obj)
{
obj.innerHTML = "THankyou"
}
function mOut(obj)
{
obj.innerHTML = "On Mouse Over"
}
</script>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
yasar is offline   Reply With Quote