HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

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 ASP Free Forums Sponsor:
  #1  
Old August 19th, 2004, 01:47 PM
imthewuman imthewuman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 20 imthewuman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Font color change from drop-down selection

How can I change the font color when a user selects a specific color from a drop down menu on a form and have it write to a table within the form? Attached is the file. Any help is greatly appreciated.
Attached Files
File Type: txt designittest2.txt (19.1 KB, 255 views)

Reply With Quote
  #2  
Old August 19th, 2004, 10:58 PM
coinhunter's Avatar
coinhunter coinhunter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Battle Creek, Michigan
Posts: 352 coinhunter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 sec
Reputation Power: 5
Send a message via Yahoo to coinhunter
Good news!

I got this working for ya! See the attachment code.

All I did was add in a Select Case and based on the color choosen from your drop down menu, set the color code accordingly, such as: "#ff0000"

You can use the same technique for font face as well, such as: Arial, Times, etc.

Hope it relieves some grief for ya.

Note: You'll need to uncomment the parts that I commented out in order to test this out. The parts were: the email portion, the database connection string, and the execute sql.
Attached Files
File Type: txt designittest2.txt (19.4 KB, 528 views)

Reply With Quote
  #3  
Old August 25th, 2004, 08:55 PM
imthewuman imthewuman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 20 imthewuman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by coinhunter
Good news!

I got this working for ya! See the attachment code.

All I did was add in a Select Case and based on the color choosen from your drop down menu, set the color code accordingly, such as: "#ff0000"

You can use the same technique for font face as well, such as: Arial, Times, etc.

Hope it relieves some grief for ya.

Note: You'll need to uncomment the parts that I commented out in order to test this out. The parts were: the email portion, the database connection string, and the execute sql.


Thanks. I got it to work as well. Appreciate the help.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Font color change from drop-down selection


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