That error is with your other jQuery script (jquery-1.4.1.js), not the one (jquery.min.js) used for the slide show, and there's another script error as well:
Fortunately, you only need one version of jQuery for the page, and the other error is a result of a conflict between cufon-yui.js and jQuery which can be avoided. Also, there is a new version of jQuery (1.4.2) that will work with the slide show that doesn't have the error that 1.41 has.
The only potential problem is, if you are actually using jQuery 1.4.1 for something else on the page and if that something else cannot run in noConflict mode (the default for the slide show, and required if you actually need the cufon-yui.js script).
Hope you're still with me. If so, change this in your page's source code:
Code:
<script src="js/jquery-1.4.1.js" type="text/javascript"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/Futura_700.font.js" type="text/javascript"></script>
<script src="js/date.js" type="text/javascript"></script>
<style type="text/css">
.style2 {
text-align: right;
}
.style3 {
width: 100%;
overflow: hidden;
text-align: right;
}
.style4 {
color: #818181;
}
.style6 {
color: #818181;
font-size: x-small;
}
</style>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
to:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/Futura_700.font.js" type="text/javascript"></script>
<script src="js/date.js" type="text/javascript"></script>
<style type="text/css">
.style2 {
text-align: right;
}
.style3 {
width: 100%;
overflow: hidden;
text-align: right;
}
.style4 {
color: #818181;
}
.style6 {
color: #818181;
font-size: x-small;
}
</style>
As I say, that might cause a problem for some other jQuery dependent script on the page (if any). If it does, that other script will have to be put into noConflict mode. However, I doubt that's an issue because I would probably be detecting an error as regards that, and I'm not. If you are using a common header via server side includes or some other CMS type thing, there might be a problem as regards this on other pages. If so, the jQuery dependent script(s) on that other page(s) will need to be put into noConflict mode.
If you want to host your own copy of the jQuery 1.4.2 script, you may download it from the link in the src attribute:
http://ajax.googleapis.com/ajax/libs.../jquery.min.js
(right click, 'save as')
Bookmarks