Accordion plugin - Making headers link to seperate pages

Accordion plugin - Making headers link to seperate pages

I actually have two issues I'm having, but I'll start with the first.

1. I'm using the accordion plugin for a sub nav and that sub nav is being generated dynamically, so editing the html is out, but I want it so when you click on the header that drops down the menu it goes to a page. Right now it just is set to work like any accordion, when you click it, it just activates the accordion effect to showcase what's within. For example my accordion has this structure:

  1. <div id="accordion">
  2.       <p><a href="/about.html">header link</a></p>
  3.       <div>
  4.             <ul>
  5.                   <li><a href="#">test</li>
  6.                   <li><a href="#">test</a></li>
  7.             </ul>
  8.       </div>
  9. </div>
I want it so when you click on "header link" in the example above, it goes to that about.html page as well as showing that sub menu underneath it. Is this possible? I read a post similar to this one where some solutions were using either ajax or using the cookies plugin. I'm not familiar with either and it seems complicated to me when I want something rather simple. Don't know if there is an easy solution for this.

2. This also involves using the accordion plugin. I'm not sure how to articulate this well enough so I'll just write what I want to use it for. I have a graphic on a page called, "audio" that clicks to an audio product page, but when it clicks to that audio page, I want the subnav menu next to that which contains the accordion to drop down the menu when I click on that graphic and go to that page. Right now it just works so when I click on that graphic the subnav doesn't do anything unless I click on it to activate it. Is there an event or class I can give the graphic that can trigger a section of the accordion to drop when clicked on?

I'm new to jQuery, so this customization doesn't come easily to me. I'm not sure how difficult what I'm proposing might be, but any help with this would be very appreciated.