Great suggestion! I'm gonna see if I can't get this to work!
csmith
----- Original Message ----- 
From: "John Hollister" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 12:37 PM
Subject: RE: Witango-Talk: a little OT - images in a drop down select box


> Can be done with JS, making a DIV with ID and the image contain with in
> the DIV, using an overflow for the scrolling and innerHTML to build the
> Drop down
> 
> <pre>
> for(i=0;i<=selectbox.length-1;i++)
> {
> 
> document.getElementById("dropdowndiv").innerHTML += "<div id="+i+"
> class='insidedropdown' onclick=javascript:sendval(this.id)>" +
> selectbox[i] + "</div>";}
> </pre> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Jason Pamental
> Sent: Wednesday, September 25, 2002 6:14 AM
> To: Multiple recipients of list witango-talk
> Subject: Re: Witango-Talk: a little OT - images in a drop down select
> box
> 
> Chris,
> 
> You could do this in flash; the recent versions allow you to load  
> jpeg's dynamically at run-time, so you could pass in the filenames,  
> etc. that you need for the drop-down via URL arguments or loading XML.  
> it wouldn't be their standard interface widgets that ship with Flash  
> MX, but you create something that does the same thing...
> 
> Jason
> 
> On Wednesday, September 25, 2002, at 12:14 AM, Chris Smith wrote:
> 
> > Thanks for the offer. I was already heading down that path when the  
> > thought
> > occurred to me that it would be so much more elegant if the images
> were
> > right in the drop down as 32x32 thumbnails. I've been able to use css
> 
> > to
> > declare the background color of certain options, and recently I've  
> > seen some
> > pretty slick .net controls like a multiple select done in a drop down
> 
> > with
> > check boxes, very slick.
> > How about a java applet? or maybe even a small flash piece? Oh well  
> > guess
> > I'll use the onChange event until something cleaner comes along.
> > I've been using a preload image script that I got from cut-n-paste
> > JavaScript seems to work well enough.
> > csmith
> > ----- Original Message -----
> > From: "JJ Smith" <[EMAIL PROTECTED]>
> > To: "Multiple recipients of list witango-talk"  
> > <[EMAIL PROTECTED]>
> > Sent: Tuesday, September 24, 2002 11:52 PM
> > Subject: Re: Witango-Talk: a little OT - images in a drop down select
> 
> > box
> >
> >
> >> It can't be done as Wayne said - the only thing I can
> >> think of is to have a text list appear in the dropdown
> >> (or multiple list) and then depending on which is
> >> selected a small image appears beside the dropdown
> >> (with javascript). I used this method before and it
> >> worked ok.
> >>
> >> Along the lines of...
> >>
> >> <select name="picture" size="1"
> >> onChange="showimage()">
> >>
> >> <option value="horse.gif">Picture of a horse</option>
> >> <option value="cow.gif">Picture of a cow</option>
> >>
> >> </select>
> >>
> >> The showimage function would then display the image -
> >> you could even specify where each image links to.
> >>
> >> If you want the code in full let me know.
> >>
> >> JJ
> >>
> >> --- Wayne Irvine <[EMAIL PROTECTED]> wrote:
> >>>> I was wondering if anyone knew of a technique for
> >>> displaying a thumbnail image
> >>>> in a drop down select box.
> >>>>
> >>> Not in standard HTML. The browser controls the
> >>> appearance of the drop down
> >>> and the text within it.
> >>>
> >>> Wayne Irvine
> >>>
> >>>                   Byte Services Pty Ltd
> >>>                http://www.byteserve.com.au/
> >>>                   [EMAIL PROTECTED]
> >>>    Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960
> >>> 6088
> >>>
> >>>
> >>
> >>
> >> __________________________________________________
> >> Do you Yahoo!?
> >> New DSL Internet Access from SBC & Yahoo!
> >> http://sbc.yahoo.com
> >>
> ______________________________________________________________________ 
> >> __
> >> TO UNSUBSCRIBE: send a plain text/US ASCII email to  
> >> [EMAIL PROTECTED]
> >>                 with unsubscribe witango-talk in the message body
> >
> >
> _______________________________________________________________________ 
> > _
> > TO UNSUBSCRIBE: send a plain text/US ASCII email to  
> > [EMAIL PROTECTED]
> >                 with unsubscribe witango-talk in the message body
> >
> >
> -- 
> ____________________________________________________________________
> 
> Jason Pamental, President
> 
>    [EMAIL PROTECTED]
> 
> Bathysphere Digital Media Services, Inc.                              
> http://bathyspheredms.com
> ____________________________________________________________________
> 
> Tel: 401.490.6830      Fax: 401.490.6831
> ________________________________________
> 
> 
> A North American Distributor for Witango (http://www.witango.com)
> 
> Rapid Web Application Development - XML Execution Engine
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to