Results 1 to 2 of 2

Thread: Removing Random property from rotating banner

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

    Default Removing Random property from rotating banner

    I am new to JavaScript and I am having trouble removing the random image order from my rotating banner. I want the images to rotate in a specific order and I can't figure it out. Please Help! The link to the test page with the JavaScript is below.

    http://ives.bz/graham/coors.html

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    .

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    In this case this perhaps deserves some explanation. That is an older version of The Ultimate Fade In Slideshow by Dynamic Drive. As such it requires the credit to be on the page (addition highlighted):

    Code:
    <script type="text/javascript">
    /***********************************************
    * Ultimate Fade-In Slideshow: (c) Dynamic Drive (http://www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["images/stock_barley1.jpg",""]
    fadeimages[1]=["images/stock_barleygray.png",""]
    fadeimages[2]=["images/stock_bar_s . . .


    To answer your question, change this:

    Code:
        <div class="java" id="java"><script type="text/javascript">
    	new fadeshow(fadeimages, 766, 260, 0, 3000, 1, "R")
    	</script></div>
    to:

    Code:
        <div class="java" id="java"><script type="text/javascript">
    	new fadeshow(fadeimages, 766, 260, 0, 3000, 1)
    	</script></div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •