-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathdemo.js
59 lines (53 loc) · 1.92 KB
/
demo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
$(document).ready(function(){
context.init({preventDoubleContext: false});
context.attach('body', [
{header: 'Download'},
{text: 'The Script', subMenu: [
{header: 'Requires jQuery'},
{text: 'context.js', href: 'http://lab.jakiestfu.com/contextjs/context.js', target:'_blank', action: function(e){
_gaq.push(['_trackEvent', 'ContextJS Download', this.pathname, this.innerHTML]);
}}
]},
{text: 'The Styles', subMenu: [
{text: 'context.bootstrap.css', href: 'http://lab.jakiestfu.com/contextjs/context.bootstrap.css', target:'_blank', action: function(e){
_gaq.push(['_trackEvent', 'ContextJS Bootstrap CSS Download', this.pathname, this.innerHTML]);
}},
{text: 'context.standalone.css', href: 'http://lab.jakiestfu.com/contextjs/context.standalone.css', target:'_blank', action: function(e){
_gaq.push(['_trackEvent', 'ContextJS Standalone CSS Download', this.pathname, this.innerHTML]);
}}
]},
{divider: true},
{header: 'Meta'},
{text: 'The Author', subMenu: [
{header: '@jakiestfu'},
{text: 'Website', href: 'http://jakiestfu.com/', target: '_blank'},
{text: 'Forrst', href: 'http://forrst.com/people/jakiestfu', target: '_blank'},
{text: 'Twitter', href: 'http://twitter.com/jakiestfu', target: '_blank'},
{text: 'Donate?', action: function(e){
e.preventDefault();
$('#donate').submit();
}}
]},
{text: 'Hmm?', subMenu: [
{header: 'Well, thats lovely.'},
{text: '2nd Level', subMenu: [
{header: 'You like?'},
{text: '3rd Level!?', subMenu: [
{header: 'Of course you do'},
{text: 'MENUCEPTION', subMenu: [
{header:'FUCK'},
{text: 'MAKE IT STOP!', subMenu: [
{header: 'NEVAH!'},
{text: 'Shieeet', subMenu: [
{header: 'WIN'},
{text: 'Dont Click Me', href: 'http://bit.ly/1dH1Zh1', target:'_blank', action: function(){
console.log(this);
}}
]}
]}
]}
]}
]}
]}
]);
});