Results 1 to 6 of 6

Thread: Need slideshows stacked vertically as background

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Cool Need slideshows stacked vertically as background

    I'd like to stack a series of small slideshows vertically as the background behind a foreground border image.

    I am brand new to this. I can use both the ultimate and swiss army slideshows successfully, and the code I found for stacking background images vertically behind a foreground image works fine too.

    But I don't know how to combine them.

    Here is the background that I can use with an example (****) of what I would like to do with the results from the javascript slideshow, if it were possible.

    <style>
    span#column {
    float:right;
    width:191px;
    height:787px;
    font:0px/0px serif;
    background-image:url(file:///Users/boss/Desktop/rt-col/0a-rec-2.png),
    ****url('javascript:new fadeshow(fadeimages, 176, 846, 0, 3000, 0)'),****
    url(file:///Users/boss/Desktop/rt-col/3b-ryle-2.png),
    url(file:///Users/boss/Desktop/rt-col/3c-durer.png),
    url(file:///Users/boss/Desktop/rt-col/3d-carolina-church.png);
    background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: 9px 0.1%, 9px 99px, 9px 265px, 9px 430px, 9px 597px;
    }

    head:first-child+body span#column {
    width:auto;height:auto
    }

    span#column:before {
    content:url(file:///Users/boss/Desktop/rt-col/1-foreground.png);
    }
    </style>
    By the way, the reason for doing it this way is that the images will be about 20% the size than the ones I would use for the ultimate or swiss army slideshows as they are. Since I am using about twenty thumbnails total, I want to keep the load down. A gif worked, but the quality is very poor, and if I change one little thing, I have to make it all over. Also, by loading the slideshows in a background stacked, I can control the slideshow settings and make changes more easily.

    Thanks to anyone who can show me a code!

  2. #2
    Join Date
    Dec 2006
    Posts
    47
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default

    I write a slide show once in awhile but, I don't worry about xBrowser unless I get paid. You only need to have the first and last images the same...
    PHP Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <
    HTML>
    <
    HEAD><TITLE>Previewer</TITLE>
    <
    META http-equiv=Content-Type content="text/html; charset=windows-1252">
    <
    STYLE type=text/CSS>
    body{margin:0px;background-color:#000000;}
    img{filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);}
    .
    play{background:navy;color:ivory;height:22px;width:18px;font-family:arial;font-size:14px;font-weight:bold;}
    .
    stop{background:red;color:ivory;height:22px;width:18px;font-family:arial;font-size:14px;font-weight:bold;}
    </
    STYLE>
    <
    SCRIPT type="text/javascript">
    var 
    timer='';var a=3;var t=20; var loop=0;
    function 
    playQ(w){
    if(
    w>0){
    if(
    document.images[w].filters.item('DXImageTransform.Microsoft.alpha').opacity>){
    document.images[w].filters.item('DXImageTransform.Microsoft.alpha').opacity-=a;
    timer=setTimeout('playQ('+w+')',t);
     }
    else{
    w--;timer=setTimeout('playQ('+w+')',2000)}
    }
    else{
    for(
    i=document.images.length-1;i>0;i--){document.images[i].filters.item('DXImageTransform.Microsoft.alpha').opacity=100
    loop++;
    if(
    loop==2){alert('loop-'+loop)}

    else{    
    timer=setTimeout('playQ(document.images.length-1)',2000);}
     }
    }

    </SCRIPT>
    <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
    <BODY scroll=no>
    <table style="height:100%;width:100%;text-align:center"><tbody><tr><td>
    <div id="cropper" style="width:930px;height:570px;overflow:hidden;background-color:#b0b0b0">

    <img style="position:absolute;top:-46px;left:-12px;z-index:0;width:1024px;" src="1.jpg">
    <img style="position:absolute;top:-23px;left:-78px;z-index:3;width:1024px;" src="3.jpg">
    <img style="position:absolute;top:-41px;left:-58px;z-index:3;width:1024px;" src="2.jpg">
    <img style="position:absolute;top:-23px;left:-78px;z-index:3;width:1024px;" src="3.jpg">
    <img style="position:absolute;top:-46px;left:-12px;z-index:3;width:1024px;" src="1.jpg">
    </div></td></tr></tbody></table>

    <div style="position:absolute;right:0px;top:0px;width:72px">
    <input type=button class=play onclick="playQ(document.images.length-1)"  value="Q">
    <input type=button class=stop onclick="clearTimeout(timer)"  value="stop">
    </div>


    </BODY></HTML> 

  3. The Following User Says Thank You to Kenny For This Useful Post:

    testeingchecking (03-20-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks! I'll give this a try this weekend.

  5. #4
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks, but my server does not recognize the code, I presume because it is PHP. The website is a non-profit using a discount service, so I have no control over that.

    So if anyone has a code that would run the swissarmy slideshow script as a vertical column of images behind a foreground image (which I have already designed), I would be ecstatically happy and grateful.

    I think it would be really easy; I am just too ignorant to figure it out.

  6. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by testeingchecking View Post
    Thanks, but my server does not recognize the code, I presume because it is PHP.
    Hmm...no, it's javascript. Discount host or not, javascript should work.

    What are you seeing on the page when you insert it? Perhaps paste the code that you're using because you probably just inserted it wrong.

    On another note, I'm not quite sure this script is what you need anyway but I'm unclear on what you mean by "stacked" -- either on top of each other vertically (so you see all the images at once) or literally on top of each other (so you're only seeing one).

  7. #6
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hmm... I could have sworn it said PHP. LOL.

    Oh well, the server's down now, maybe that had something to do with it not working.

    Anyway, I don't think the above script would have been what I am hoping for. By "vertical stack" I mean a column of quick, thumbnail slideshows (or rather "rotating images"). If the server were up, I could upload a dithered gif that shows the behaviors I mean.

    I wanted to run that column of "slideshow" thumbnails behind a foreground image used as a frame (with a transparent middle, curved corners, and shadow around the edge), so that I could change the images more easily if I had to. Otherwise, I have to edit the images one by one and add the frame by hand.

    That's why I tried to combine the Ultimate Slideshow script with code for background and foreground images. It looks easy to do, but my skills are too basic. The code I have works great for static images, but I do not know how to modify it for rotating images.

    With the server down, I can't show what I mean.

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
  •