Hello!

Ok guys I'm trying to follow the script template provided by dynamic drive
here:
http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

However, instead of showing/hiding hyperlinks upon clicking the button, I
would like an address formatted block of text to appear instead. I have a
basic understanding of how to do this, but the problem I'm having is how to
tell the script to kick text to the next line.

For example,

Upon clicking the button for say SomeDistrict, I would like text to appear
in this format:
Name
address
city, state
phone
etc

Instead, everything is thrown on one line, such as Name address etc all
mixed together.

How can I tell the script to start a new line for the block of text, and
also how can I center the buttons on my page, instead of having them left
alligned?

Just for additional clarifcation this is how I want the page to display:

Button 1 << Click button 1
to show below text
LittleJohn Doe
Some Street Name
Somecity, some state
Button 2
Button 3

etc

Detailed instructions are appreciated =)

Thanks for any and all assistance.

Re: Show/Hide Text Script by Kevin

Kevin
Fri Oct 01 14:05:34 CDT 2004

Let's see... This is the FrontPage software support newsgroup, and you want
to revise some code from a third-party app?

Wouldn't you get a better answer if you asked "Martin B," the author? I see
an email link on the web site...

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Chris" <Chris@discussions.microsoft.com> wrote in message
news:09E599AD-3231-4E70-B825-A4B479E6AB27@microsoft.com...
> Hello!
>
> Ok guys I'm trying to follow the script template provided by dynamic drive
> here:
> http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm
>
> However, instead of showing/hiding hyperlinks upon clicking the button, I
> would like an address formatted block of text to appear instead. I have a
> basic understanding of how to do this, but the problem I'm having is how
to
> tell the script to kick text to the next line.
>
> For example,
>
> Upon clicking the button for say SomeDistrict, I would like text to appear
> in this format:
> Name
> address
> city, state
> phone
> etc
>
> Instead, everything is thrown on one line, such as Name address etc all
> mixed together.
>
> How can I tell the script to start a new line for the block of text, and
> also how can I center the buttons on my page, instead of having them left
> alligned?
>
> Just for additional clarifcation this is how I want the page to display:
>
> Button 1 << Click button
1
> to show below text
> LittleJohn Doe
> Some Street Name
> Somecity, some state
> Button 2
> Button 3
>
> etc
>
> Detailed instructions are appreciated =)
>
> Thanks for any and all assistance.
>
>
>
>



Re: Show/Hide Text Script by Chris

Chris
Fri Oct 01 14:21:03 CDT 2004

microsoft.public.frontpage.programming

The force is strong with you, but you are not a jedi yet.

"Kevin Spencer" wrote:

> Let's see... This is the FrontPage software support newsgroup, and you want
> to revise some code from a third-party app?
>
> Wouldn't you get a better answer if you asked "Martin B," the author? I see
> an email link on the web site...
>
> --
> HTH,
> Kevin Spencer
> ..Net Developer
> Microsoft MVP
> I get paid good money to
> solve puzzles for a living
>
> "Chris" <Chris@discussions.microsoft.com> wrote in message
> news:09E599AD-3231-4E70-B825-A4B479E6AB27@microsoft.com...
> > Hello!
> >
> > Ok guys I'm trying to follow the script template provided by dynamic drive
> > here:
> > http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm
> >
> > However, instead of showing/hiding hyperlinks upon clicking the button, I
> > would like an address formatted block of text to appear instead. I have a
> > basic understanding of how to do this, but the problem I'm having is how
> to
> > tell the script to kick text to the next line.
> >
> > For example,
> >
> > Upon clicking the button for say SomeDistrict, I would like text to appear
> > in this format:
> > Name
> > address
> > city, state
> > phone
> > etc
> >
> > Instead, everything is thrown on one line, such as Name address etc all
> > mixed together.
> >
> > How can I tell the script to start a new line for the block of text, and
> > also how can I center the buttons on my page, instead of having them left
> > alligned?
> >
> > Just for additional clarifcation this is how I want the page to display:
> >
> > Button 1 << Click button
> 1
> > to show below text
> > LittleJohn Doe
> > Some Street Name
> > Somecity, some state
> > Button 2
> > Button 3
> >
> > etc
> >
> > Detailed instructions are appreciated =)
> >
> > Thanks for any and all assistance.
> >
> >
> >
> >
>
>
>

Re: Show/Hide Text Script by Kevin

Kevin
Fri Oct 01 15:09:14 CDT 2004

microsoft.public.FRONTPAGE.programming

Thought you might have missed the FRONTPAGE part, so I emphasized it for
you.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Chris" <Chris@discussions.microsoft.com> wrote in message
news:BD143B96-B1F9-426A-AB7B-C36313B9037E@microsoft.com...
> microsoft.public.frontpage.programming
>
> The force is strong with you, but you are not a jedi yet.
>
> "Kevin Spencer" wrote:
>
> > Let's see... This is the FrontPage software support newsgroup, and you
want
> > to revise some code from a third-party app?
> >
> > Wouldn't you get a better answer if you asked "Martin B," the author? I
see
> > an email link on the web site...
> >
> > --
> > HTH,
> > Kevin Spencer
> > ..Net Developer
> > Microsoft MVP
> > I get paid good money to
> > solve puzzles for a living
> >
> > "Chris" <Chris@discussions.microsoft.com> wrote in message
> > news:09E599AD-3231-4E70-B825-A4B479E6AB27@microsoft.com...
> > > Hello!
> > >
> > > Ok guys I'm trying to follow the script template provided by dynamic
drive
> > > here:
> > > http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm
> > >
> > > However, instead of showing/hiding hyperlinks upon clicking the
button, I
> > > would like an address formatted block of text to appear instead. I
have a
> > > basic understanding of how to do this, but the problem I'm having is
how
> > to
> > > tell the script to kick text to the next line.
> > >
> > > For example,
> > >
> > > Upon clicking the button for say SomeDistrict, I would like text to
appear
> > > in this format:
> > > Name
> > > address
> > > city, state
> > > phone
> > > etc
> > >
> > > Instead, everything is thrown on one line, such as Name address etc
all
> > > mixed together.
> > >
> > > How can I tell the script to start a new line for the block of text,
and
> > > also how can I center the buttons on my page, instead of having them
left
> > > alligned?
> > >
> > > Just for additional clarifcation this is how I want the page to
display:
> > >
> > > Button 1 << Click
button
> > 1
> > > to show below text
> > > LittleJohn Doe
> > > Some Street Name
> > > Somecity, some state
> > > Button 2
> > > Button 3
> > >
> > > etc
> > >
> > > Detailed instructions are appreciated =)
> > >
> > > Thanks for any and all assistance.
> > >
> > >
> > >
> > >
> >
> >
> >