Hey
I'm creating a website in Composite C1 v. 4 and I'm implementing a layout that requires an inline JavaScript. The JavaScript includes a greater-than sign (>). When Composite C1 renders this it's rendered as:
Here's my code:
I'm creating a website in Composite C1 v. 4 and I'm implementing a layout that requires an inline JavaScript. The JavaScript includes a greater-than sign (>). When Composite C1 renders this it's rendered as:
>
I tried putting <![CDATA[ ]]> around the script tags but that didn't help. I've read here that "The string that goes inside the CDATA declaration will sail through the entire Composite C1 rendering engine untouched and will be emitted 'as is' at the end (the CDATA declaration will be removed at this point)."Here's my code:
<![CDATA[
<script type="text/javascript">
// Equal Height Columns
jQuery.noConflict();
function equalHeight(group) {
tallest = 0;
group.each(function () {
thisHeight = jQuery(this).height();
if (thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
jQuery(document).ready(function () {
equalHeight(jQuery(".sf-menu-flat > li"));
});
</script>
]]>
It's this line I'm having problems with: if (thisHeight > tallest) {
Am I missing something?