dropdown
+2
Luky
sdabme
6 posters
Page 1 of 1
dropdown
any one know how to make a drop down menu if so please tell
sdabme- New Member
- Posts : 21
Reputation : 0
Language : english
Re: dropdown
Here is the HTML to make a drop down menu:
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.
- 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- Energetic
- Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania
Re: dropdown
HOW TO ADD LINKS TO THESE DROP DOWNS??
DarkLord- Forumember
- Posts : 196
Reputation : 0
Language : English,Html,CSS,php,java
Location : India
Re: dropdown
yea lucky can u give us an example how to insert drop down menu with links
sdabme- New Member
- Posts : 21
Reputation : 0
Language : english
Re: dropdown
Insert in your homepage message or portalyea lucky can u give us an example how to insert drop down menu with links
- 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- Forumember
- Posts : 70
Reputation : 0
Language : Vietnamese, English
Location : Ha Noi
Re: dropdown
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.
coz i tried this codes,and it makes a long line above my chatbox.
Re: dropdown
You could add this code in the portal by making a custom block.
Luky- Energetic
- Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania
Re: dropdown
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- Forumember
- Posts : 83
Reputation : 10
Language : Macedonian
Re: dropdown
To make a link open in another window you can use this codefinal fantasy wrote:how to make the link open in a pop up window?
- Code:
<a href="page link here" target="_blank">Page name here</a>
Luky- Energetic
- Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum