Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Lists and HTML | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Malow

Goomba

Level: 9

Posts: 15/25
EXP: 3055
For next: 107

Since: 03-15-04
From: Rock Forest, Qu�bec, Canada

Since last post: 145 days
Last activity: 11 hours
Posted on 08-11-04 08:24 PM Link | Quote
Hi!

I need to put in a web page a list. You know, the kind of list where you can, while holding shift or ctrl, select multiple choices? Well I want to do that. But I looked for it and it looks like it does not exist in html. Or am I wrong? I woudl like to know

And also, I'm stuck to work with ASP, but is it possible to make that list in ASP ?
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 1196/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 08-12-04 08:18 AM Link | Quote
you can try playing around with javascripting or DHTML. Try looking on the internet for stuff about dynamically manipulating DOM (Document Object Model).
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 627/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 08-12-04 11:04 AM Link | Quote


The source:
<select size="10" multiple="1">
<option value="opt1" selected="selected">You want a list</option>
<option value="opt2">list like this, eh?</option>
<option value="opt3">It's quite simple,</option>
<option value="opt4">actually.</option>
<option value="opt5">(First and last are</option>
<option value="opt6">selected by default</option>
<option value="opt7" selected="seleted">for an example...)</option>
</select>

The real hard part is typing ... x_X

Oh, and for using the selected options ... I don't know how to do that in ASP, sorry.


(edited by FreeDOS on 08-12-04 02:05 AM)
(edited by FreeDOS on 08-12-04 02:06 AM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 1198/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 08-12-04 11:52 AM Link | Quote
oh that list...then, the next question would be, how to use that in a form...
Malow

Goomba

Level: 9

Posts: 16/25
EXP: 3055
For next: 107

Since: 03-15-04
From: Rock Forest, Qu�bec, Canada

Since last post: 145 days
Last activity: 11 hours
Posted on 08-17-04 07:03 PM Link | Quote
Late answer, sorry, I was in vacation lol

Well I found how to do that kind of list, it really wasn't hard...

But the main problem is what neotransotaku said: How to use that in a form

If anyone has any idea, please help me! I'll continue my researches on the web...
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 1247/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 08-17-04 09:04 PM Link | Quote
why don't you look at the source code for some forms you find on the internet. There's got to be at least one form that has a list. Maybe you can investigate the forms at Yahoo!
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -3410/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 08-18-04 03:03 AM Link | Quote
I made a form using that exact thing and method GET so I wouldn't hve to code output.

Get returns this in the bar:

/form.html?selectform=opt4&selectform=opt6

So it might not be so hard, depending on wether or not you can handle that :p
Malow

Goomba

Level: 9

Posts: 17/25
EXP: 3055
For next: 107

Since: 03-15-04
From: Rock Forest, Qu�bec, Canada

Since last post: 145 days
Last activity: 11 hours
Posted on 08-18-04 11:10 PM Link | Quote
Woohoo! I found it...

It's god damn easy :/

lets say that you have your multiple list and that you sleect many choices. It will, like XXXkeeper said, do something like

/webpage.asp?name=opt1&name=opt3&name=opt8

Then, to use it with asp and an Access Database (that's what I wanted to do) you SIMPLY hav eto do that for the SQL query:

SQLStatement = "SELECT " & Request.QueryString("name") & " FROM Table"


I hate when it's so easy that nobody knows how to use it
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Lists and HTML | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.