Forum Moderators: open
however, when I cut and paste the javascript function, it didn't work the way I did it. I noted that he said that I should be sure to change the ¦¦ (or) symbols, at the bottom of that post, but I don't know what that means.
Sorry, but I have only rough familiarity with this, so I'm probably missing something obvious.
So if you copy the contents of a post from this site and it contains ¦ characters, you need to replace those in with real pipe characters.
I still couldn't get the function to work, so here's another rudimentary question:
the original posted code reads like this:
function animateopacity(element, start, end, length, keepBlock, endScript, time)
I would just like to know what the standard syntax is for calling the function, I tried this and it didn't work: onclick="Animateopacity('main_image','','','','','','')
The original posting said to leave the last value (time) as is.
function animateopacity(...)
Then you must call it with a lowercase 'a'. I haven't looked at the original function, but trying to call it with an uppercase 'A' would certainly cause nothing to happen if it was defined with a lowercase 'a'.