Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Banner rotator check...

  1. #1
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Banner rotator check...

    Banner Rotator

    --------------------
    1) Script Title: MultiFrame Image slideshow

    2) Script Url (on DD): http://www.dynamicdrive.com/dynamici...frameslide.htm
    --------------------

    http://www.phantomlights.com/indexTEST.html

    Can anyone please check this code and tell me why it isn't rotating images? There are three uploaded, only two show and those two are static. New test links work though, just not rotating in the third banner. Once working, I'll adjust files and links, these are just dummies to get it working.

    Thanks!

    Steve
    Last edited by james438; 12-14-2012 at 02:04 AM. Reason: Added link and title of script

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,963
    Thanks
    16
    Thanked 305 Times in 304 Posts
    Blog Entries
    11

    Default

    Don't forget the link to the script on DD! Makes life do much easier http://www.dynamicdrive.com/dynamici...frameslide.htm

    I could be wrong but I think the slideshow *is* working - it appears that you have the "var slidesdelay=20" set so fast that it looks like nothing is happening. You have it set to 20, which is equal to 100th of a second. The demo is set to 2000, which is 2 seconds. Increase the slidesdelay back to 2000 to see if that makes a difference then let us know the outcome.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I don't think that it is working, as even modifying the value of slidesdelay in chrome devtools does not make it work. I think it's a good idea to look at this error:
    Uncaught TypeError: Cannot read property 'filters' of undefined indexTEST.html:209
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  4. #4
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bernie1227 View Post
    I don't think that it is working, as even modifying the value of slidesdelay in chrome devtools does not make it work. I think it's a good idea to look at this error:
    That's canned code I'm not supposed to edit. I fixed the time back to 2000.

    Still nothing.

  5. #5
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Found the issue, find this line in the script(line 208):
    Code:
    var slideobj=document.getElementById("seqslide"+slideindex).getElementsByTagName("IMG")[0]
    and adjust it to:
    Code:
    var slideobj=document.getElementById("seqslide"+slideindex)
    It worked for me.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  6. #6
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, it is rotating...but it is including all three files in two rows instead of just two side-by-side. We're close though!!!

  7. #7
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I'm having trouble with my local copy of it, so this is a bit hit and miss, but try adjusting this line:
    Code:
    var slidestoreveal=2
    To:
    Code:
    var slidestoreveal=1
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  8. #8
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    LOL!!! 3=2, 2=1, sure... okay... that'll never work... DOH!!! Worked.

    Now to adjust the sizes so they stay on one line...

    THANKS!!!!

  9. #9
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Well, it seems the odd stab in the dark works!
    If this thread is finished, please set it to resolved.
    You can do this by editing the first post within the thread - Pressing go advanced - Then where it says no prefix, selecting resolved then save.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  10. #10
    Join Date
    Dec 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Almost!

    Quote Originally Posted by bernie1227 View Post
    Well, it seems the odd stab in the dark works!

    Okay, seems to be rotating now! Oddly, the combined width of the two banners can't approach the table width or it will kick it into two rows. That leaves and ugly space on the right I can't address. Is there code I can add that will center this script in the space? It appears it is left justified. I'd love to make the banners full width, but at least a symmetric space on each side would be better than current spacing.


    THANKS!!!

Similar Threads

  1. Looking for a banner rotator for my site
    By nattie in forum Looking for such a script or service
    Replies: 12
    Last Post: 07-07-2011, 03:44 AM
  2. Resolved adding static png to a javascript banner image rotator
    By drub4n in forum Looking for such a script or service
    Replies: 1
    Last Post: 03-06-2010, 04:14 PM
  3. Banner Rotator on Timing
    By jandjweb in forum JavaScript
    Replies: 6
    Last Post: 10-13-2007, 07:21 AM
  4. i need a banner rotator
    By icenat7 in forum JavaScript
    Replies: 1
    Last Post: 05-29-2006, 06:02 PM
  5. i need a banner rotator
    By icenat7 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-29-2006, 06:02 PM

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
  •