I recently produced a web site using iWeb on the Apple Mac, it was a quick and easy way of producing a basic web site, which looks good. I wanted to make a couple of changes to it and have a couple of paragraphs expand when a user click a caption. To do this I used jQuery (innerfade), which I have used on other web sites, I found that jQuery conflicts with the iWebSite.js. To get around the problem I did the following:
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function(){....
</script>
Using noConflict fixed the problem and the fade worked fine.
No comments:
Post a Comment