Write the code to maximize an image using javaScript?
Answer Posted / santosh pachauri
<img src="d:\xyz.jpg" name="img1"
onmouseover="img1.width='400';img1.height='400'"
onmouseout="img1.width='100';img1.height='100';" />
| Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
What is a currying function?
Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..
Iam getting xml when we click on one button.Iam placing that
xml in dom.Im getting that xml data in one xsl.In that xsl
I want to increase the variable value which is declared in
xsl.
Ex:
Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.
What is "strict mode" and how is it used in JavaScript?
What is a framework programming?
How can you set position of the page (top and left) to 0 using javascript in one line code?
What is use of flutter?
Is javascript multi-threaded or single-threaded?
why we need java instead of c
What is the difference between the operators ‘==‘ & ‘===‘?
How do I unblock javascript in chrome?
What is Browser Object Model?
Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],
How to create a function in javascript?