I got some problem with the way the javascript to change div is implemented: some of the needed style="" is screwing up my design
in IE when the form is swapped from the login div to the password recovery div, clicking on the "Forgot Password?" link.
I thought about stripping out the javascript from the snippet; make it redirect to a different page where the snippet, called with a parameter, will output the password recovery form instead of the login form, but reading the JS (which language is, mine fault, totally unknown to me aside english understanding) I started thinking there are some actions the JS is involved in, beside swapping divs. Some sort of behavior.
So I need some input: is possible to strip out the JS without problems?
PS: The JavaScript is located in assets\snippets\weblogin\weblogin.inc.php at line 28.
PPS: someone knows a good javascript-first time-step by step-easy-guide? Thanks