Results 1 to 2 of 2

Thread: getting Drop-in to work

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

    Default getting Drop-in to work

    1) Script Title: Drop In slide show

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ropitslide.htm

    3) Describe problem: I am new to this java script so sorry. I have pasted the script in and it is not loading the images.

    I'm also not sure what to do with this:

    (The code references an external .js file, which you should download below:
    * dropinslideshow.js) When I click on this link it just open up code?

    I've been successful with Ultimate Fade-in slide show but it took a while

    1. Where/how do I tell drop-in to go to get images and which ones..... likefad-in?
    2. The reason I am using this drop-in is so that I can run two slide shows on one page is this do-able?
    3. Once I paste the code am I going to chnge any of it if so which lines of code do I change to get my images?

    I would paste the code but I don't understand this (If your post includes code, wrap it around using the [CODE] tag for multi-line code, and the [ICODE] tag for inline code that's part of a sentence. )

    Thanks
    Eric

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

    Default

    The code references an external .js file, which you should download below:
    * dropinslideshow.js) When I click on this link it just open up code?
    That's normal. To actually save the file, don't left click it, and Right click it, and select "Save As" to save it. Don't forget to upload the file to your server.

    With regards to Ultimate Fade-in slide show, the path to the images are all specified near the top of the script, in the following chunk:

    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
     
    var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
    fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    The paths to the images can be relative or absolute, though use absolute if you're not sure.
    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
  •