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

Thread: swissarmy slideshow

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

    Default swissarmy slideshow

    1) Script Title:swissarmy slideshow

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

    3) Describe problem: I have a little problem with my slideshow, i use a swissarmy slideshow, but my problem is that i need transparent pictures (GIFs) for my slideshow. When the slide starts, first and second image goes ok, but other pictures have blinking when they change, that i don't want.

    link: http://free-ck.t-com.hr/dbf/inbox/swiss.html

    tnx in advance


  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

    You should set:

    Code:
    slides3.fadecolor='#003366';
    in with the other optional properties for slides3, or put this style on your page in the stylesheet:

    Code:
    #master0 div {
    background-color:#003366;
    }
    These styles:

    Code:
    * {
    font-family:arial;
    font-size:10pt;
    }
    div#show3 {
    background-color:#efefef;
    width:140px;
    margin:0 auto;
    border:1px solid #444444;
    }
    div#show3 table td, div#show4 table td {
    height:24px;
    background-image:url('38.gif');
    }
    div#show4 table td {
    background-image:url('40.gif');
    }
    div#show3 table input,  div#show4 table input {
    outline-style:none;
    }
    are all optional, and with the exception of (which does nothing now, because there is no text yet):

    Code:
    * {
    font-family:arial;
    font-size:10pt;
    }
    will do nothing on that page because there are no hooks in the layout for them. Since you obviously just copied them from the demo page without knowing what they do, I'd get rid of all of them.
    - John
    ________________________

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

  3. #3
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Tnx for the quick answer, if I set fadecolor like you said it works fine, but i want to use it with transparent background because below this layer where is slide show is background picture, so i will ask you again if there is a way to make slide works on transparent background.

    this is page where i want to use this slideshow

    http://free-ck.t-com.hr/dbf/inbox/main.html

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

    In that case, forget about the fadecolor property and add this style to your stylesheet:

    Code:
    #master0 div {
    background:url(http://free-ck.t-com.hr/dbf/inbox/images/inboxm.jpg) -325px -262px;
    }
    - John
    ________________________

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

  5. #5
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    it now works ok

    tnx a lot John, you solve my problem and i appreciate your help

    nice site, nice forum, nice people, and it all help me in my work

    rating: excellent


  6. #6
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default



    hm, i thought it would work, but it doesn't, need help again, i want to put 2 slideshows on my page, and if i put another slide, my pictures with text blinking again.

    link: http://free-ck.t-com.hr/dbf/inbox/main.html

  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

    "Give a man a fish and he will eat for a day. Teach a man to fish and he'll spend all of his time down at the dock drinking beer."

    I see you seem to have figured it out though. Each show makes its own master# division, starting with 0.
    - John
    ________________________

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

  8. #8
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tnx, you're right about the man and the fish

    little after i post this message, i figured it out by myself , and now all works ok

    but anyway i aprecciate your help

    tnx again


  9. #9
    Join Date
    Nov 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i hope i'm not bothering here

    another problem with multiple slideshows, and of course our loved IE6 which gives me so much headaches

    as you see, there are 4 slideshow, in all other browsers (FF,Netscape, Opera, Safari (win)) it all works ok, but IE6 expand my divs were are slideshows. I set height of these divs at 199px, but IE6 expand them, i don't know why, i try to fix it but no succes

    look for problem here, but only in IE6
    http://free-ck.t-com.hr/dbf/inbox/onama.html


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

    If you were to use the no_added_linebreaks=1 property for all of the arrays, ex:

    Code:
    var slides=[];
    slides[0] = ["images/o1_c.jpg", ""];
    slides[1] = ["images/o1_bw.jpg", ""];
    slides[2] = ["images/o1_bw.jpg", ""];
    slides[3] = ["images/o1_bw.jpg", ""];
    
    //optional properties for these images:
    slides.no_descriptions=1; //use for no descriptions displayed
    slides.pause=1; //use for pause onmouseover
    slides.no_controls=1;
    slides.no_added_linebreaks=1;
    slides.delay=700;
    By the way, any boolean property set equal to 0 need not be listed. And you don't need button_highlight if you have no image buttons.
    - 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
  •