Hi,
First, I moved this to the Javascript forum because this is all about Javascript. But it is also a little about Dreamweaver because you are using Dreamweaver generated Javascript code.
-
You have to call both functions in the same event-handler. An example of an even-handler is:
onClick.
An example of a function is:
MM_showHideLayers('pic2','','show')
So in your case, you would have:
onClick="MM_showHideLayers('pic2','','show'); MM_showHideLayers('pic','','hide')"
Now, did you notice the semicolon between the function names?
;
That is like a period between sentences. You need to add that if you are calling/using multiple functions with a single event. In this case, the event was: onClick.
I hope that helps,
Stefan