Results 1 to 4 of 4

Thread: need some help pls

  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need some help pls

    1) Script Title: Conveyer Belt Slideshow

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

    3) Describe problem: Great slideshow script! But only in IE it leaves a gap between the last and first picture......how can i fix that?

    Karin

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Not sure what you mean; but when you view the demo script (on Dynamic Drive), is there a "gap" between the images there as well? If so, try editting this line in the code:

    Code:
    //Specify pixels gap between each slideshow rotation (use integer):
    var slideshowgap=5
    Change the part in red to a lower number until you get the result you are looking for. However, if it does not do the same thing as on your page, a link back to your problem page would be useful to us (so that we can troubleshoot the problem.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thanks you

    thanks for you reply, i aligned the script center, that doenst work in IE (its fine in opera and FF) so in IE the script has to be aligned left.
    karin

  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

    When you use align="center", it gets tricky in IE, especially with scripts like conveyor. In IE, instead of putting an element around the show with align="center", edit the script here:

    Code:
    document.write('<table align="center" border="0" cellspacing="0" cellpadding="0"><td>')
    Or, if you are using a DOCTYPE that causes IE to use standards or 'almost standards' mode, you can center it by using style in a containing element of the same width as the slide show and margin:0 auto; (for the demo slider that has a width of 300px):

    Code:
    <div style="width:300px;margin:0 auto;">
    slide show script goes here
    </div>
    - 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
  •