-1

我正在 jquery 中研究手风琴,单击 li 它将导航并且手风琴也将关闭。我希望手风琴在导航上保持打开状态。我将如何做到这一点请帮助我

4

1 回答 1

0

One way you could do it is to create a cookie using javascript that stores the open/close state of the accordion. On load of the page you are navigating to, check the value of that cookie and open the accordion as needed.

Maybe not the best way, but it should work.

于 2013-06-06T12:01:42.527 回答