Dropdown menu to link to webpage |
Dropdown menu to link to webpage |
jess1972 |
Mar 11 2020, 11:18 AM
Post
#1
|
Group: Members Posts: 1 Joined: 11-March 20 Member No.: 27,226 |
Hi all
I'm looking for a way for users to select options from a list and click a select button. Each option would direct to an individual website. Does anyone know of a plugin for this, or an easy was to code it? I can get to the point of displaying the selections in the dropdown menu with a submit button, but not sure where to put the webpage links for each options. Thanks for the help Jess |
CharlesEF |
Mar 11 2020, 02:19 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Since you posted no code, all I can do is give general advise. You can put an anchor tag (< a >) inside the < li > tag. Like this:
CODE <ul><li><a href="http://example.com">Example.com</a></li></ul> |
pandy |
Mar 11 2020, 04:15 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Unless it's a form drop-down jess means? Click a button sort of implies that.
A little explanation is needed, I think. |
CharlesEF |
Mar 11 2020, 04:47 PM
Post
#4
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
|
Lo-Fi Version | Time is now: 26th April 2024 - 03:55 AM |