I have a nearly complete accordion that just needs some adjustments.
HTML CODE:
<footer>
<div>
<h1>Hide</h1>
<h1>Hide</h1>
<h1>Hide</h1>
<h1>Hide</h1>
<h1>Hide</h1>
<h1>Hide</h1>
<div>
</footer>
<h3><a href="" title="Open footer">Show</a></h3>
I need the
<h3><a href="" title="Open footer">Show</a></h3>
element to always remain at the top and change its text to Hide when clicked, toggling between SHOW/HIDE.
I am struggling to find a solution. The code can be found here: http://jsfiddle.net/FeGea/1