User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,593 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,671 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1169 | Replies: 4
Reply
Join Date: Feb 2007
Location: St. Vincent and the Grenadines, Caribbean
Posts: 997
Reputation: scru is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 41
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Shark

Drop down list with images.

  #1  
Apr 24th, 2008
Hi.

I want to have a drop down list that display's images instead of text when it's active, but returns to text once the user selects it. I was wondering if someone more experienced in the DOM could give me some pointers.
Half and a half meck a whole, and I donned it a hundrid purcent
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 468
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 71
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: Drop down list with images.

  #2  
Apr 24th, 2008
Well it can't be done with a normal select box, you have to pretty much hack a bunch of divs and/or spans together to act like a select box. It's been done with a few AJAX autocomplete scripts that you can tear apart.
GCS d- s+:+ a-->? C++(++++) UL+++ P+>+++ L+++ !E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
Reply With Quote  
Join Date: Feb 2007
Location: St. Vincent and the Grenadines, Caribbean
Posts: 997
Reputation: scru is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 41
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Shark

Re: Drop down list with images.

  #3  
Apr 24th, 2008
Got any links?
Half and a half meck a whole, and I donned it a hundrid purcent
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 468
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 71
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: Drop down list with images.

  #4  
Apr 24th, 2008
Autocomplete sort of got blown to huge proportions so http://www.google.com/search?q=ajax+autocomplete should provide enough links.
GCS d- s+:+ a-->? C++(++++) UL+++ P+>+++ L+++ !E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
Reply With Quote  
Join Date: Feb 2007
Location: St. Vincent and the Grenadines, Caribbean
Posts: 997
Reputation: scru is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 41
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Shark

Re: Drop down list with images.

  #5  
Apr 24th, 2008
Not exactly what I was looking for, but i see what you mean. Is there a way i can pop up one of those when the user presses a select, but stop the select from dropping down? Or hise the drop down it makes. Thanks.
Last edited by scru : Apr 24th, 2008 at 5:21 pm.
Half and a half meck a whole, and I donned it a hundrid purcent
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 10:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC