Results 1 to 3 of 3

Thread: Swiss Army knife pictures being cut off

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

    Default Swiss Army knife pictures being cut off

    I'm using this excellent plug in and love it. But I find images get cut off from time to time. A browser refresh usually cures it. I've altered the programming a bit so that the list of pictures comes from a database, so that it can be edited by my client.

    You can see the website at http://www.artleasecanada.ca/new the slide show is on the left. If you scroll around here and there, you'll find that the slide show starts to cut off some vertical pictures, about halfway down.

    Any help appreciated.

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,807
    Thanks
    2
    Thanked 423 Times in 417 Posts

    Default

    a number of your images are higher than the parent DIV

    set the maximum height in the configuation

    Code:
    var slides=[];
    
    
    //optional properties
    slides.no_descriptions=0; //use for no descriptions displayed
    slides.pause=0; //use for pause onmouseover
    slides.image_controls=0; //use images for controls
    slides.button_highlight='#cccccc'; //onmouseover background-color for image buttons (requires image_controls=1)
    //slides.specs='width=1200, height=950' //global specifications for this show's new window(s)
    slides.random=1; //set a random slide sequence on each page load
    slides.manual_start=0; //start show in manual mode (stopped)
    slides.no_controls=1;
    slides.delay=3000;  //speed of slideshow-- exposure is 3 secs
    slides.height=400;  //the height if the largest image
    //Notes:
    //slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
    //slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
    //slides#.fadecolor will set fading images background color, defaults to white
    //slides#.no_controls will set a slide show with no controls
    //slides#.random will set a random slide sequence on each page load
    //slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
    //slides#.jumpto=1 will display added controls to jump to a particular image by its number
    //slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls
    
    //use below to create a customized onclick event for linked images in a given show:
    //slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"
    Last edited by vwphillips; 08-19-2014 at 08:42 AM.
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Mar 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks-- I hope that works. It sends the caption down a bit further, but as the cutting-off effect was inconsistent I'm not sure this is the cause. I'll let you know, but I appreciate the quick response.

Similar Threads

  1. Swiss Army Knife Slideshow
    By Argyll Tech in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 06-30-2010, 05:44 PM
  2. Swiss Army Knife not displaying
    By ijyoung in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-23-2009, 03:06 PM
  3. Swiss Army Pushdown
    By Nano in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-24-2008, 01:08 PM
  4. Images: swiss knife with buttons
    By auntnini in forum Looking for such a script or service
    Replies: 5
    Last Post: 09-11-2008, 11:54 PM
  5. Swiss Army Positioning
    By Pixel Pixie in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-08-2007, 04:30 AM

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
  •