-
Fadeslideshow has issue with $(document).ready(function(){
1) Script Title: fadeslideshow.js
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm
3) Describe problem:
I have jquery scripts in a js file that uses $(document).ready(function(){ at the beginning of the file. When I added the fadeslideshow.js to my web page the line causes an error. If I remove $(document).ready(function(){ in my script, that code does not work.
How can fadeslideshow.js and my js file that includes $(document).ready(function(){ work together?
-
-
you could change
$(document).ready(function()
to
jQuery(document).ready(function($)
an alternative is to remove
jQuery.noConflict()
from the fadeslideshow.js
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks