0
我使用這個jQuery插件連接到特定的錨表:如何使用jQuery
http://www.jankoatwarpspeed.com/post/2009/07/20/Expand-table-rows-with-jQuery-jExpand-plugin.aspx
我在代碼錨如:
<a name="art" id="art2"></a> Articles
我怎樣才能打開那麼特定的行呢?換句話說,當用戶點擊從其他頁面到這個登陸頁面的鏈接時,我想根據錨點標籤打開相應的行。
在此先感謝!
+ 1。但'.hash'包含「#」? – Joel 2010-04-29 19:58:25
@Joel - 是的,我相信在所有瀏覽器中都是一致的。 – 2010-04-29 20:00:06
我無法讓它工作。在這裏做了一個測試頁: http://www.libraries.uc.edu/tests/table_rows.html 這樣你的例子就是: http://www.libraries.uc.edu/tests/table_rows .html#art2 – LisaH 2010-04-29 20:08:40