Results 1 to 6 of 6

Thread: Swissarmy Slideshow - Alternate image fade in problem

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

    Unhappy Swissarmy Slideshow - Alternate image fade in problem

    1) Script Title:

    Swiss Army Slideshow

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...army/index.htm

    3) Describe problem:

    In a nutshell - only alternate images in slideshow are displaying fade in/out effect.

    You can experience this problem at:

    http://www.keenowl.com/index-sample2.html

    Very similar problem to what forum user CECSYSTEMS outlined at:

    http://www.dynamicdrive.com/forums/s...ight=swissarmy

    I tried to follow all the suggestions, mainly updating DOCTYPE and checked tags and metatags

    I am a new coder but have had a lot of success with many DD scripts...but cannot get this one to workout well. :-(

    Any help will be greatly appreciated. thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,074
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    The DOCTYPE must be the absolutely first thing on the page. You have:

    Code:
    <link href="images/favicon.ico" rel="shortcut icon">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
    The favicon link tag belongs in the head, after the title.

    In an unrelated matter, you also have a call in your body tag to:

    Code:
    MM_preloadImages()
    and a number of calls from link (<a>) tags to:

    Code:
    MM_swapImgRestore()
    and:

    Code:
    MM_swapImage()
    None of these functions appear to actually be available to the page.

    Edit: BTW - Those are some very nice custom buttons!
    Last edited by jscheuer1; 01-24-2008 at 05:14 AM. Reason: add compliment
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Thank you, jscheuer1. Your clear and brief instructions did the trick.

    Thank you so much!

    Everything on the KeenOwl Books sample page works great now.

    thanks as well for the other comments on the code...fixed those as well.

    Au Revior!

  4. #4
    Join Date
    Jul 2008
    Location
    Roskilde, Denmark
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink Swiss Army

    Thanks, Jscheuer1

    Your answer to KeenOwl about problems with the fading in the swiss army slideshow did help me too.

  5. #5
    Join Date
    Jul 2008
    Location
    Roskilde, Denmark
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Still problems after moving the <!DOCTYPE HTML ...

    Hope someone can help me!

    I just watched the slideshow to see if all images was fading after moving the <!DOCTYPE HTML ...>-tag. And it worked.

    Afterwards my attention was drawned to my top graphic and the positioning (using tables and spacers) was mixed up.

    Have a look how it should be at http://www.foh.dk and
    how it turns out moving the <!DOCTYPE HTML ....>:
    http://beta.foh.dk/messelysdk


  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,074
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Munther View Post
    Hope someone can help me!

    I just watched the slideshow to see if all images was fading after moving the <!DOCTYPE HTML ...>-tag. And it worked.

    Afterwards my attention was drawned to my top graphic and the positioning (using tables and spacers) was mixed up.

    Have a look how it should be at http://www.foh.dk and
    how it turns out moving the <!DOCTYPE HTML ....>:
    http://beta.foh.dk/messelysdk

    This is really an issue with the layout of your page which has many problems, or at least potential problems from the point of view of following standards, as well as good practices in layout and design. This is not to say that when rendered as you intend it that it isn't a good design concept, as far as the intended look of the page goes. That part is good to very good.

    However, just that one issue you mentioned seems to be resolved by changing the text-align style property of that td to left (it is currently set as center, at least in IE and some others). I cannot see where it is set to center though. It looks like it is inheriting it from <div align="center"> that contains it. Probably just adding this to your stylesheet will correct it:

    Code:
    .toprow td {
    text-align:left!important;
    }
    - 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
  •