Results 1 to 2 of 2

Thread: Fadeslideshow has issue with $(document).ready(function(){

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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?

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    you could change
    $(document).ready(function()
    to
    jQuery(document).ready(function($)
    an alternative is to remove
    jQuery.noConflict()
    from the fadeslideshow.js

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •