Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
XML
<%--<script type="text/javascript">
    function imgwtest()
    {
    document.getElementById("image1").style.width='500px';
    document.getElementById("image1").style.height='500px';
    }
    function imgwtest1()
    {
    document.getElementById("image1").style.width='800px';
    document.getElementById("image1").style.height='500px';
    }
    </script>
    <table width="50%" border="1">
    <tr style="height:200px;">
    <td>
    <img src="images/New Folder/ima2.jpg" id="image1" onmousemove="imgwtest();" onmouseout="imgwtest1();" style="width: 472px; height: 500px" />
   --%>

pls corect wat mistk in tis code
Posted
Updated 4-Jun-10 20:02pm
v3
Comments
Smithers-Jones 4-Jun-10 8:15am    
Reason for my vote of 1
"correct tis code" sounds so demanding, like an order. Ever heard of a little word called "please"? Also, there is no question mark in your "question", so it can't be a question...
Johnny J. 4-Jun-10 8:31am    
Reason for my vote of 1
Agree with Smithers-Jones, a little politeness goes a long way
Sandeep Mewara 4-Jun-10 8:42am    
Reason for my vote of 1
Demanding!
BryanWilkins 4-Jun-10 15:57pm    
Reason for my vote of 1
I agree with above commenters. Why should we help you?
Sandeep Mewara 7-Jun-10 3:30am    
No need to be sorry. Next time, keep these things in mind while posting.
And yes, don't forget to rate and mark answer as accepted if it helps you! :)

mehalanandu wrote:
...img src="images/New Folder/ima2.jpg" id="image1" onmousemove="imgwtest();" onmouseout="imgwtest1();" style="width: 472px; height: 500px" />


Use onmouseover instead of onmousemove.


mehalanandu wrote:
function imgwtest() { document.getElementById("image1").style.width='500px'; document.getElementById("image1").style.height='500px'; }


Increase width & height to 1000px here, such that changes are visible.
 
Share this answer
 
Comments
mehalanandu 7-Jun-10 3:11am    
sorry......
mehalanandu wrote:
correct tis code


First, correct your question, especially the way you ask! be a little polite if possible for you!

People here help in their free time (of course free of cost!). You should respect that and not post as if all are sitting and waiting just for your question!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900