Results 1 to 5 of 5

Thread: Swiss Army Image Slideshow / buttons

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

    Default Swiss Army Image Slideshow / buttons

    1) Script Title: Swiss Army Image Slideshow

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

    3) Describe problem: I don't find whre the position of the buttons is dedined in order to put them on the side or in another area

    Thanks for the help
    Last edited by lio; 03-30-2009 at 08:13 PM.

  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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    lio (03-29-2009)

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

    Default

    Thanks John, next time I start with a look in the older posts

    I have still an issue : I don't find why I can't adapt the image container height to the image height when I put the buttons in another area

    I put an example based on the original code :

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Document sans nom</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    
    <style type="text/css">
    
    #outer0 { left: 0px; }
    #show0 {width:200px;}
    #controls0 {position: relative; top: -50px; left: 200px; width: 0px; height: 0; overflow: visible; color: #CCCCCC;}
    #prev0, #next0 {background-color: #666666; color: #000; border: none;}
    
    </style>
    
    <!--[if IE]>
    <style type="text/css">
    div#show3 table td, div#show4 table td {
    height:21px;
    }
    </style>
    <![endif]-->
    
    <script type="text/javascript">
    
    //If using image buttons as controls, Set image buttons' image preload here true
    //(use false for no preloading and for when using no image buttons as controls):
    var preload_ctrl_images=true;
    
    //And configure the image buttons' images here:
    var previmg='left.gif';
    var stopimg='stop.gif';
    var playimg='play.gif';
    var nextimg='right.gif';
    
    
    var slides3=[]; //THIRD SLIDESHOW
    //configure the below images and descriptions to your own, note optional links, target and window specifications. 
    slides3[0] = ["1_side.jpg", "", "http://www.google.com", "_new", "top=250, left=300, width=500, height=300, location, resizable, scrollbars"];
    slides3[1] = ["2_side.jpg", ""];
    slides3[2] = ["3_side.jpg", "", "http://www.dynamicdrive.com"];
    slides3[3] = ["5_side.jpg", "", "http://www.msn.com", "_new"];
    //optional properties for these images:
    slides3.no_descriptions=1; //use for no descriptions displayed
    slides3.pause=1; //use for pause onmouseover
    slides3.image_controls=1; //use images for controls
    slides3.button_highlight='#cccccc'; //onmouseover background-color for image buttons (requires image_controls=1)
    slides3.specs='width=300, height=250' //global specifications for this show's new window(s)
    slides3.random=1; //set a random slide sequence on each page load
    slides3.manual_start=1; //start show in manual mode (stopped)
    
    //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;"
    
    </script>
    
    <script src="swiss_2.js" type="text/javascript">
    
    /***********************************************
    * Swiss Army Image slide show script  - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
    ***********************************************/
    
    </script>
    </head>
    
    <body>
    <table width="600" border="0" align="center" bordercolor="#999999" bgcolor="#666666">
      <tr>
    <td height="140" align="center" bgcolor="#CCCCCC" style="padding-top:5px;>
    
    <div id="show">
    <script type="text/javascript">
    new inter_slide(slides3)
    </script>
    </div></td>
    </tr>
    </table>
    </body>
    </html>

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

  6. The Following User Says Thank You to jscheuer1 For This Useful Post:

    lio (03-30-2009)

  7. #5
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    merci

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
  •