2
我如何控制與外部錨或按鈕的jQuery UI手風琴?我怎樣才能控制jQuery UI手風琴與外部錨或按鈕
假設我用:
<script>
$function(){
$("#accordion").accordion({
header: "h3",
autoHeight: false,
navigation: true
});
});
</script>
有了這個HTML:
<div id="accordion">
<div>
<h3><a href="#"><b>tab1</b></a></h3>
<div>
<p>Some text here 1</p>
</div>
</div>
<div>
<h3><a href="#"><b>tab 2</b></a></h3>
<div>
<p>some text here 2</p>
</div>
</div>
</div>
如何控制或觸發或外部錨或按鈕來打開這些?
嗨..它不爲我工作:S ..我仍然在尋找答案:S .. – 2011-10-07 00:24:25