J
Jax
I am using a custom control on my webform as this article
suggests.
http://www.codeproject.com/aspnet/scriptgen.asp
It seems to be working okay, the problem is that the
javascript i'm using was designed to run on a HTML page
rather then a webform.
What i would like to find out is whether or not this code
is valid on a webform and if not what changes would be
neccessary to make it work.
image1.style.posLeft=event.clientX-(face.offsetWidth/2)
+document.body.scrollLeft;
with (image1.style)
{
posWidth+=5;
}
The problem i have is that these features of my code are
not working, although a function that runs afterwards is
operating perfectly, the only way it can get to that
function is by running these lines of code, therefore they
are running but not actually doing anything.
I also want to be able to get the posLeft property back
into my C# code as i'll need it for later, but I cant find
that property with intellisence of a html image, can i
script with an asp.NET control?
I appreciate any help immensly.
jax
suggests.
http://www.codeproject.com/aspnet/scriptgen.asp
It seems to be working okay, the problem is that the
javascript i'm using was designed to run on a HTML page
rather then a webform.
What i would like to find out is whether or not this code
is valid on a webform and if not what changes would be
neccessary to make it work.
image1.style.posLeft=event.clientX-(face.offsetWidth/2)
+document.body.scrollLeft;
with (image1.style)
{
posWidth+=5;
}
The problem i have is that these features of my code are
not working, although a function that runs afterwards is
operating perfectly, the only way it can get to that
function is by running these lines of code, therefore they
are running but not actually doing anything.
I also want to be able to get the posLeft property back
into my C# code as i'll need it for later, but I cant find
that property with intellisence of a html image, can i
script with an asp.NET control?
I appreciate any help immensly.
jax