Hi there, I'm new to the forums and pretty new to jquery, so I'm hoping someone can help.
I have a pretty simple pane slider deal that works great as is, but I'd like to extend it a bit so that it remembers the state it's in rather than simple toggling. The reason for this is because as soon as I add and click on a secondary toggle inside the pane, the main toggle gains the active class when the pane is actually closed.
So I use the primary toggle to open the pane, and inside that pane there is another toggle offering the option to close the pane, but using that causes the primary toggle to add the "active" class to the main toggle when the pane is actually closed.
I'm really new to jQuery and I'm looking for what I imagine would be a simple task.
I have an unordered list (ul#garment_selector) sitting in a div (div#program_scroller) and each of the list items has a link that I'd like to display an image and some text into a div on the same page. I don't want any fancy animations or anything like that, I just need to display an image and a related description/price into a new div, preferably without reloading. I have quite a few different lists of links and they change all the time so using an array to define the image/text is impractical for my needs.
<div id="load_pane"></div> // load image/text here
<li><a href="images/ballcap.jpg" title="fitted ball cap // $8.99">Baseball Cap</a></li>
<li>.... etc ... </li>
</ul>
</div>
I've looked at some photo gallery tutorials as they would seem best suited to my needs but I really don't know my way around js too much. Can someone help me out?