Hi I'm using the jquery ui accordion. I've been trying to figure out how to (in addition to the usual accordion function) if I click an outside link it'll act as an anchor tag and also slide the div up show the content?
<script type="text/javascript" src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="http://jqueryui.com/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="http://jqueryui.com/ui/jquery.ui.accordion.js"></script>
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
autoHeight: false,
navigation: true
});
});
</script>
<a href="#1">slide 1</a>
<a href="#2">slide 2</a>
<a href="#3">slide 3</a>
<div id="accordion">
<h3><a href="#" name="1">1</a></h3>
<div>text here</div>
<h3><a href="#" name="2">2</a></h3>
<div>text here</div>
<h3><a href="#" name="3">3</a></h3>
<div>text here</div>
</div>