![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advanced. |
#3
| |||
| |||
|
|
"den 2005" <den2005 (AT) discussions (DOT) microsoft.com> wrote in message news:3ED9AFAF-EFF9-4496-9C4A-C5D449F7FEE7 (AT) microsoft (DOT) com... I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advanced. Do you have more than one element with the id "Img3"? If so, you will get back a collection of elements. Also you don't need to find the element again anyway -- you already know which one it was (it fired the event). Try this instead: function onMouseOver(obj) { obj.style.cursor = 'foo' } img onmouseover="onMouseOver(this)" Peter -- Peter Torr - http://blogs.msdn.com/ptorr HD DVD Program Manager |
#4
| |||
| |||
|
|
Thanks Peter for info... Any ideas to simulate a dragging effect while resizing the image control? I am able to resize the control already but unable to still display the dragging effect of resizing. Dennis -- MCP Year 2005, Philippines "Peter Torr (MS)" wrote: "den 2005" <den2005 (AT) discussions (DOT) microsoft.com> wrote in message news:3ED9AFAF-EFF9-4496-9C4A-C5D449F7FEE7 (AT) microsoft (DOT) com... I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advanced. Do you have more than one element with the id "Img3"? If so, you will get back a collection of elements. Also you don't need to find the element again anyway -- you already know which one it was (it fired the event). Try this instead: function onMouseOver(obj) { obj.style.cursor = 'foo' } img onmouseover="onMouseOver(this)" Peter -- Peter Torr - http://blogs.msdn.com/ptorr HD DVD Program Manager |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |