Friday, June 13, 2008

I have seen various tutorials aroudn but none are exactly what I need - very basically I need an <asp:textbox> to fire a vb.net subroutine/function when the text changes - all the other tutorials I have run accross allow you to fire a javascript function by adding onchange attribute to the textbox but that s not what I need.

Can anybody help?

on note pad what is the javascript code/?

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position= absolute ; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval( A() -5); void(0);

Window alerts don t seem to work in JavaScript if I type something like
window.alert("something");
window.alert("something else");

What can I do to make those work?

Can someone explain to me how to use code which is like this:

function load()
{
functionName.load()
{}
}

I don t even know what it s called because to me that seems like a function within another function. What I need to do is get a value from the function which loads within the other function: I have had a stab in the dark by trying to get it to return a value but I just don t know how it works!!

Thanks for you help
ps I am not a javascript beginner so please don t explain to me the basics!

Hi. I ve seen sites done this and I m really curious how people do it. It will be great if someone knows what kind of technology or how they do it. If u know any resources- like books- that I can learn from then that will be great.

Here s a sample from a site that has this kind of feature.

http://www.humantimes.com/

If u click on the login link then it will pop up a customized pop-up window and also the background becomes dark as well.

Is that something hard to do too? I think this is done by javascript/ajax? Or maybe other things involved too?

Any help will be great. Thanks.

No comments: