Quote:
Originally Posted by voodazzed
Once again the script works great, but I have a couple of questions about the script in your second script posting since I'm the type who likes to know how and why a script works rather than just copying and pasting:
What is the purpose of the parameters in both the buttons and functions?
Thanks again!
|
First off, you're most welcome. Happy to help.
Concerning the 2 arguments in the button function.
The 1st controls the specific <div> tag associated with the particular menu to display.
The 2nd controls the current button. Allows controls of the background-Color with the CSS style.display