PageSourceSearch

https://www.lacoast.gov/new/scripts/DropDown.js

js lacoast.gov collected 2026-10-02 06:21:34 UTC 992 bytes, 22 lines download raw bytes

1$(document).ready(function() {
2
3    $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)
4
5    $("ul.topnav li span").hover(function() { //When trigger is clicked...
6
7        //Following events are applied to the subnav itself (moving subnav up and down)
8        $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
9
10        $(this).parent().hover(function() {
11            }, function() {
12                $(this).parent().find("ul.subnav").slideUp('fast'); //When the mouse hovers out of the subnav, move it back up
13        });
14
15        //Following events are applied to the trigger (Hover events for the trigger)
16    }).hover(function() {
17        $(this).addClass("subhover"); //On hover over, add class "subhover"
18    }, function() {	//On Hover Out
19        $(this).removeClass("subhover"); //On hover out, remove class "subhover"
20    });
21
22});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.