I have been playing around with the code for HideAllShowOne using it in a mobile environment. Since I really like your code, I wanted to use it on multiple pages within my mobile application and there is my problem. When using more "instances" of your code, the code doesn't work properly anymore. Instead of showing the div and replacing with the next one when you press a button, it appends the text to the previous div. Is there a way to use multiple copies of the code on a mobile site? I'm not a real java-expert so I could really use your help and suggestions. I hope your understand my problem. Is there a way to make each set of code "unique", I think this might solve the problem.
For now I've changed the function names each time I use another set of code, this seems to work until now.
Thanks a lot.
Greetings from the Netherlands, Koen Schrauwen.