Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2004, 07:25 AM
Authorized User
 
Join Date: Jan 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to viren_balaut
Default Making a tree using jsp and html

i want to make a tree like this

abcd +-abcd1 +-abcd2 +-abcd3
     | | |- abcc3
     | |-abcc2 +-abcd4
     | |-abcc4
     +-abcc1 +-abbb3 +-abcc5
             | |-abcc6
             |-abbb4

and when i click on any + all the child are hidden and when i again click on + it will expand again

if any one do any type of work on this time plz hlp me

thanx in advance
if nice of u if u will mail me on my id
[email protected]
[email protected]

bye
-Viren




 
Old September 10th, 2004, 10:45 AM
Authorized User
 
Join Date: Sep 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would use javascript and css to tackle this one. I would start by making the + or - links ie. within <A></A> tags. if you use css you can have parts of the tree hidden. By giving it a lower z - index. Then you just need to make an onclick javascript function that changes the z - index to bring the hidden box to the top. I hope this makes sense and helps in some way.





Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic jsp tree from database anubhav JSP Basics 1 March 12th, 2011 01:12 AM
html:text render the value when error comes in jsp srikanth_bsb Struts 0 February 20th, 2007 03:54 AM
doubt in JSP, Javascript,HTML vidhya_mscinfo Other Programming Languages 0 May 3rd, 2006 10:19 AM
jsp - input/output - html?? tra77 JSP Basics 0 April 14th, 2006 04:35 AM
using Html and JSP otte JSP Basics 0 April 10th, 2006 03:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.