Created
December 9, 2012 13:15
-
-
Save vgrem/4244831 to your computer and use it in GitHub Desktop.
Inject jQuery Libraries and initialize jQuery UI Accordion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="FAQViewOverride" mode="RootTemplate" match="View[List/@TemplateType=11999]" ddwrt:dvt_mode="root"> | |
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/themes/redmond/jquery-ui.css" /> | |
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.8.0.js"></script> | |
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.22/jquery-ui.js"></script> | |
<script> | |
$(function() { | |
$( "#accordionFAQ" ).accordion(); | |
}); | |
</script> | |
<xsl:call-template name="View_Default_RootTemplate"/> | |
</xsl:template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment