Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expanding menus

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi,

I have a web page with frames, in my "left" frame I have effectively a contents page which can be used to load up details in the right frame (like msdn.microsoft help pages).

The left has the following
------------------------------------------------------------
Heading1
Heading1.1
Heading1.2
Heading1.3
Heading2
Heading2.1
Heading2.1.1
Heading2.1.2
Heading2.2
Heading3
Heading4
------------------------------------------------------------

Is there a way to have my sub headings so that the user can expand and hide them

i.e.

Heading1 (+) button to click on?
Heading2 (+) button to click on?
Heading3
Heading4

Is this possible in HTML or do i need to learn some java??

Any help as always much appreciated.
 

>> Is this possible in HTML or do i need to learn some java??

It's not possible with just HTML, and I wouldn't advise using Java (a bit OTT for this task). Consider using JavaScript or VBScript - visit the forums for the one you are most comfortable using.

Hope this helps,
Dan
 
thanks for the info (i didn't think i could do it in html only), i'll give the others a go.

Cheers
 

>> Yes, this CAN be done with just HTML, CSS, and a tiny bit of Javascript

Oh give me a break. "HTML, CSS, and a tiny bit of Javascript" does not constitute HTML only - no matter how you dress it up.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top