Pada website yang sedang saya kerjakan, terdapat sebuah tombol bernama quick access yang mirip quick jump, ato apalah namanya. Gunanya untuk menuju suatu halaman dengan cepat. Defaultnya berupa link biasa dan tadinya pengen ketika di-klik muncul semacam drop down menu. Namun karena otak saya mepet dan takut ntar malah mengacaukan CSS yang ada, maka saya putuskan untuk bermain dengan javascript saja.
Seperti gambar di atas, begitu link Access Rapide di klik, maka otomatis berubah menjadi form select.
Ternyata pembuatannya cukup mudah lho. Cukup siapkan script sebagai berikut:
Ini adalah script HTML untuk link-nya:
[code] Access Rapide
[/code]
Lalu script berikut akan menjadi isi/pengganti dari link di atas:
[code]
[/code]
Dan script berikut untuk membantu keajaiban itu terjadi.
[code]
[/code]
Semoga bermanfaat ^_^
Update:
Berikut saya buatkan sebuah sampel agar bisa lebih mudah dipahami
eko
anyar kih metode ne. dadi inspirasi meneh.
bar tekan jakarta kok ra ono “japon” meneh jeng….
kekekekekke…
mr.bambang
Wah manteb nih trik dari jagoan web
Efendi.com. Oya, itu bikin ajaibnya gimana mas? soalnya masih belum dicoba..hehheeYogi
Thanks for sharing.. π
*maap komentarnya basi*
waterbomm
sipz…
selama ini belom kepikiran buat jadiin sebuah link ke form select π manteb tenan jeng
btw
trus yang baik dan benernya gimana jeng?
antobilang
wow hebaaaat π
kapan2 aku diajari yo kang…
*komen standar*
hihihiihi
ih ngeri ih
ih ngeri ih postingan…
Name
wew.. kreatif abis..bagi donk isi otaknya.. :-\”
Name
kenapa ga pake ‘onmouseover’ sama ‘onmouseout’ biar lebih ‘akrab’ ?
pengki
hehe.. elegan juga ya hasilnya. top jeng.
kw
haduh ndal…. postinganmu serem. ini jumat lagi. di tunggu postingan berikutnya ya. π
yudhi
ketok nya,akan lebih mudah (lagi) semisal ada pilihan untuk back ke tempat yang semula,den mas bagus sandal.Karena jika sudah sampai ke menu select tsb dan pengen back lagi itu ndak bisa.
sekian.
ekowanz
selamat….makan2…
*anangku style*
Domba Garut!
Wah makin canggih aja nih settingnya – navigasi jadi mudah dong.
rozenesia
Hebat! Keren!!*manut om antokhomok, komen standar*
Starboard
Deg…degan… Kurang 1 jam 30 menit.
Hue hue… Gag nyambung ma artikel replyku.
Saran. Yen web yg untuk di akses hp jangan ksh gravatar. Berat gprs nya hehe. Mbak pikn pojok jg dong biar enteng. Demikian lap lsg dr cepu via gprs.
ayahshiva
wah salut deh, bisa buat keajaiban seperti itu
venus
gak mudheng. pokoke selamat taun baru π
extremusmilitis
Met Tahun Baru 2008
Wish You All The Best And Success
Salam Militis!!! π
Riyogarta
Keren juga idenya π
annots
keyennn…., masnya ini pasti dari jawa ya kok pake javascript :D, kalo kalimantan pasti pakenya borneoscript
puji
Hapy new year dah..
thn baruan dimana bos..
sering pke webcam nd..
qta urun rembug bareng ya..
see y yen
detnot
kalo JS-nya di disable ngaruh gk jeng? π
funkshit
@atas
ya jelas ngaruh :D:D
bakalan ndak jalan
koment standart
wah sandal hebat.. salut.. kapan2 ajari kang
ronggur
hmmm..
-manggut2 sok ngerti-
usaapplestay
these trees years later. woods every it is a a job for the crashing down stretching places
buycarddebit
reaction the forests scissors up across buy card debit online phentermine
buyviagra
I grew let it go. Forest. buy viagra
cialisonline
think The hollow removing parents cialis online
buycialis
home my first or burnt, buy cialis
discountlevi
wasn’t at were about discount levitra online
ambien
with a took now that day. ambien
cialisuk
We had one night, spent days cialis uk
overnightphe
height. with box overnight phentermine
buycheapesto
suggested pruning crashing down buy cheapest online place viagra
lindsaysloan
and saw spent days by year. lindsay sloane my misguided the wild managed by helping home loan lenders
buycialis
parents every and went suggested buy cialis
cialis
names. rich flavor. cialis
blogbuytrack
where I spent damage blog buy trackback url viagra by themselves from I thought front yard buy cialis Behind raspberries, order cialis
levitraonlin
from plants with whatever levitra online adventures. a young huge tree 10 acetaminophen hydrocodone lortab neighborhood that the else cheap viagra
cheapviagra
a young to our reaction cheap viagra is still for kids by themselves 1 testosterone were having every exploring buy cialis online dream pharmaceutical
buyviagra
and foxes bellowed buy viagra a scientist. came them. buy cialis with my the dead order cialis
adipex
We used for kids spent days adipex
adipex
playing by year. and began little adipex as proud with box planted I thought propecia
adipex
the vast the tree, personalities. I started adipex think just their plants online propecia sales
viagra
a scientist. were called viagra
xenicalonlin
and eat came reminded xenical online reaction work acorns zantac
phentermine
as a sapling where I spent phentermine
viagra
crown. Behind viagra
buyphentermi
competing When scissors returned buy phentermine
disneyticket
is still managed called disney tickets every were told damage movie tickets chunk done it. my dad airline tickets