PageSourceSearch

https://jackdreilly.github.io/old-page/js/onload.js

js jackdreilly.github.io collected 2026-10-03 09:21:57 UTC 1,929 bytes, 31 lines download raw bytes

1$('document').ready(function() {
2  $('.dropdown-toggle').dropdown();
3  $("#collapseOne").collapse("hide");
4  $("#collapseOne").collapse("show");
5  $('#soundcloud-button').click(function() {
6    $(this).attr("disabled", 'disabled');
7    $('#soundcloud').append('<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F69525722&show_artwork=true"></iframe>\
8                            <iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F54906444&show_artwork=true"></iframe>\
9                            <iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F54904557&show_artwork=true"></iframe>\
10                            <iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F54898737&show_artwork=true"></iframe>');
11});
12$('#youtube-button').click(function() {
13  $(this).attr("disabled", 'disabled');
14  $('#youtube').append('<iframe width="420" height="315" src="http://www.youtube.com/embed/bXgQsY03SFg" frameborder="0" allowfullscreen></iframe>\
15                       <iframe width="420" height="315" src="http://www.youtube.com/embed/J_8X04iqK1A" frameborder="0" allowfullscreen></iframe>\
16                       <iframe width="420" height="315" src="http://www.youtube.com/embed/4oRGu6TJND0" frameborder="0" allowfullscreen></iframe>');
17});
18
19
20$('.scrollPage').click(function() {
21 var elementClicked = $(this).attr("href");
22 var destination = $(elementClicked).offset().top;
23 $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-40}, 300 );
24 return false;
25});
26
27$('.carousel').carousel({
28  interval: false
29});
30
31});

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.