Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1580 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Dropdown list provides link

Thread title: Dropdown list provides link
Reply    
    Thread tools Search this thread Display Modes  
11-29-2010, 06:50 PM
#1
scrappy is offline scrappy
scrappy's Avatar
Status: Member
Join date: Aug 2006
Location: Newcastle upon Tyne
Expertise:
Software:
 
Posts: 172
iTrader: 1 / 100%
 

scrappy is on a distinguished road

Send a message via MSN to scrappy

  Old  Dropdown list provides link

Ok, so I am trying to create something on a form I am rolling out at work.

What I am trying to do is have a drop down list which displays file names. When a file is selected a link will be provided in a large text box to the right of the drop down.

Does anyone know how to do this?

Reply With Quote
12-01-2010, 05:02 AM
#2
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old

Sounds like a javascript thing. Try looking through w3schools javascript stuff, you should be able to find something there as this sound simple enough. Though, I'm no javascript guy.

Reply With Quote
12-10-2010, 06:11 AM
#3
Morning is offline Morning
Status: Junior Member
Join date: Nov 2010
Location: Alabama, USA
Expertise: web design, writing, proofread
Software: HomeSite, Paint Shop Pro
 
Posts: 50
iTrader: 0 / 0%
 

Morning is an unknown quantity at this point

  Old

I think it is *theoretically* possible to do it with CSS coding, but it would probably be easier to do in javascript, like insub2 said.

Reply With Quote
12-10-2010, 06:15 AM
#4
mohitindia is offline mohitindia
Status: Junior Member
Join date: Aug 2010
Location:
Expertise:
Software:
 
Posts: 89
iTrader: 0 / 0%
 

mohitindia is on a distinguished road

  Old

Try this:- Add your own links and information ie. colour, font, font size, form name and menu name. If you use the colour tags,

<form
method="post" name="nameform"> <font color="#9933CC"
size="2" face="Times New Roman"><select name="tanyasmenu"
size="1" style="BACKGROUND: #cc99ff; BORDER-BOTTOM: outset; BORDER-LEFT:
outset; BORDER-RIGHT: outset; BORDER-TOP: outset; COLOR: #0066FF; FONT-FAMILY:
Times New Roman; FONT-SIZE: 12px"> <option selected value="http://hypergurl.com">Hypergurl</option>
<option value="http://hypergurl.com/directory.html">Directory</option>
<option value="http://hypergurl.com/design.html">Design</option>
</select> <input type="button" value="Go" onclick="location
= document.nameform.tanyasmenu.options [document.nameform.tanyasmenu.selectedIndex].value;"
style="BACKGROUND: #cc99ff; COLOR: #0066FF; FONT-FAMILY: Times New Roman;
FONT-SIZE: 12px"> </form>

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed