Ever wondered how to add css / Javascript into a custom publishing page layout. I did!!!! Just add the PlaceHolderAdditionalPageHead content placeholder tag and voila!!!!
<asp:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
//some css
</style>
<script type="text/javascript">
//some js
</script>
</asp:Content>
No comments:
Post a Comment