Lencana Facebook
About Me
DONATE
Pengikut
My Shout Box
BUKU WAJIB ANDA
DONATE
Minggu, 23 Mei 2010
Cara membuat Link “Back Top Page”
19.56 | Diposting oleh
zappra |
Edit Entri
Top Page
Bagi para netter newbie seperti saya, membuat link “Back Top Page” dalam sebuah dokumen yang berukuran besar, cukup membingungkan, bahkan ada yang belum tahu, malah.
Sebenarnya script untuk membuat link tersebut sangatlah sederhana;
Selamat mencoba, semoga bermanfaat!
For the netter newbie like me, create a link "Top Back Page" in a large document, a bit confusing, and some even do not know, actually.
Actually a script to create these links is very simple;
Cara membuat Link “Back Top Page”
Bagi para netter newbie seperti saya, membuat link “Back Top Page” dalam sebuah dokumen yang berukuran besar, cukup membingungkan, bahkan ada yang belum tahu, malah.
Sebenarnya script untuk membuat link tersebut sangatlah sederhana;
- Buatlah Anchor/Jangkar pada baris paling atas dalam format HTML <a name="nama_anchor"></a> . Anchor ini merupakan tujuan/destination yang akan direfer/dibaca oleh link yang ada di bagian akhir/bawah dokumen kita. “nama_anchor” merupakan nilai/label dan bisa diganti misalnya dengan “pagetop” sehingga scriptnya menjadi <a name="pagetop"></a> .
- Kemudian pada bagian bawah dokumen kita buatkan sebuah link untuk mengarahkan ke alamat anchor tersebut pada saat linknya di-klik. Link yang kita simpan pada bagian bawah dokumen tersebut adalah “<a href="#pagetop">To top of page</a>.
- Perhatikan bahwa tujuan link tersebut harus ditulis sama dengan nama yang telah kita definisikan pada script bagian atas halaman dokumen kita.
- Yang harus diperhatikan adalah pada saat kita menuliskan script pada dokumen tersebut editor kita dalam “HTML Mode”, bukan dalam WYSIWYG atau Rich Text,
Selamat mencoba, semoga bermanfaat!
How to create a link "Top Back Page"
For the netter newbie like me, create a link "Top Back Page" in a large document, a bit confusing, and some even do not know, actually.
Actually a script to create these links is very simple;
- Make Anchor / Anchor at the top line in HTML format <a name="anchorname"> </ a>. Anchor is a destination / destination that will be referenced / read by the link in the end / bottom of our document. "anchorname" is a value / label and may be substituted for example with "pagetop" so the script becomes <a name="pagetop"> </ a>.
- Then in the bottom of the document we have made a link to an anchor point to the address at the time the link is clicked. We store the link at bottom of the document is <a href="#pagetop"> To top of page </ a>.
- Note that the link destination should be written identic/same with the names we have defined at the top of the top page document scripts .
- What should be noted is that when we write a script editor on the document we are in "HTML Mode", not in WYSIWYG or Rich Text,
Well apparently not simple enough? for example, in this note I show the direct utilization of the link, but remember this document is small, then the effect is not so pronounced. It would be more useful if our document in large sizes, so we're not tired of rolling up the screen with a scrolling mouse.
Good luck, hopefully useful!
Langganan:
Posting Komentar (Atom)
Viscount
Powered by smartdegrees.com website. |
2 komentar:
wah mantab nih artikelnya...thanks
Oh jadi gitu ya caranya. baru tau ane. thanks infonya.
Posting Komentar