×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

minimize a part of the page with struts?!

minimize a part of the page with struts?!

minimize a part of the page with struts?!

(OP)
hi folks,

i'm coding a search functionality in struts with a search form on top and the search results below. since the search form is pretty big, the customer fancies a solution where he can maximise and minimize the search form to see more of the results on the screen without scrolling.

how can i do that with struts? i could set the visibility to hidden via javascript, but that doesn't solve the space problem as the invisible search form stays in its place and the search results don't "jump up"...

any suggestions?

thanks a lot!

caz.

RE: minimize a part of the page with struts?!

Hi

  • Usually Struts is used for data processing, for displaying is used JSP. ( forum695 - Servlets and JSP )
  • Web page formatting is not server-side programming question, is HTML. ( forum215 - HTML, XHTML & CSS)
  • Manipulating HTML elements with JavaScript is still not server-side programming. ( forum216 - JavaScript )

Quote (mondenkind):

i could set the visibility to hidden via javascript, but that doesn't solve the space problem as the invisible search form stays in its place

CODE

  display: none;
Note, that undisplayed form fields are not submitted in some browsers.

Feherke.
http://rootshell.be/~feherke/

RE: minimize a part of the page with struts?!

(OP)
hi feherke.

thanks for your reply

of course i know the the actual displaying is done in jsp. but i was wondering (since i'm not so experienced with struts) if there was the possibility to realize that with certain struts tags.

you are right that it's more a client side html/javascript question, i just hoped struts would offer me readymade tags and properties for that kind of problem...

cheers anyway.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close