Welcome to WebmasterWorld Guest from 50.17.117.221

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

I was wondering if anyone could help me please

A drop down menu

     
10:02 pm on Apr 15, 2009 (gmt 0)

New User

5+ Year Member

joined:Apr 15, 2009
posts: 3
votes: 0


I am new to website design and use a program called xsite pro which help in creating websites.

I am trying to creat a drop down box like the one on [snip] I was just wondering if anyone could tell me where I can get the code from.

Ideally I would like the dropdown to contain 3 subject and also open up in a new page when the user clicks on go.

Thanks for your help in advance.

Richard

[edited by: brotherhood_of_LAN at 2:32 am (utc) on April 16, 2009]
[edit reason] Please review the terms of service and forum charter regarding URLs, thanks [/edit]

10:54 am on Apr 16, 2009 (gmt 0)

Preferred Member

10+ Year Member

joined:July 13, 2005
posts:418
votes: 0


Welcome :)

Try a google search for 'drop down vertical menu'

Good luck!

2:19 am on Apr 17, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 12, 2003
posts:1199
votes: 0


Also, might I suggest that you use a descriptive title for the subject of your post? "I was wondering if anyone could help me please" doesn't really give any clue as to what your post is about. Most people here are looking for help. A good title is the question you have itself. Good luck.
11:53 am on Apr 17, 2009 (gmt 0)

New User

5+ Year Member

joined:Apr 15, 2009
posts: 3
votes: 0


Sorry guys and girls for the school boy error, I posted a url to the type of pull down menu it is one where I could have subject such as " business, category and a go button which will take the user to a specified page.

Please forgive me for my ignornace as I stated I am new to web designer and I am learning as I go along.

Thanks

3:57 pm on Apr 17, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Welcome aboard Richie5,

I posted a url to the type of pull down menu it is one where I could have subject such as " business, category and a go button which will take the user to a specified page.

There are two fairly easy ways to do this, and a third with consequences.

The third first: you can copy or locate a free Javascript or server-side code to do this for you (Google: "jump menu") but the problem here is like someone who knows nothing about cars and is stuck by the side of the road with the hood open. When something goes wrong, you won't know how to fix it.

The first and easiest solution is to build a Javascript Jump Menu. Javascript is fairly easy to pick up, one resource to learn it: W3 Schools Javascript section [w3schools.com]

The consequence: If Javascript is disabled, it won't work, rendering those controls inaccessible to some users.

The second and more "solid" solution is the same thing, but so that your jump menu actually submits to a server-side program that does the "jumping." This eliminates the above problem, but now the issue is you have to learn how to create server side programming - not as scary as it sounds. W3 Schools PHP tutorials [w3schools.com]

The best solution: do both, and build your Javascript so that if it's not functioning, it defaults to the server side scripting to do the menu jump. But that's a topic for another day . . . explore the above, see where it leads you.

9:49 pm on Apr 17, 2009 (gmt 0)

New User

5+ Year Member

joined:Apr 15, 2009
posts: 3
votes: 0


Thanks for that matey, really appreciated