Expandable Menus

G

Guest

I want to create a menu that drops down when you mouse over a word(s), which
will then be clicked on to go to a new page; for example:

Project Type (main category)
Hotel (sub categories, which are clicked on to go to a new page)
Restaurant
Retail

I tried using the bullets/numbering to create an collapsable outline, but
it's not really what I want. You have to click on the main category to
retract the list. And I can't use Dynamic HTML effects to create a mouse over
effect, or anything else that would indicate that a person should click on
the main category to see the list of items.

Is FP capable of creating what I'm describing (I'm using FP 2002)?

Any help is much appreciated - thanks!
 
T

Trevor L.

Hi vnsrod2000

This works for me

<head>
....
<style type="text/css">
table.menu {position: absolute ; visibility: hidden ;}
</style>

<script type="text/javascript">
function showmenu(elmnt)
{ document.all(elmnt).style.visibility="visible" }

function hidemenu(elmnt)
{ document.all(elmnt).style.visibility="hidden" }
</script>
....
</head>

<body>
....
<table>
<tr>

<td onmouseover="showmenu('links')" onmouseout="hidemenu('links')">
<b>External Links</b><br>
(Scroll down)<br>

<table id="links" class="menu" border>
<tr>
<td>
<a href="http://www.abc.net.au/news/australia/weather/default.htm"
target="_top">
Australia Weather.<br>
ABC News Online.</a>
</td>
</tr>
.....
</table>
</td>
</tr>
</table>
....

Of course, you can change the heading
<b>External Links</b><br>
(Scroll down)<br>
to add further instructions

This heading displays when no mouseover. When mouseover, the lower level
options drop down and you can click on any of them.
--
Cheers,
Trevor L.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top