Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 03-18-2005, 12:00 PM
imaginemn's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 02-18-04
Location: Brownsville, Texas
Posts: 1,356
iTrader: 0 / 0%
CSS on SELECT dropdown MENU item

Is there a way to change the dropdown color on a FORM SELECT? I know you can alter the background and text color inside the SELECT list but I really need to modify the scrollbar/dropdown.

I thought there was a way but can't remember if you actually can.

Thanks,
imaginemn
__________________
Brownsville Web Design , McAllen Website Design, Harlingen Web Design
Website Design | Web Development | eCommerce | Search Engine Optimization (SEO)
 
Reply With Quote
  #2 (permalink)  
Old 03-18-2005, 04:48 PM
PaulC's Avatar
Member
Latest Blog:
None

 
Join Date: 03-06-05
Location: Australia
Posts: 31
iTrader: 0 / 0%
This may be of use:

http://www.websitetips.com/info/css/...rs.shtml#forms
__________________
SearchBuster Directory
 
Reply With Quote
  #3 (permalink)  
Old 03-18-2005, 05:02 PM
imaginemn's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 02-18-04
Location: Brownsville, Texas
Posts: 1,356
iTrader: 0 / 0%
Thanks Paul I appreciate the time you took to point this out, but what I was looking for was a way to do the select list box not the textarea. I don't think there is a way to do this on a select list box.

imaginemn
__________________
Brownsville Web Design , McAllen Website Design, Harlingen Web Design
Website Design | Web Development | eCommerce | Search Engine Optimization (SEO)
 
Reply With Quote
  #4 (permalink)  
Old 03-18-2005, 05:45 PM
No Longer Here
Latest Blog:
None

 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Quote:
Originally Posted by imaginemn
Thanks Paul I appreciate the time you took to point this out, but what I was looking for was a way to do the select list box not the textarea. I don't think there is a way to do this on a select list box.

imaginemn
Can't you just apply that to a dropdown instead of a textarea? (put the class on the dropdown)
 
Reply With Quote
  #5 (permalink)  
Old 03-18-2005, 05:49 PM
PaulC's Avatar
Member
Latest Blog:
None

 
Join Date: 03-06-05
Location: Australia
Posts: 31
iTrader: 0 / 0%
Thats what I had in mind. Not sure if it will work though.
__________________
SearchBuster Directory
 
Reply With Quote
  #6 (permalink)  
Old 03-18-2005, 06:40 PM
imaginemn's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 02-18-04
Location: Brownsville, Texas
Posts: 1,356
iTrader: 0 / 0%
Quote:
Originally Posted by Jazzee
Can't you just apply that to a dropdown instead of a textarea? (put the class on the dropdown)
I've tried it. I have a feeling that it's just something I am unable to do. For some reason you can do it on all the form elements but SELECT. They either forgot to allow this or just want to mess with programmers.

imaginemn
__________________
Brownsville Web Design , McAllen Website Design, Harlingen Web Design
Website Design | Web Development | eCommerce | Search Engine Optimization (SEO)
 
Reply With Quote
  #7 (permalink)  
Old 03-18-2005, 07:01 PM
No Longer Here
Latest Blog:
None

 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Quote:
Originally Posted by imaginemn
I've tried it. I have a feeling that it's just something I am unable to do. For some reason you can do it on all the form elements but SELECT. They either forgot to allow this or just want to mess with programmers.

imaginemn
You've probably thought of this, but I'll say it just in case. Maybe it's something that only works in certain browsers?
 
Reply With Quote
  #8 (permalink)  
Old 03-18-2005, 07:41 PM
DaveyBoy's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England.
Posts: 3,886
iTrader: 0 / 0%
I've tried soooo many times to style a list box, seems to be impossible.
 
Reply With Quote
  #9 (permalink)  
Old 03-18-2005, 07:47 PM
TeKBuzz's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 11-12-03
Location: Ohio
Posts: 377
iTrader: 0 / 0%
I know its off topic but davey boy the first link in your sig... its a bit off...

edit: guess I should mention that's in mozilla firefox

PS sorry to interrupt the thread, continue as if I didn't post >.<
Attached Thumbnails
CSS on SELECT dropdown MENU item-untitled-3.gif  
__________________
Juggalo Forums ~ A true juggalo community come to life.
TekBuzz ~ Under Construction
Crystal Ball Developing ~ Under Construction
 
Reply With Quote
  #10 (permalink)  
Old 03-18-2005, 07:50 PM
DaveyBoy's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England.
Posts: 3,886
iTrader: 0 / 0%
hehe, yeah i know, it's a bit messed in firefox - sometimes that renders ok, sometimes not - don't get it.

