Hi,

Can anyone help me on HTML please?

I am looking for a code that will do the following:

The word â??Structureâ?? will appear in a table on a webpage â?? when the user
clicks on the word Structure a paragraph of writing will appear below it but
then disappear when user clicks on the word Structure again.

I think it works a little like an anchor but only it makes the text appear
and disappear with a click on a button (the word Structure). Also would this
be possible in a table?

Finally, the size of the cell which contains the word Structure should
increase/decrease with the appearance and disappearance of the word Structure
(i.e. I donâ??t want the size of the cell to remain big when there isnâ??t any
text in there.)

Hope im making sense!

Many thanks for your help.

Re: HTML help! by Jens

Jens
Thu Apr 24 06:12:59 CDT 2008

Put the text in a DIV container and use onclick to set its display
property to none when it shouldn't be seen and display: block when you
want to see it. You can write the code yourself or use behaviors (FP
2003) to create the script for you (you must give the DIV an ID for
this to work).

Regards Jens Peter Karlsen.

On Thu, 24 Apr 2008 01:42:00 -0700, Zak
<Zak@discussions.microsoft.com> wrote:

>Hi,
>
>Can anyone help me on HTML please?
>
>I am looking for a code that will do the following:
>
>The word ?Structure? will appear in a table on a webpage ? when the user
>clicks on the word Structure a paragraph of writing will appear below it but
>then disappear when user clicks on the word Structure again.
>
>I think it works a little like an anchor but only it makes the text appear
>and disappear with a click on a button (the word Structure). Also would this
>be possible in a table?
>
>Finally, the size of the cell which contains the word Structure should
>increase/decrease with the appearance and disappearance of the word Structure
>(i.e. I don?t want the size of the cell to remain big when there isn?t any
>text in there.)
>
>Hope im making sense!
>
>Many thanks for your help.

Re: HTML help! by Zak

Zak
Thu Apr 24 06:32:01 CDT 2008

Hi,

Thanks for reply however i am not using Frontpage. i posted the question
here because didnt know where else to post it. I am creating web pages on an
existing company intranet so its works slightly different to FP.

I need the actual HTML code if thats possible?

thanks a lot.

"Jens Peter Karlsen" wrote:

> Put the text in a DIV container and use onclick to set its display
> property to none when it shouldn't be seen and display: block when you
> want to see it. You can write the code yourself or use behaviors (FP
> 2003) to create the script for you (you must give the DIV an ID for
> this to work).
>
> Regards Jens Peter Karlsen.
>
> On Thu, 24 Apr 2008 01:42:00 -0700, Zak
> <Zak@discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >Can anyone help me on HTML please?
> >
> >I am looking for a code that will do the following:
> >
> >The word â??Structureâ?? will appear in a table on a webpage â?? when the user
> >clicks on the word Structure a paragraph of writing will appear below it but
> >then disappear when user clicks on the word Structure again.
> >
> >I think it works a little like an anchor but only it makes the text appear
> >and disappear with a click on a button (the word Structure). Also would this
> >be possible in a table?
> >
> >Finally, the size of the cell which contains the word Structure should
> >increase/decrease with the appearance and disappearance of the word Structure
> >(i.e. I donâ??t want the size of the cell to remain big when there isnâ??t any
> >text in there.)
> >
> >Hope im making sense!
> >
> >Many thanks for your help.
>

Re: HTML help! by Tom

Tom
Thu Apr 24 08:28:29 CDT 2008

You need to find a support page/forum for the particular web creation
program you are using.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
"You're a daisy if you do!"
---
FrontPage Support:
http://www.frontpagemvps.com/
===
"Zak" <Zak@discussions.microsoft.com> wrote in message
news:ACB2DC73-D427-415E-B8DB-BB91BDE3CDA4@microsoft.com...
: Hi,
:
: Thanks for reply however i am not using Frontpage. i posted the question
: here because didnt know where else to post it. I am creating web pages on
an
: existing company intranet so its works slightly different to FP.
:
: I need the actual HTML code if thats possible?
:
: thanks a lot.
:
: "Jens Peter Karlsen" wrote:
:
: > Put the text in a DIV container and use onclick to set its display
: > property to none when it shouldn't be seen and display: block when you
: > want to see it. You can write the code yourself or use behaviors (FP
: > 2003) to create the script for you (you must give the DIV an ID for
: > this to work).
: >
: > Regards Jens Peter Karlsen.
: >
: > On Thu, 24 Apr 2008 01:42:00 -0700, Zak
: > <Zak@discussions.microsoft.com> wrote:
: >
: > >Hi,
: > >
: > >Can anyone help me on HTML please?
: > >
: > >I am looking for a code that will do the following:
: > >
: > >The word 'Structure' will appear in a table on a webpage - when the
user
: > >clicks on the word Structure a paragraph of writing will appear below
it but
: > >then disappear when user clicks on the word Structure again.
: > >
: > >I think it works a little like an anchor but only it makes the text
appear
: > >and disappear with a click on a button (the word Structure). Also would
this
: > >be possible in a table?
: > >
: > >Finally, the size of the cell which contains the word Structure should
: > >increase/decrease with the appearance and disappearance of the word
Structure
: > >(i.e. I don't want the size of the cell to remain big when there isn't
any
: > >text in there.)
: > >
: > >Hope im making sense!
: > >
: > >Many thanks for your help.
: >



Re: HTML help! by Mike

Mike
Thu Apr 24 08:53:24 CDT 2008

Well, it is not just some HTML you can plop into notepad and have it work-
the HTML is the easy stuff, but then you need to figure out the javascripts
and css that is going to do the grunt work. Or you do it the easy way and
(find out how to) use (your) web designing software.


"Zak" <Zak@discussions.microsoft.com> wrote in message
news:ACB2DC73-D427-415E-B8DB-BB91BDE3CDA4@microsoft.com...
> Hi,
>
> Thanks for reply however i am not using Frontpage. i posted the question
> here because didnt know where else to post it. I am creating web pages on
> an
> existing company intranet so its works slightly different to FP.
>
> I need the actual HTML code if thats possible?
>
> thanks a lot.
>
> "Jens Peter Karlsen" wrote:
>
>> Put the text in a DIV container and use onclick to set its display
>> property to none when it shouldn't be seen and display: block when you
>> want to see it. You can write the code yourself or use behaviors (FP
>> 2003) to create the script for you (you must give the DIV an ID for
>> this to work).
>>
>> Regards Jens Peter Karlsen.
>>
>> On Thu, 24 Apr 2008 01:42:00 -0700, Zak
>> <Zak@discussions.microsoft.com> wrote:
>>
>> >Hi,
>> >
>> >Can anyone help me on HTML please?
>> >
>> >I am looking for a code that will do the following:
>> >
>> >The word â??Structureâ?? will appear in a table on a webpage â?? when the user
>> >clicks on the word Structure a paragraph of writing will appear below it
>> >but
>> >then disappear when user clicks on the word Structure again.
>> >
>> >I think it works a little like an anchor but only it makes the text
>> >appear
>> >and disappear with a click on a button (the word Structure). Also would
>> >this
>> >be possible in a table?
>> >
>> >Finally, the size of the cell which contains the word Structure should
>> >increase/decrease with the appearance and disappearance of the word
>> >Structure
>> >(i.e. I donâ??t want the size of the cell to remain big when there isnâ??t
>> >any
>> >text in there.)
>> >
>> >Hope im making sense!
>> >
>> >Many thanks for your help.
>>