Results 1 to 2 of 2

Thread: Simple Controls Gallery: No preloading?

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple Controls Gallery: No preloading?

    Hi,

    is there a way to suppress the preloading of images?
    Tnx for a hint.

    http://www.dynamicdrive.com/dynamici...plegallery.htm

    Ronald

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try finding the following block inside the .js file, and comment out the noted lines using "//":

    Code:
    	for (var i=0; i<setting.imagearray.length; i++){
    		//preloadimages[i]=new Image()
    		//preloadimages[i].src=setting.imagearray[i][0]
    		if (setting.imagearray[i][3] && setting.imagearray[i][3].length>setting.longestdesc.length)
    			setting.longestdesc=setting.imagearray[i][3]
    	}
    DD Admin

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
  •