PageSourceSearch

https://eggbranding.com/-/js/script.js

js eggbranding.com collected 2026-09-26 08:50:38 UTC 2,090 bytes, 82 lines download raw bytes

1$(document).ready(function() {
2	$.Placeholder.init({ color : 'rgb(0, 0, 0)' });
3	// Add trailing slash to comment forms
4	var form = $('#comment_form, #search');
5    form.attr('action', form.attr('action')+'/');
6    
7	/* $('nav a.filter').hover(
8	function(){
9		var id = $(this).attr('id').split('-')[1];	
10		$('.work:not(.type-'+id+'), .circle').fadeTo('fast', .5);
11	}, function() {
12		var id = $(this).attr('id').split('-')[1];	
13		$('.work:not(.type-'+id+'), .circle').fadeTo('fast', 1);
14	}); */
15	if($('#work-col-right').hasClass('work') && $('#jump-links').html().trim()) {
16		$('#jump-links').show();
17	}
18	$('#jump-links a').click(function() {
19		var id = $(this).attr('id').split('-')[1];
20		$.scrollTo($('#t-'+id), 500, {offset: -30});
21		return false;
22	});
23
24	// Sharing Toggle
25	$('#share').click(function(){
26		$('#sharing').toggle();
27		return false;
28	});
29	$('.share a').click(function(){
30		$(this).next('.sharing').toggle();
31		return false;
32	});
33
34	//Partner show/hide 
35	$('.partner').click(function(){
36		$('.partners').hide();
37		$('#partner-'+$(this).attr('id').split('-')[1]).toggle();
38		return false;
39	});
40
41});
42
43
44
45$(window).load(function(){
46	function addTweets() {
47		var t = $('.tweet-ph');
48		t.first().html($('#first-tweet'));
49		t.last().html($('#second-tweet'));
50	}
51	// Homepage magic
52	$('#content').isotope({
53		masonry: {
54			columnWidth: 10
55		},
56		itemSelector : '.work, .circle, .tweet-ph'
57	});
58	addTweets();
59	$('.work, .featured').each(function() {
60		$(this).prepend('<span />');
61	});
62	// Fix double lines on orange circle
63	$('#content.home .circle').each(function(){
64		var txt = $(this).text();
65		if(txt == 'Who we work with') {
66			$(this).addClass('multiline').html('Who we<br />work with');
67		}
68	});
69	// Work Hovers
70	$('a.work.type-work').hover(function(){
71		var title = $(this).children('img').attr('alt');
72		var $slide = $('<div class="s" />').css('display', 'none');
73		$(this).append($slide);
74		$slide.text(title).animate({
75			width: 'toggle',
76			height: 'toggle',
77			opacity: '.9'
78		}, 350);
79	}, function() {
80		$('.s').fadeOut('fast', function() { $(this).remove(); });
81	});
82});

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.