Variable Help: Show/Hide Caption Text

Thanks Andy! It now works, but only when published, as I learned from a few other posts involving you that the refresh variable only works when published. For others sake, the refresh code is here. It didn't entirely solve my problem, though, as I had failed to mention that I have audio on each page, hence the caption text. When I click Show/Hide and the page refreshes, the audio starts playing again (it's set to auto start). Can you see any way around the audio refresh issue?Thanks,Russ

Discussions have been disabled for this post