html for Appearing and disappearing text

Z

Zak

Hi,

Can anyone please help with providing code to allow the following to happen:

When user clicks on the following:

-Number1

Specified text appears below it. when user clicks on 'number1' again, the
txt disappears.

Think its simple but not sure how to do it.

Please help.

Thank you
 
Z

Zak

Hi,


Thanks for this, however is there not a html version of this?

I went to the website stated and copied the code but it doesnt seem to be
working..?

Thank you
 
K

Karl E. Peterson

Zak said:
Thanks for this, however is there not a html version of this?

Nope. Requires CSS and JavaScript as well.
I went to the website stated and copied the code but it doesnt seem to be
working..?

Not sure what to say. It works. I used a very similar technique on my site
(http://vb.mvps.org/articles/ - "Hide" links). You're not offering a lot in the way
of diagnosable opportunities here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top