Create a link to another page already in teach here some time ago, that point to our own mengelink article in previous post, or create links to articles or blogs mlik others who we quoted his writings. Here we will discuss how to create links links point to the same page (top, middle, bottom, etc.). Examples such as "back up", etc.. This is especially useful for posting a very long reply, so that link-in-one-page memmepermudah navigation functions to the reader. Follow these steps:
1. Create ANCHORNAME like this <A NAME = "preliminary"> Write anything here or dikosongin aja </ A>
Place the anchor of this name anywhere you want to reply, for example, I put the anchor link is parallel to the word "Introduction" above. So like this
<A NAME="pendahuluan"> Introduction </ A>
Note: If ANCHORNAME placed parallel to the word "preliminary", the link will lead to the bottom the word "preliminary", if ANCHORNAME placed on it the word "preliminary", so when linkname clicked will lead exactly to the word "preliminary". For more details, please try your own.
2. Create a link name which is directed to the anchor link, here's the code:
<A Href="http://afatih.wordpress.com/2007/11/04/membuat-link-dalam-satu-halaman/#pendahuluan"> Return to top </ A>
No.2 Code will form links if clicked will lead to an anchor name that we specify. In my case the word "Introduction".
Take a look at the results, click the link below: Back to top
Note:
1. Anchor a distinguished name in the form of "preliminary" could be replaced dg other words who you like a mouthful to be the same dg link his name.
2. NAME LINK element is a permalink URL # linkname. So the url pointing to the permalink page / post the same. For example, this post is http://afatih.wordpress.com/2007/11/04/membuat-link-dalam-satu-halaman/ permalink
then it is linkname <A href = "http://afatih.wordpress.com/2007/11/04/membuat-link-dalam-satu-halaman/ # introduction"> Return to top </ A>
3. Another function of the link-in-one-page is to footnote, for those bloggers who make use footnotes dg scientific papers on the same page on his blog. In case this footnore, then ANCHOR NAME placed in footnotes, are LINKNAME put in the words of your writing which refers to a footnote. Examples of excellent scientific papers that use this method please see the article Martin van Burinessen ex-Dutch scholar and lecturer at UIN Sunan Kalijaga Ciputat-in here.
Uh let's test again, Back to top
In wordpress, "Recent Comments" sidebar on this blog is basically taking the concept ANCHORNAME - LINKNAME this.
Greetings blogging.
0 komentar:
Post a Comment