Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Giving the user option to expand sections

Reply
Thread Tools

Giving the user option to expand sections

 
 
GriffithsJ
Guest
Posts: n/a
 
      10-01-2003
Hi

Very new to this...

I would like to set up the following:

The web user does a search of a database and the results are returned in an
HTML table. I want to present the user with a table that just shows the
salient facts (brief item description, stock value, etc).

However, I'd like to give the user the opportunity to expand (and if they
wish to contract again) any one row of the table to display things like a
picture and an extended description of the row item, rather than have them
go to a separate page for this.

I'd also like to give them the option to expand all rows in the table (and
contract them again) if they wished.

What's the best way to achieve this? I'm not sure of the target audience,
so may have to support browsers using HTML4 (may even be Netscape...)

Thanks for any advice you may be able to give

Griff


 
Reply With Quote
 
 
 
 
Rick Groenewegen
Guest
Posts: n/a
 
      10-01-2003
I would suggest to put all the extra info between <DIV></DIV> with an
invisible style property. Then write a Javascript function that loops
through all the DIV's and change their visibility.

"GriffithsJ" <> wrote in message
news:u%...
> Hi
>
> Very new to this...
>
> I would like to set up the following:
>
> The web user does a search of a database and the results are returned in

an
> HTML table. I want to present the user with a table that just shows the
> salient facts (brief item description, stock value, etc).
>
> However, I'd like to give the user the opportunity to expand (and if they
> wish to contract again) any one row of the table to display things like a
> picture and an extended description of the row item, rather than have them
> go to a separate page for this.
>
> I'd also like to give them the option to expand all rows in the table (and
> contract them again) if they wished.
>
> What's the best way to achieve this? I'm not sure of the target audience,
> so may have to support browsers using HTML4 (may even be Netscape...)
>
> Thanks for any advice you may be able to give
>
> Griff
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
function-sections and data-sections option in gcc Raman C Programming 6 08-03-2007 10:40 AM
Giving the user the option to download a file Nathan Sokalski ASP .Net 4 08-07-2005 05:19 AM
Navigation List: Giving user option of where to open pix? (Pete Cresswell) HTML 6 10-15-2004 01:50 PM
Expand Sections WStoreyII ASP .Net Web Controls 1 08-25-2004 09:39 PM
Is there a way to hide the url when giving download option to a user? R.A. ASP .Net 2 04-09-2004 06:53 PM



Advertisments