The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

dropdown

+2
Luky
sdabme
6 posters

Go down

dropdown Empty dropdown

Post by sdabme December 15th 2007, 11:02 pm

any one know how to make a drop down menu if so please tell
avatar
sdabme
New Member

Posts : 21
Reputation : 0
Language : english

Back to top Go down

dropdown Empty Re: dropdown

Post by Luky December 15th 2007, 11:52 pm

Here is the HTML to make a drop down menu:
Code:
<html>
<body>

<form action="">
<select name="Example">
<option value="option 1">Option 1</option>
<option value="option 2">option 2</option>
<option value="option 3">option 3</option>
<option value="option 4">option 4</option>
</select>
</form>

</body>
</html>

Now simply replace "option 1,2,3,4" with the name of the options you would like the dropdown menu to have. Also note that you can add more options to it by adding another line that respects the same code.
Luky
Luky
Energetic

Male Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania

Back to top Go down

dropdown Empty Re: dropdown

Post by DarkLord December 16th 2007, 5:30 pm

HOW TO ADD LINKS TO THESE DROP DOWNS??
DarkLord
DarkLord
Forumember

Male Posts : 196
Reputation : 0
Language : English,Html,CSS,php,java
Location : India

Back to top Go down

dropdown Empty Re: dropdown

Post by sdabme January 4th 2008, 4:59 pm

yea lucky can u give us an example how to insert drop down menu with links
avatar
sdabme
New Member

Posts : 21
Reputation : 0
Language : english

Back to top Go down

dropdown Empty Re: dropdown

Post by hoangcun January 4th 2008, 5:55 pm

yea lucky can u give us an example how to insert drop down menu with links
Insert in your homepage message or portal

Code:
<select name="menu" onChange="location=this.options[this.selectedIndex].value;"  style="width: 100%; font-family:'Arial'; color:#000000; background-color:#F9F9F9;  font-size:10pt;"><option value=#>TITLE OF YOUR MENU</option><option value="http://your link at here/">Title you want at here</option><option value="http://your link at here/">Title you want at here</option><option value="http://your link at here/">Title you want at here</option><option value="http://your link at here/">Title you want at here</option><option value="http://your link at here/">Title you want at here</option></select>
hoangcun
hoangcun
Forumember

Male Posts : 70
Reputation : 0
Language : Vietnamese, English
Location : Ha Noi

Back to top Go down

dropdown Empty Re: dropdown

Post by final fantasy January 15th 2008, 5:58 pm

do you know a dropdown menu that can be put in the navigation bar?
coz i tried this codes,and it makes a long line above my chatbox.
final fantasy
final fantasy
Forumember

Male Posts : 49
Reputation : 0
Language : english/filipino/japanese
Location : japan

http://talkandlaugh.forumotion.com

Back to top Go down

dropdown Empty Re: dropdown

Post by Luky January 15th 2008, 5:59 pm

You could add this code in the portal by making a custom block.
Luky
Luky
Energetic

Male Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania

Back to top Go down

dropdown Empty Re: dropdown

Post by Koste January 15th 2008, 7:49 pm

DarkLord wrote:HOW TO ADD LINKS TO THESE DROP DOWNS??

Code:
<html>
<body>

<form name="Example">
<div align="center">
<select name="url" size="1" onChange="window.open(this.options[this.selectedIndex].value,'_top')">
<option selected>-Links-</option>
<option value="http://forumotion.com">Forumotion</option>
<option value="http://www.hitskin.com">Hitskin</option>
<option value="http://sosblog.com">Sos blog</option>
<option value="http://www.help.forumotion.com">Forumotion Help</option>
</select>
</div>
</ form>

</body>
</html>
Koste
Koste
Forumember

Male Posts : 83
Reputation : 10
Language : Macedonian

Back to top Go down

dropdown Empty Re: dropdown

Post by final fantasy January 17th 2008, 6:05 pm

let me ask again a question....
how to make the link open in a pop up window?
final fantasy
final fantasy
Forumember

Male Posts : 49
Reputation : 0
Language : english/filipino/japanese
Location : japan

http://talkandlaugh.forumotion.com

Back to top Go down

dropdown Empty Re: dropdown

Post by Luky January 17th 2008, 8:01 pm

final fantasy wrote:how to make the link open in a pop up window?
To make a link open in another window you can use this code
Code:
<a href="page link here" target="_blank">Page name here</a>
Luky
Luky
Energetic

Male Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum