Hello,
I am trying find a possibility to display rounded corners for IE8 and found this plugin:
http://jquery.malsup.com/corner/
I used a simple test to check wether the plugin works anyway. Using a simple *.html it works.
But unfortunatly it won't work in SilverStripe. In the templates/Page.ss I added 2 lines after $MetaTags:
<script type="text/javascript" src="/mysite/javascript/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/mysite/javascript/jquery.corner.js"></script>
To make sure the div exist when I use the corner() function I added some more lines:
<script type="text/javascript">
$(document).ready(function(){
$('#Banner').corner();
});
</script>
The Banner-div is defined in /templates/Layout/Home.ss I try to move the div to Page.ss but it won't work either. Firebug shows this error:
$("#Banner").corner is not a function