Welcome to WebmasterWorld Guest from 54.197.116.116

Forum Moderators: incrediBILL

Message Too Old, No Replies

Select box with checkboxes

Like the AdSense stats

   
6:22 pm on Feb 14, 2005 (gmt 0)

10+ Year Member



AdSense recently changed over from a normal multiselect list box where you have to hold down control to one that has check boxes. I'm assuming this is some sort of IFrame, but does anyone know specifically how it's done? I've got a web page that is screaming for this sort of thing instead of the hack I put together.

Thanks,
- Ryan

11:36 pm on Feb 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not sure exactly what you want but HTML checkboxes are not new:

[w3.org ]

11:49 pm on Feb 14, 2005 (gmt 0)

10+ Year Member



It's most likely a div with height set using css and the css overflow property set to auto.
12:58 am on Feb 15, 2005 (gmt 0)

10+ Year Member



It's not a simple checkbox. It's a similar idea to the 'checkbox' style list box you'd see in a Windows program. It allows you to check one or more of a bunch of selections.

I think you're right about the div. After just a quick look @ the page source, it looks to be some sort of div.

- Ryan

3:40 am on Feb 15, 2005 (gmt 0)

10+ Year Member



Admittedly I haven't done much towards this, but just trying out the div as suggested seems to be working. Now I just need to make it look nice; and of course I'll have to rewrite some of my pages.

I know this is possible, but anyone have any tips for working with arrays of checkboxes? I've read about it, just never done it.

Thanks,
- Ryan