![]() |
#1 |
Registered User
Join Date: Jul 2011
Posts: 262
|
changing images
I have just added a script to my web site that changes an image when a mouse is passed over it, is this possible without intervention i.e automatically.
Thanks |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Nov 2013
Posts: 92
|
Yeah with scripting what you are asking is really possible . You may use java script for the purpose to add inter-activeness to web pages.
|
![]() |
![]() |
![]() |
#3 |
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> |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Showing and Hiding images | ncjbhd | HTML / DHTML | 1 | 09-27-2011 03:41 AM |