I'm trying to get a custom slider implemented into my WHMCS install, and for some reason, the jQuery that is embedded on the page keeps getting by what I assume to be WHMCS. The code works flawlessly in a regular .html file. Here's my code:
<script type="text/javascript">
$(function(){
$function("#faded").faded({
speed: 500,
crossfade: true,
autoplay: 10000,
autopagination:false
});
$('#domain-form').jqTransform({imgPath:'jqtransformplugin/img/'});
});
</script>
But when I load the page in a browser, this is what is rendered:
<script type="text/javascript">
$(function());
$('#domain-form').jqTransform();
});
</script>
Any ideas why?