Scott,

Here's how I do it. First of all I'm assuming that your divisions are initially 
visible, if not in your CSS set the display for the div to none. Add the 
following into your head area of your page:

<script language="javascript" type="text/javascript">
     function toggle(item) {
          var e = document.getElementById(item);
          e.style.display = (e.style.display != 'none' ? 'none' : '' );
        }
</script>

Next put a link that would trigger the above toggle function, and pass in the 
name of the div. Assuming that your div name is foo, the link would look 
something like this:

<a href = "#" onClick="toggle('foo')">Hide Foo</a>
<div id="foo">Bar</div>

hth,
larry


> Hi all --
> 
> I can't figure out how to make Layer2 in this document visible when I 
> mouseover the <a> tag around the newbridgecollege.edu link. Can anyone 
> help me with this?
> 
> Scott
> 
> *************************************
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325632
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to