testimonial
Version:
JS testimonial slider with AJAX
90 lines (89 loc) • 2.64 kB
JavaScript
var slideArr = [{
author: {
name: 'C.A. R. Hoare',
url: '',
avatar: './img/C.A. R. Hoare.jpg'
},
company: {
name: '',
url: ''
},
quote: 'There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies'
}, {
author: {
name: 'Martin Golding',
url: '',
avatar: ''
},
company: {
name: '',
url: ''
},
quote: 'Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live'
}, {
author: {
name: 'Linus Torvalds',
url: '',
avatar: './img/Linus Torvalds.jpg'
},
company: {
name: '',
url: ''
},
quote: 'Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program'
}, {
author: {
name: 'Charles Babbage',
url: '',
avatar: ''
},
company: {
name: '',
url: ''
},
quote: 'On two occasions I have been asked [by members of Parliament]: "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question'
}, {
author: {
name: 'L. Peter Deutsch',
url: '',
avatar: './img/L. Peter Deutsch.jpg'
},
company: {
name: '',
url: ''
},
quote: 'To iterate is human, to recurse divine'
}, {
author: {
name: 'Seymour Cray',
url: '',
avatar: './img/Seymour Cray.gif'
},
company: {
name: '',
url: ''
},
quote: 'The trouble with programmers is that you can never tell what a programmer is doing until it’s too late'
}, {
author: {
name: 'Alan Kay',
url: '',
avatar: './img/Alan Kay.jpg'
},
company: {
name: '',
url: ''
},
quote: 'Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves'
}, {
author: {
name: 'Steve Jobs',
url: 'http://allaboutstevejobs.com/',
avatar: './img/Steve Jobs.png'
},
company: {
name: 'Apple',
url: 'http://www.apple.com/'
},
quote: 'You can\'t just ask customers what they want and then try to give that to them. By the time you get it built, they\'ll want something new'
}];