我怎樣寫這個紡織(我用redcloth寶石)紡織品問題:redcloth錨鏈接
<a href="#tips">Visit the Useful Tips Section</a>
<a name="tips">Useful Tips Section</a>
我知道的第一部分,"Visit the Useful Tips Section":#tips
但如何使命名錨?
謝謝!
Deb
我怎樣寫這個紡織(我用redcloth寶石)紡織品問題:redcloth錨鏈接
<a href="#tips">Visit the Useful Tips Section</a>
<a name="tips">Useful Tips Section</a>
我知道的第一部分,"Visit the Useful Tips Section":#tips
但如何使命名錨?
謝謝!
Deb
h1(#tips)有用的提示部分。 - 達到同樣的效果(有一些CSS)
的textile manual似乎表明,沒有辦法比只使用直HTML這樣做其它:
<a name="tips"></a>
<h1>Useful Tips Section</h1>
的回答表明:
h1(#tips). Useful Tips Section
是不正確,因爲它會產生:
<h1 id="tips">Useful Tips Section</h1>
我不是一個有名的錨。但是,您可以使用一些Javascript來完成這項工作。
我認爲你需要附上這個在一個notextile聲明:
h1(#tips)實用技巧部分。 - 實現相同的效果(用一些CSS),但並沒有真正回答這個問題。 – 2010-08-18 00:55:30
感謝諾埃爾,這對我來說足夠了:) – deb 2010-08-18 01:12:24
嗨,noel,你想添加你的評論作爲答案,所以我可以接受它嗎? :) – deb 2011-05-05 13:54:01