Jquery Accordion With Images Hiding on Selected Item
Dear Reader,
I'm looking to incorporate images in my jquery accordion. I've managed to do so using CSS backgrounds for both the button div and the header within that div.
I'd like to have one of the backgrounds (css) hide while an accordion item is open. I've only managed to make all the images hide at once, and I've had no luck making them come back.
One thing to note: each h2 has a unique class to determine the background image.
If the solution is indeed to use the .css() function, I'm assuming that modifying the background-position to 200% 200% is a novel way to hide the background on the selected div.
In short, I'd like some way of hiding the background of an open accordion item, OR, a way to add background-position: 200% 200% to the unique class of an open accordion div.
Thanks!
Here is the URL for consideration
https://collab.ist.psu.edu/oidi/?q=node/5