Reputation: 743
Can someone please correct my code here. It works well in most browsers but I get an error in ie7. I'm sure it's a syntax thing:
<script type="text/javascript">
$(document).ready(function() {
$(".testimonail-label").addClass("-webkit-animation");
$(".banner h2").addClass("-webkit-animation");
$(".banner .test-name").addClass("-webkit-animation");
};
Upvotes: -1
Views: 84
Reputation: 3373
You forgot a ')'
<script type="text/javascript">
$(document).ready(function() {
$(".testimonail-label").addClass("-webkit-animation");
$(".banner h2").addClass("-webkit-animation");
$(".banner .test-name").addClass("-webkit-animation");
});
Upvotes: 2
Reputation: 163248
On the last line you forgot to close out the call to ready
:
};
should be
});
Upvotes: 1