[thelist] Here's one for you... (ASP and HTML)

Chris Hayes chris at londonweb.net
Fri Feb 6 10:56:04 CST 2004


If the CSS idea works for you, it's straight-forward.

Another alternative would be to populate your form with hidden form elements
corresponding to the checkboxes in the iFrame.  With javascript, OnSubmit
read the values of the iFrame checkboxes into the hidden fields on you main
page.  The only difference will be that all the hidden fields will exist in
the form POST/GET parameters whereas checkboxes only exist if they're
checked.

But CSS is neat and doesn't need all this messing with javascript.



----- Original Message ----- 
From: "Toby Mills" <toby at tobymills.com>
To: <thelist at lists.evolt.org>
Sent: Friday, February 06, 2004 4:43 PM
Subject: RE: [thelist] Here's one for you... (ASP and HTML)


> Alternatively split them into different sections on different pages. These
> don't have to be completely different pages; rather use JavaScript to hide
> and show the different sections, thus when submitted its one big page. You
> could use some sort of tabbed navigation at the top for each section or
just
> a simple next & previous.
>
> Just a thought
>
> -------------------------------
> toby mills
> web developer & programmer
>
>
> www.tobymills.com
>
>
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Stephen Caudill
> Sent: 06 February 2004 16:34
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] Here's one for you... (ASP and HTML)
>
> --------------- Rob Smith wrote: --------------- 
>
> : Allow me to illustrate my page:
> :
> : I have a form with a bunch of fields. If you were to print this
> : out, it would cover two pages of 8 1/2" x 11".  In the middle of
> : this form, I have a scrollable inline frame that contains about
> : 75 or so check boxes. The reason for this is because we
> : absolutely do not want to make this form any longer on the
> : screen. If we were to abandon the iFrame and stick all 75
> : checkboxes on the main form it would violate out desires.
> :
> : My problem:
> :
> : When I submit the form, can I get those checkboxes and their
> : values from within that iFrame?
> :
> : I'm open to any suggestions.
> :
> : Rob.Smith
>
> Rather than put them in an iFrame, put them in a div with it's
> content set to overflow:
>
> div#checks{
> height:25px;
> overflow:auto;
> }
>
> it's on the same page, in the same form and you still get your
> scrollbars.
>
> hth,
> Stephen Caudill
> http://www.mechavox.com/
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !



More information about the thelist mailing list