HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 12th, 1999, 11:41 PM
kdarnold
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I'm kinda a newbie at html and I need some help. What I want on my page is a drop box with wave files listed in it and a submit button, which when pressed will play the wave listed. I can make the drop box, and I can make the submit button, but I can't make the two work together. Any help would be appreciated. Thanks

Reply With Quote
  #2  
Old July 21st, 1999, 12:32 PM
dmahoney
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
What are you using for the "action" field in the <form> tag? You'll need a CGI that knows how to build a proper URL for teh wav file you want when the submit button is pressed.

Reply With Quote
  #3  
Old August 23rd, 2000, 10:31 AM
awestmoreland awestmoreland is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: North Yorkshire, UK
Posts: 3 awestmoreland User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I modified a script originally intended for displaying graphics recently. It now runs registry commands to update the OGBC Sources on my PC.

Editing the file replacing the .reg file names with your music file names and altering the descriptions accordingly ought to do the job that you're after without using a submit button. i.e. as soon as the selection changes, the file is opened.

There are probably umpteen better ways of doing this and I'm not sure if how sturdy it is cross-browser (written for IE5) but take a look and see what you think:
http://members.fortunecity.com/awestmoreland1/ODBC_Data_Sources.txt

(The file has a .txt extention rather than .html so that my ISP doesn't insert an advert at the top of the file. It's a pain trying to strip the ad. code out when you're editing the file. Changing the extention will take you to the original page however.)

Hope this is of some use :-)

Andy

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Need help on drop boxes and submit buttons


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway