M
M. L. C.
hello, i never studied javascript (i took a look to a tutorial but i
haven't been able to figure how to accomplish what i want), i just
need for a piece of code to do this thing:
to write a document that when it's loaded in the window it just looks
like this:
" [click here to expand all] [click here to collapse all]
chapter1 [click here to expand]
chapter2 [click here to expand]
chapter3 [click here to expand]"
and when one clicks, for instance on "[click here to expand]" of
chapter1, it should look like this:
"chapter1 [click here to collapse]
blah blah blah blah ...(text of chapter1)
chapter2 [click here to expand]
chapter3 [click here to expand]"
and when one clicks on [click here to collapse], it should look again
as before being expanded.
the "[click here to expand]" should be just a text string or an image
or a link.
can anybody provide this code?
thank you very much,
maria laura.
---norobs
haven't been able to figure how to accomplish what i want), i just
need for a piece of code to do this thing:
to write a document that when it's loaded in the window it just looks
like this:
" [click here to expand all] [click here to collapse all]
chapter1 [click here to expand]
chapter2 [click here to expand]
chapter3 [click here to expand]"
and when one clicks, for instance on "[click here to expand]" of
chapter1, it should look like this:
"chapter1 [click here to collapse]
blah blah blah blah ...(text of chapter1)
chapter2 [click here to expand]
chapter3 [click here to expand]"
and when one clicks on [click here to collapse], it should look again
as before being expanded.
the "[click here to expand]" should be just a text string or an image
or a link.
can anybody provide this code?
thank you very much,
maria laura.
---norobs