HI Trevor,
Thank you for the response but I'm not sure what you are saying by
sending
me this. I write very little html and I copied what you sent into my
site
but
I'm not understanding what I'm supposed to do with that.
When I go into help it's says to create the list then click format,
click
bullets, click enable collapsible outlines, click ok. I have done this
several times but it's not working. Obviously I'm doing something wrong
but I
can't figure out what.
Can someone give me step by step instructions on how to create this
list.
I
also need to make the list hyperlinks to other pages.
--
Thanks, Mary Ann
:
Mary Ann wrote:
Hello,
Recently I asked about an expand/ collapse list but received no
response. I went to help in Frontpage, followed directions but still
cannot create the list. can anyone help?
--
Thanks, Mary Ann
An example from my site - a sitemap
<a href='#' onclick="ExpandAll();return false">Expand All</a> |
<a href='#' onclick="ExpandAll('hide');return false">Collapse
All</a><br
/>
Click <img src="images/display/plus.gif" alt="" width="15"
height="15"
/>
to expand
<img src="images/display/minus.gif" alt="" width="15"
height="15"
/>
to collapse<br />
<dt><a href="#" onclick="changeVisibility(1);return false">
<img src="images/display/plus.gif" alt="" id="image1"
width="15"
height="15" /></a>
<a href="index.html" class="head4">Trevor and Carole's Home
Page</a></dt>
<ul id="ulist1">
<dt><img src="images/display/smfile.gif"><a
href="picture.html">Picture</a></dt>
<dt><img src="images/display/smfile.gif"><a
href="
http://validator.w3.org/check?uri=referer">W3C Markup
Validator</a></dt>
<dt><img src="images/display/smfile.gif"><a
href="
http://jigsaw.w3.org/css-validator/">W3C CSS Validator</a></dt>
<dt><img src="images/display/smfile.gif"><a
href="news.html">News</a></dt>
<dt><img src="images/display/smfile.gif"><a
href="abcnews.html">ABC
News RSS</a></dt>
<dt><img src="images/display/smfile.gif"><a
href="bbcnews.html">BBC
News RSS</a></dt>
</ul>
<!-- repeat for "image2" "ulist2" etc. -->
where
function ExpandAll(hide)
{
var i = 0
while (document.images["image" + ++i])
showVisible(i,hide)
}
function changeVisibility(i)
{
var hide = (document.images["image" + i].src.match(/^.+minus\.gif$/))
?
'hide' : ''
showVisible(i,hide)
}
function showVisible(i,hide)
{
var sign = (hide) ? "plus" : "minus"
document.images["image" + i].src = "images/display/" + sign + ".gif"
document.getElementById("ulist" + i).style.display = (hide!='hide')
?
"block" : "none"
}
The contents of the <dt></dt> tags inside "ulist1" are not relevant -
they
can be anything.
Clicking ExpandAll will expand all lists of this format.
Clicking CollapseAll will collapse all lists of this format.
Clicking the + will expand one such list
Clicking the - will collapse one such list
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website:
http://trevorl.mvps.org/