Please help with this simple problem

  • Thread starter Thread starter Jacques
  • Start date Start date
J

Jacques

Hi, I'm using Frontpage 2000 and although I've figured out
how to do just about anything with it that i wanna, there
is one thing that I can't figure out.

How can I have different text displayed in the same are of
my page by clicking on different buttons?

I have 'about', 'the material', 'downlaoding files'
buttons and by clicking on any one of these i want the
appropriate information(text) displayed in the same area
on the page, without having to load a new page.

This will be the same for loading differnt images in the
same box on a page by clicking different links.

I hope somebody can help.
 
Remember that Netscape and Opera users may have difficult
intepreting the layers, so the page might look different
than those users using IE.

JavaScript would be my solution, as you can have the text
the same colour as your background, and when you click on
the button, it changes the colour of the text from your
background colour (say blue) to another colour (say
white).

CSS as suggested but it would be quicker if you had a
text link instead of the graphic button.


"<style type="text/css">


a.one:hover {color: red}

a.two:hover {font-size: 150%}

a.three:hover {font-style: italic}

</style>

<body bgcolor="#9999FF">
<center>
<br>

<p><b><a class="one" href="#">Scott Balfour</a></b></p>
<p><b><a class="two" href="#">Hello World</a></b></p>
<p><b><a class="three" href="#">JavaScript</a></b></p>
<font size="+5">
<p>Mouse over the above text to see them change.</p>

</font>
</center>
</body>
</html>"

If you take out the " and paste it into a blank page you
will see how it's done.


Scott
 
You said you didn't want to load another page, but what about using Frames?
You would load a "different page" inside a specific box area, but the menus,
and rest of the page outside the frame would stay the same and not be
re-loaded.
Tom

"> How can I have different text displayed in the same are of
 
Back
Top