April 09, 2008

(33) Comments

How to Create Dropdown Menu

Kendhin

What is dropdown menu?
Dropdown menu is like this :



Here is the trick how to create dropdown menu :

Copy the code below and put it on your page elements.


<select onChange="document.location.href=this.options[this.selectedIndex].value;">
<option value="0" selected>Blog Archive</option>
<option value="Links 1">Text 1</option>
<option value="Links 2">Text 2</option>
</select>

The red text is links, change it with your links.
The blue text is Anchor text. Yau must change it.

For example :


<select onChange="document.location.href=this.options[this.selectedIndex].value;">
<option value="0" selected>Blog Archive</option>
<option value="http://trick-blog.blogspot.com/2008/02/tutorial-to-create-dtree-menu.htmll"> How to Create Dtree Menul </option>
<option value="http://trick-blog.blogspot.com/2008/01/how-to-create-search-engine-in-blogger.html"> How to Create Search Engine </option>
</select>

The result would be like this:



To add more menu/item, put a code like below

<option value="Links 3">Text 3</option>

before this code </select>

If you want the links opened in new window, change the code below

<select onChange="document.location.href=this.options[this.selectedIndex].value;">

with this code ::

<select onchange="javascript:window.open(this.options[this.selectedIndex].value);">

The resul would be like this:






Related Articles :



33 Responses to "How to Create Dropdown Menu"
Anonymous said :
August 21, 2008 at 10:28 AM
This is really helped me
Anonymous said :
September 8, 2008 at 2:57 AM
thaaaaank yooooooou im very happy to fund a solution of my problem in this web site XD

Thank You :)
Anonymous said :
September 15, 2008 at 10:14 AM
makasih ilmunya
Aldhis said :
October 3, 2008 at 2:22 PM
Hi, thx a lot for the drop down menu..
this really save my sidebar space... :)
Tessa said :
October 6, 2008 at 12:49 AM
Hi,

Thanks for this! I am wondering if you can change the width? i want to put it in my sidebar and i have 2 so the width is off. i know i can put in shorter link text- but this will not work for me. can a set size be put in the code?

Thanks
Tessa said :
October 7, 2008 at 2:34 AM
one more thing- when i try to change the code to open in a new window, it doesn't work. can you direct me on how i can do this?

thanks
Anonymous said :
November 7, 2008 at 2:18 AM
bagus
Anonymous said :
January 7, 2009 at 6:02 PM
nice article... i'll try this trick...
Anonymous said :
January 22, 2009 at 5:37 PM
Really explained well, hoping to read more from u.
Harish Kumar said :
January 28, 2009 at 7:58 PM
that is excellent way of creating dropdown menu.
I know about it but you explain in excellent way.
That will help in Website design.
Unknown said :
May 27, 2009 at 9:34 AM
Wow nice trick. ehem.. but it doesnt work in my log. I think I dont know where it should be pasted. Could you please help me out??
July 2, 2009 at 2:13 PM
:f

hloooo
thanks
Arafin said :
September 21, 2009 at 2:39 PM
For Exclusive Blogger Tips Tricks & Full Version Blogger Templates Visite

http://Tips-tricks-for-blogger.blogspot.com

U Will Be Surprise Check This Out Guys!
Arafin said :
September 21, 2009 at 2:39 PM
For Exclusive Blogger Tips Tricks & Full Version Blogger Templates Visite

http://Tips-tricks-for-blogger.blogspot.com

U Will Be Surprise Check This Out Guys!
Anonymous said :
July 3, 2010 at 8:36 AM
vuitton bags brings more surprise to almost everyone who wants to become the leader of fashion. vuitton handbag has three styles: the purple, the blue and green, black. vuitton handbags uses the bright colors contrast with the gold trim, which could make you become the focus at any occasion like Lady Gaga.
Unknown said :
July 4, 2010 at 12:10 PM
Hermes Birkin accoutrements are affectionate of bogus hermes bags
created by the aerial covering appurtenances architect Hermes. The birkin
has gone on to become one of the a lot of accepted cast of berkin bag
throughout the world.

Coach handbags
are a lesser-known brand that has been around for many years. Coach Bonnie
are so fashionable. Coach Wristlet
have long been noted for quality designs and modern simplicity. Another reason to wear Coach Ergo
is to give a younger looking appearance.
escort said :
August 16, 2010 at 12:11 AM
escort girls bayan eskort servisi web tasarımı, internet sitesi google optimizasyonueskort kızlar escort bayan escort girls. türkiyenin özel kızları sallama kelime kolleksiyonu burada türkiyenin eskort kızları bayan erkek eskort ilan istanbul ankara izmirköpek eğitimi ve bakımı Sohbet siteleri chat
islami evlilik siteleri bayan partner siteleri arıyorum en güzel kızlar bu sitede ücretsiz üyelik sistemi bayan arkadaşlar kız arkadaşlar arıyorum
bayan arama telekız hizmeti veren siteler car rental istanbul araç kiralama araba kiralama araç kiralama türkiyenin kızları en sexy kızlar bu sitede aradığınız kızı bulacaksınız. attım kafadan köfte kalıbı firmanıza uygun kalıp tasarımları türkiyenin en güzel kızları. biz www.bizdensor.com sinema dizi full sinema izle belgesel video clip play game çocuklar oyunu oyna erkek çocuk games deneme sallama mail escort kızlar plaket kristal plaket kokart rozet ahsap plaket kristal ödül madalya gümüş plaket yaka isimliği masa isimliği kupa plaket
zet ahsap plaket kristal ödül madalya gümüş plaket y266558998
erdem said :
March 11, 2011 at 10:07 AM
porno
video izle
escort said :
June 12, 2011 at 4:38 PM
Awesome blog Adam!! deneme linki I saw you all in Buffalo and the show was incredible,
tatil
the best ve ever seen and I t wait to see the show again in Rochester! so great to hear having a good time.
bayan escort
met you in Cleveland and you seemed so If things go my way, I'll be able to catch up with sohbet siteleri toptan mallar satış sitesi
toptan çorap satışı deneme
travesti ilanderteg deneme If you don't know how to spot the difference, just watch any of the Filipinas buying and you'll soon catch on.
jigolo sitesi Crab-sexers par excellence, it seems there's nothing these people aren't good at!
film izle
araç kiralama
tatil yerleri
islami oteller
otel isimleri

