If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Help With Expanding Sections of Website

I have some code that I want amend, but I can't seem to get it to work. Sorry I know it's kind of long, but what I am looking for is to create a default state where Link 1 is "open" with the content viewable. Also, I wanted to see if it's easy enough to set the height to 100% and not a fixed height so it can expand relative to the content. You can view the demo here: http://andyrichin.com/demo/

as i said, there is no need to rewrite already existing things. you like that jquery demo and it almost fits your needs. if you would like the sections to expand relative to the content, it can be easily achived by adding a couple of javascript lines (see $(document).ready() in the demo code).