Is it possible to turn the title of an accordion into a button without it looking like a button? Here is an image of the accordion title and some accompanying data. I want to be able to click on the text in the title to navigate to another page. I am working with PhoneGap/Cordova v1.9, Visual Studio 2010 Express for Windows Phone, HTML, CSS, JavaScript (C#). Any assistance would be greatly appreciated :) I am open to using solutions that involve jQuery as well.
The title is inboxentry1 POS556445. The accordion is constructed using a series of stacked div elements. Let me know if there are any additional details needed to help find a solution! Below is the HTML code for the accordion:
<div id="AccordionContainer" class="AccordionContainer"></div>
<div onclick="runAccordion(1)">
<div class="Accordiontitle" onselectstart="return false;">
<input type="button" href="ItemPages.html">inbox entry1</input>
<br/>
<a>POS556446x</a>
</div>
</div>
<div id="Accordion1Content" class="AccordionContent" style="background-color:white; color:grey;">
[Content within the Accordion]
</div>
Below is my .js file with the necessary functions to handle the accordion animations.
var ContentHeight = 200;
var TimeToSlide = 250.0;
var openAccordion = '';
[Functions for Animating Accordion]