Results 1 to 2 of 2

Thread: help................

  1. #1
    dattapuro
    Guest

    Question help................

    hi there,

    Can anybody help ? I want one time fader image, can possible?

    I would appreciate any reply

    Thanks
    dp

  2. #2
    Addicted Member TheGoldenShogun's Avatar
    Join Date
    Mar 2001
    Location
    VA/MD... anywhere around the beltway
    Posts
    236
    if you mean like a slideshow.. I can show you what I got going on on my site

    //Make the preloaded image array
    var preLoad = new Array();
    var Pic = new Array();
    var t
    var p = Pic.length
    var subAmnt = 272;
    preLoad[0] = new Image();
    preLoad[0].src = "/proofs/image1.gif";

    preLoad[1] = new Image();
    preLoad[1].src = "/proofs/image1.gif";

    preLoad[2] = new Image();
    preLoad[2].src = "/proofs/image1.gif";

    preLoad[3] = new Image();
    preLoad[3].src = "/proofs/image1.gif";

    preLoad[4] = new Image();
    preLoad[4].src = "/proofs/image1.gif";


    //set slide transition speed
    var slideShowSpeed = 4000

    //set j counter (displays which image in array)
    var j = 0 + 1;

    var crossFadeDuration = 3

    function startGame()
    {
    //startGame function called onload of the body
    setTimeout('runSlideShow()', 4000);
    }

    function runSlideShow(){
    if (document.all)
    {
    document.SlideShow.style.filter="blendTrans(duration=2)"
    document.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
    document.SlideShow.filters.blendTrans.Apply()
    }
    document.SlideShow.src = preLoad[j].src
    if (document.all)
    {
    document.SlideShow.filters.blendTrans.Play()
    }
    setTimeout('runSlideShow()', slideShowSpeed)
    j = j + 1
    if (j == (0 + 4))
    j=0


    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width