oteller

tur şirketleri
August 8, 2011 at 3:18 PM
Never would have thunk I would find this so indisepsnable. This atrcile keeps it real, no doubt.
Harendra said :
August 12, 2011 at 3:56 AM
Thank you , i will try it to ma blog :)
September 10, 2011 at 11:07 AM
Finally, an issue that I am passionate about. I have looked for information of this caliber for the last several hours. Your site is greatly appreciated. how to be a popular girl
wctube said :
September 18, 2011 at 10:30 PM
porn
porn watch
free porn
porno
erotic video
escort bayan
November 15, 2011 at 10:16 AM
I like the blog but one question why wouldn't you make the site a bit wider. Makes the text easier to read and sentences don't break of in 5 word lines. Swiss Gear Backpack | Cheap Purses | Replica Hermes
ebrucan said :
April 8, 2012 at 3:12 PM
Hello I am a newspaper columnist working with a very populer newspaper in my country. I was shearching somethings for my new article and I saw your web side, and I saw a lot of nice things and they helped me, I just wanted to say THANK YOU, Best wishes



escort bayan

antalya travestileri

travesti istanbul

travesti

escort bayan

escort bayan

escort bayan
Unknown said :
June 19, 2012 at 9:14 PM
Nice Information i really appreciate you on this remarkable achievement. There is lot of info that you have provided to others which is Awesome.
SEO Tip to Increase Traffic of Old Blog Posts
escort bayan said :
December 28, 2012 at 2:59 AM
Hello I am a newspaper columnist working with a very populer newspaper in my country. I was shearching somethings for my new article and I saw your web side, and I saw a lot of nice things and they helped me, I just wanted to say THANK YOU, Best wishes
Unknown said :
July 14, 2013 at 1:44 AM
Diamond Archery is the pioneer Kata Kata Bijak in the field of archery. With the wide product range like the bows, arrows and gears and appeals this company has made a visible growth in this field. The Marquis bow designed by Diamond Archery weighs 2 kilogram and is made up of Kata Kata Mutiara top quality aluminum. This bow is fully mechanized for better delivery. Their extremely sturdy and faultless risers slots Kata Kata Motivasi is one of its kind and the thumb groove gets the lets you get the arrow close to your hand thus minimizing upright torque and adding stability to Kata Bijak the game. Archery is the game that involves the shooting of arrows that is released from the bow and shot at a target. The closer you shoot the arrow to the targets, the more your score will be

When the bow is released, cutie stampers Vertical Force Technology (VFT) and the Pinnacle5 Cam, move the unequaled energy on the arrow. These bows are Informasi Online designed with Roller Guard/Shortstop string suppressor that holds the string of the bow thus absorbing the vibration of the string. Designed with excellence, the Black Ice Sumber bow of Diamond Archery is set at an angle of 53-degree to provide more stability and accuracy. This bow maintains Tali Kotang the balance and is installed with special features like Pinnacle4 cam that distributes the pressure equally thus adding stability to the game.

This also helps in minimizing the pressure that Blogger Ndeso is concentrated on the limbs. The arrow can be taken closer to the hand Bahasa Indonesia as these bows are designed with a thumb groove and lowered berger. Kopyor The smooth drawing feature of Liberty minimizes the pressure thus reducing the the shocks and the noises that can be caused during the game. Liberty bow is Bahasa Indonesia designed with Vertical Force Technology (VFT) that allows the equal distribution of the pressure in all the directions during the game.

Designed with the special feature of Freedom Cam, the justice bows a product of Diamond Archery, is designed to deliver smoothness and stability in Kumpulan Kata the game. This bow maintains the balance and distributes the pressure equally thus adding stability to the game. This also helps in minimizing the pressure that is concentrated on the limbs. The Edge bows by Diamond Archery, is designed for the beginners by adults Kata Cinta and children as well. This bow is the first of its kind, is featured with dual-cam bow, and are provided with single pivot mod to maximize the length of the shots.
Jensia said :
August 5, 2013 at 1:12 PM
I'm still learning from you, while I'm trying to reach my goals. I absolutely liked reading all that is written on your website.Keep the posts coming. I enjoyed it! Password software
Unknown said :
February 19, 2016 at 1:44 PM
Nice article you might have carried out below. My business is truly happy to see that. This is the incredibly helpful matter. keep that you're selected it up.Customer Services & Support
unkown said :
January 7, 2021 at 2:52 AM
i read your article it was very informative thanks for the post
Qurbaan Hua
Digixpert said :
August 5, 2021 at 2:30 PM
Really I enjoyed a lot after reading such informative blog post, good work. While traveling UK, For adult entertainment - Visit Shush escorts.

Middleton escort
Middlewich escort
Milnrow escort
Monton escort
Mossley escort

Post a Comment