Way too much code to look at!

But using jQuery:

<style type="text/css">
        .hidden {
                display: none;
        }
</style>

<script type="text/javascript" src="/path/to/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
        $(function() {
                $("#show").mouseover(function() {
                        $("#hiddenDiv").show();
                }).mouseout(function() {
                        $("#hiddenDiv").hide();
                });
        });
</script>

<span id="show">Show that div</span>

<div id="hiddenDiv" class="hidden">A hidden div</div>

Rolling off will hide it again. Not sure if you want that or not.

Adrian

> -----Original Message-----
> From: Scott Williams [mailto:myscottwilli...@yahoo.com]
> Sent: 21 August 2009 19:36
> To: cf-talk
> Subject: How to Make Layers Visible with OnMouseOver
> 
> 
> 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
> 
> *************************************
> 
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
> <html>
> 
*snip*
> </html>
> ***************************************************
> 
> Thanks in advance!
> 
> 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:325599
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to