its been annoying the hell out of me since this afternoon when I first saw this problem being asked on the forum.
I saw a concept some years ago at DynAPI but its taken me until now 23:00 to track it down - I knew I had seen it, but I just couldn't remember where.
originally (in version 1) the author showed how to put a check-box next to the option within the drop down/listbox - as you clicked on the option, the checkbox turned on/off.
I've been to the latest version on their site and they've done some more to it.
In the example they now offer, you see a "little blue man" next to one of the options
when you look at the source code, you see lines like:
this effectivly adds a new item to the listbox and puts an icon next to it.
for the full idea go to:
http://dynapi.sourceforge.net/.../dynapi.gui.listbox.html
alternatively, take a look at:
http://dynapi.sourceforge.net/.../dynapi.gui.htmlmenu-images.html
its another variation on a theme and if you look at the "products" on the menu, perhaps you could use this.
anyway, there's a LOT more to it, and it will take quite a bit of coding to make it work for you particular example, BUT with some work, you CAN have an image next to a choice
I'm hoping its what you are after.
for any other readers, there's a lot there and some great concpets.
regards
kev
I saw a concept some years ago at DynAPI but its taken me until now 23:00 to track it down - I knew I had seen it, but I just couldn't remember where.
originally (in version 1) the author showed how to put a check-box next to the option within the drop down/listbox - as you clicked on the option, the checkbox turned on/off.
I've been to the latest version on their site and they've done some more to it.
In the example they now offer, you see a "little blue man" next to one of the options
when you look at the source code, you see lines like:
Code:
lb2.addItem(null,'<h1><img src="images/eicon3.gif">Main Item #1</h1>');
for the full idea go to:
http://dynapi.sourceforge.net/.../dynapi.gui.listbox.html
alternatively, take a look at:
http://dynapi.sourceforge.net/.../dynapi.gui.htmlmenu-images.html
its another variation on a theme and if you look at the "products" on the menu, perhaps you could use this.
anyway, there's a LOT more to it, and it will take quite a bit of coding to make it work for you particular example, BUT with some work, you CAN have an image next to a choice
I'm hoping its what you are after.
for any other readers, there's a lot there and some great concpets.
regards
kev
Comment