PageSourceSearch

https://essaillon-sederon.net/local/cache-js/jsdyn-scripts_bloc_depliant_js-98707ef2.js?1790689459

js essaillon-sederon.net collected 2026-10-02 18:00:21 UTC 1,344 bytes, 39 lines download raw bytes

1/* #PRODUIRE{fond=scripts/bloc_depliant.js}
2   md5:3eee134743d12ed12f90eae02627d4e7 */
3// Andy Langton's show/hide/mini-accordion - updated 23/11/2009
4// Latest version @ http://andylangton.co.uk/jquery-show-hide
5
6// this tells jquery to run the function below once the DOM is ready
7$(document).ready(function() {
8
9// choose text for the show/hide link - can contain HTML (e.g. an image)
10var showText='<div class="toggleimage1"></div>';
11var hideText='<div class="toggleimage2"></div>';
12
13// initialise the visibility check
14var is_visible = false;
15
16// append show/hide links to the element directly preceding the element with a class of "toggle"
17$('.toggle').prev().append(' <a href="Déplier et replier" class="toggleLink">'+showText+'</a>');
18
19// hide all of the elements with a class of 'toggle'
20$('.toggle').hide();
21
22// capture clicks on the toggle links
23$('a.toggleLink').click(function() {
24
25// switch visibility
26is_visible = !is_visible;
27
28// change the link depending on whether the element is shown or hidden
29$(this).html( ($(this).html() == hideText) ? showText : hideText);
30
31// toggle the display - uncomment the next line for a basic "accordion" style
32//$('.toggle').hide();$('a.toggleLink').html(showText);
33$(this).parent().next('.toggle').toggle('slow');
34
35// return false so any link destination is not followed
36return false;
37
38});
39});

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.