[/end of off topic]
 
Reply With Quote
  #11 (permalink)  
Old 03-18-2005, 09:00 PM
PaulC's Avatar
Member
Latest Blog:
None

 
Join Date: 03-06-05
Location: Australia
Posts: 31
iTrader: 0 / 0%
Pulled this from a mailing list, not much help but gives a little insight.

"Unfortunately, the <select> is a very different animal. Since
it's technically a windows object and not native to the browser, it
follows very different rules (you may have noticed other limitations in
your attempts to bend it to your will)."

Followed by this:

"I haven't been able to alter/control the colors of the scrollbar
of a <select multiple> form input. Have played with the main
browser window scrollbar, textarea form inputs, etc. but haven't been
able to do this, or find any doc/examples that do this with
a multiple select input."
__________________
SearchBuster Directory
 
Reply With Quote
  #12 (permalink)  
Old 03-21-2005, 03:59 PM
pinkfluffybunny's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 05-18-04
Location: Florida
Posts: 1,586
iTrader: 0 / 0%
Limitations depending on browser

It can be done - BUT http://www.456bereastreet.com/lab/fo...lect_multiple/

Last edited by pinkfluffybunny; 03-21-2005 at 04:01 PM. Reason: Wanted title
 
Reply With Quote
  #13 (permalink)  
Old 03-22-2005, 03:26 PM
pinkfluffybunny's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 05-18-04
Location: Florida
Posts: 1,586
iTrader: 0 / 0%
Sorry for not mentioning this - If you just gotta have it your way

Do a flash form - http://www.flashkit.com/tutorials/Dy...F-15/index.php
 
Reply With Quote
  #14 (permalink)  
Old 03-22-2005, 04:17 PM
imaginemn's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 02-18-04
Location: Brownsville, Texas
Posts: 1,356
iTrader: 0 / 0%
Thanks for the links. But it looks like what the client wanted it cannot be done. It's a heavily used site to have flash for multiple dropdowns. Client is now ok not having colored drop downs. What I needed to be colored was the actual scroll like the textarea but it just can't be done. If's for an intranet 100% IE users.

They'll just have to live without it. Thank you pinkfluffybunny for taking the time to find the links and everyone else for the additional comments.

I did find a way to simulate it using DHTML but it was not worth it.

imaginemn
__________________
Brownsville Web Design , McAllen Website Design, Harlingen Web Design
Website Design | Web Development | eCommerce | Search Engine Optimization (SEO)
 
Reply With Quote
  #15 (permalink)  
Old 03-26-2005, 11:29 AM
pinkfluffybunny's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 05-18-04
Location: Florida
Posts: 1,586
iTrader: 0 / 0%
Here are some pre-made

Here are some pre-made

To get the links to popup in a new window use this script

Create the movie in Flash:

Assign the getURL action to a button or keyframe.
For the URL, insert the code below, copying the information exactly.

Custom values for the URL, dimensions, toolbars, and scrollbars can by used, but creating a basic working example using this code first is recommended.
javascriptpenNewWindow('http://www.macromedia.com','thewin',
'height=400,width=400,toolbar=no,scrollbars=yes')


The above code can be pasted into the URL window. The above two lines must be copied separately, then pasted together into one single string of characters.
Publish the Flash movie and HTML page using the "Flash Only (Default)" HTML Template.
Part Two: Add the JavaScript to the HTML page

Open the published HTML from part one for editing using Notepad, Simple Text, or an HTML editor such as Macromedia Dreamweaver.
Copy the following code, exactly as it appears below:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>


Paste the code between the HEAD tags in the HTML source.

the face you see in the code should look like this with no spaces : o
Attached Files
File Type: zip Listbox-Pipey-271.zip (8.8 KB, 1396 views)
File Type: zip ComboBox-Pipey-272.zip (10.3 KB, 1007 views)
File Type: zip select-s-Toyin_Ak-624.zip (28.9 KB, 1409 views)

Last edited by pinkfluffybunny; 03-26-2005 at 11:50 AM.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown Menu Help Needed.. Please :) amyintexas Coding Forum 3 06-13-2007 10:30 PM
Dropdown menu issues Foxtrck Coding Forum 0 04-01-2007 06:35 AM
CSS Dropdown Menu, need some help... :( Klaas Koopman Coding Forum 9 11-30-2006 03:50 PM
Are dropdown menu keywords considered? real_estates_bro SEO Forum 5 08-31-2004 07:26 PM
Problem with Dropdown menu AND CSS pachrist Coding Forum 1 06-03-2004 05:24 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:17 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.