treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] anything slider script Problem in IE6

  • hi, i added anything slider javascript.its works fine all latest version of like firefox ,safari,chrome ,opera and IE.
    i had a problem in IE6 look the height of the image slider.
    here is my site link www.1-800-optisource.com
    please guys help me out what the problem in ie6

    Thanks
  • Hi Vaklove!

    Sadly (not really), I don't have IE6 on my computer so I wouldn't be able to test out the problem you are having. But, maybe try including the panel dimensions in the css
    #slider1, #slider1 .panel {
    position:relative;
    height:282px;
    width:760px;
    margin:0;
    padding:0;
    }
    If it's still not working, then it is most assuredly a css problem. If your client insists that it works in IE6... show them this site LOL. If it still doesn't work, then honestly try an older version of AnythingSlider - I think 1.3 was working in IE6, but don't take my word on that - get it here.
  • hi Mottie
    Thanks for reply but still not working .
  • What exactly isn't working? Is it a css problem or something more serious?
  • it is css problem .slider height is not working.
  • <div class="anythingSlider anythingSlider-minimalist-round activeSlider" style="height: 282px; width: 760px; "></div>

    height of this div is in FF and Chrome is works fine but when you run on ie 6 its takes height:"2842px"
    <DIV class="anythingSlider anythingSlider-minimalist-round activeSlider" style="WIDTH: 760px; HEIGHT: 2881px" jQuery16206165310018874086="13">

  • Hmm, are all of the images lined up correctly inside the panel? Maybe try adding this css:
    .anythingSlider, .anythingWindow, .anythingBase, .anythingBase li {
    height: 282px !important;
    }
    It's not ideal, but as I said before I really don't care about IE6 and I don't plan on installing it on my computer.
  • it's works. Thanks very much.i appreciated ..