Skip to content

Instantly share code, notes, and snippets.

@runningskull
Created August 30, 2011 00:10
Show Gist options
  • Save runningskull/1179764 to your computer and use it in GitHub Desktop.
Save runningskull/1179764 to your computer and use it in GitHub Desktop.
Add FAQ's to SnapEngage: The Javascript
$('.SnapABug_Button').live('click', function() { setTimeout(function() {
var style = {width: 695};
var $wp = $('#SnapABug_WP');
var $p = $('#SnapABug_P');
$p.animate(style, 250, 'easeInOutQuad');
$wp.animate($.extend(style, {left: $wp.offset().left - 100}), 250, 'easeInOutQuad');
$p.find('form').after($('#question-links').html());
}, 500)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment