Windows within Website

  • Thread starter Thread starter ALaCarte
  • Start date Start date
A

ALaCarte

I am using FrontPage 2003 and want to do the following. When a picture is
clicked or hovered over a new window comes up showing information regarding
that picture. I dont know if you can do it in FrontPage but think that there
should be a way around it. The other alternative is where you have part of
the text showing and then click on more and the text expands down the page...
Thanks for any help
 
ALaCarte said:
I am using FrontPage 2003 and want to do the following. When a picture is
clicked or hovered over a new window comes up showing information
regarding
that picture. I dont know if you can do it in FrontPage but think that
there
should be a way around it. The other alternative is where you have part
of
the text showing and then click on more and the text expands down the
page...
Thanks for any help

Here is one way to do it.

I have both some text (picture heading) and a picture ("images/1.jpg"). If
you mouseover them, then the text in "Full description" appears.

The positioning of the table with the full description can be altered, But I
just left it is starting after the other elements

You will need to use Code view in Frontpage and just type (or paste) in the
code

<html>
<head>
<script type="text/javascript">
function hideit(elid,hide)
{ document.getElementById(elid).style.display=(hide != "show")? "none"
:"block"}
</script>
</head>

<body>
<div align="center" onmouseover="hideit('row1','show')"
onmouseout="hideit('row1','hide')">
picture heading<br />
<img src= "images/1.jpg"> </div>
Some other text

<div>
<table border="1">
<tr>
<td id="row1" style="display:none">
Full description<br>
Blah blah blah <br>
Blah blah blah <br>
Blah blah blah <br>
</td>
</tr>
</table>
</div>
</body>
</html>
 
Back
Top