Results 1 to 7 of 7

Thread: Problem with Ultimate Fade In Slide Show

  1. #1
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with Ultimate Fade In Slide Show

    1) Script Title: Ultimate Fade In Slide Show

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

    3) Describe problem: The script works good. On my website, I have some drop-down menus on the nav bar and they seem to go behind the images. What would cause this problem? My web address is www.waldoward.com.

    Thank you,

    Jeff Ward

  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

    From your CSSMenu_Horizontal.css file (additions red):

    Code:
    #menu
    {
    	width: 100%;	/* set width of menu */
    	background: #DDD8D8;
    	/*border: top right bottom left;*/
    	border-color: #CCCCCC #CCCCCC #CCCCCC #CCCCCC;
    	border-width: 1px 0px 1px 1px;
    	border-style: solid;
    	float: left;
    	position:relative;
    	z-index:99999999999999999;
    }
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you. I will give this a try.

    Jeff

  4. #4
    Join Date
    Dec 2007
    Location
    Cape Town, South Africa
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Multiple slideshows on one page

    Hello, I have implemented the script on the following website:
    www.habitatportal.co.za

    Its the rotating images in the middle of my page, but now I want to add the same slideshow to the TOPMOST section of my website and on the FAR RIGHT-HAND SIDE of the website also.

    Each slideshow will have different images, for example:
    the dimensions for the top slides are: 700px x 87x
    the dimensions for the Right-hand slides are: 150px x 600px

    How or where do I configure the code to make it a separate slideshow on the top and left of my site.

    Please assist....

  5. #5
    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

    The demo page already has two shows. It uses (unlike the demo code offered on the demo page, which has two similar image arrays) two different image arrays:

    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]=["../dynamicindex4/bs00825a.gif", "http://www.wired.com", ""]
    fadeimages2[1]=["../dynamicindex4/bs00847a.gif", "http://www.theregister.com", ""]
    fadeimages2[2]=["../dynamicindex4/hh01478a.gif", "http://www.news.com", "_new"]
    And (also unlike the demo code that has two calls in the same script block in the body) it uses two separate in body script calls:

    Code:
        <table border="0" width="450" cellspacing="0" cellpadding="0">
          <tr>
            <td><script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, pause, optionalRandomOrder)
    new fadeshow(fadeimages, 140, 225, 1, 3000, 1, "R")
    
    </script></td>
            <td><script type="text/javascript">
    new fadeshow(fadeimages2, 110, 110, 0, 4000, 0)
    
    </script></td>
          </tr>
    </table>
    These two in body calls can go wherever you need them in your source code. The dimensions are the 2nd (width) and 3rd (height) parameters in each call.
    - John
    ________________________

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

  6. #6
    Join Date
    Dec 2007
    Location
    Cape Town, South Africa
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, so I only copy the script tag to the body section where I want the pics to appear on my site?

    Is it possible to have more than two slides from the same script namely:

    fadeimages1 and fadeimages2 and fadeimages3

    I have only specified for two slides.

    Please assist.

  7. #7
    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

    Well, you also need the main script in or linked to the head of the page. The in body calls just use it. Now, I'm not sure what you mean by a slide, but if you mean an instance of a slideshow, those are virtually unlimited. Each should have its own unique fadeimages array defined in the main script, and its own in body script call that references its fadeimages array, sets its dimensions, pausing, and optional randomness.
    - 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
  •