Username:
Password:

Hello Guest


If you want to join in our community , please register or login , you have in header a login form , or if you want to register ,press me .
  • Forum
  • Forum
  • Forum
  • Forum
  • Forum
  • fmSoftware is for sale , if you want to buy the forum and/or the old themes , jaques.gfx skype or roby_cs_reax@yahoo.com for EMAIL.

    You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    Lovely King

    Posts : 100
    Points : 1631
    Thanks : 0
    User

    how can i do slideshow like here

    http://playbox.rpgboard.net/

    Heart 

    Sasori

    Posts : 311
    Points : 1865
    Thanks : 5
    Administrator

    Hello , try this :

    Code:
    <style type="text/css">
    .picshow { z-index:444; position:relative; background-color:#ffffff; width: 100%; height: 135px}
    .picshow_main { position: relative; width: 180px; height: 135px}
    .picshow_main .imgbig { filter: progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward); width: 180px; height: 135px}
    .picshow_change {position: absolute; text-align: left; bottom: 0px; height: 30px; right: 0px; left: 100px;}
    .picshow_change img {width:15px; height: 15px}
    .picshow_change a { border: 1px solid; display: block; float: left; margin-right: 5px;  -display: inline}
    a.axx { border-color: #555}
    a.axx:hover {border-color: #000}
    a.axx img { filter: alpha(opacity=40); opacity: 0.4; -moz-opacity: 0.4}
    a.axx:hover img {filter: alpha(opacity=100); opacity: 1.0; -moz-opacity: 1.0}
    a.bxx { border-color: #000}
    a.bxx:hover {border-color: #000}
    img{border:0px}
    </style>

    <script language="javascript">

     var counts = 3;
     
     img1 = new Image(); img1.src = 'http://hitskin.com/themes/13/27/62/thumb.png';
     img2 = new Image(); img2.src = 'http://hitskin.com/themes/12/62/62/thumb.jpg';
     img3 = new Image(); img3.src = 'http://hitskin.com/themes/13/82/61/thumb.png';

     var smallImg = new Array();

     smallImg[0] = 'http://i60.servimg.com/u/f60/12/10/25/45/index_10.gif';
     smallImg[1] = 'http://i60.servimg.com/u/f60/12/10/25/45/index_11.gif';
     smallImg[2] = 'http://i60.servimg.com/u/f60/12/10/25/45/index_12.gif';

     url1 = 'http://en.hitskin.com/search-a-skin/black-gold-132762.htm';
     url2 = 'http://en.hitskin.com/search-a-skin/360-elite-126262.htm';
     url3 = 'http://en.hitskin.com/search-a-skin/ipvista-138261.htm';

     alt1 = new Image(); alt1.alt = 'Black Gold';
     alt2 = new Image(); alt2.alt = '360 Elite';
     alt3 = new Image(); alt3.alt = 'IP Vista';
     
     var nn = 1;
     
     var key = 0;
     
     function change_img() {
      if (key == 0) {
      key = 1;
      } else if (document.all) {
      document.getElementById("pic").filters[0].Apply();
      document.getElementById("pic").filters[0].Play(duration = 2);
      }
      eval('document.getElementById("pic").src=img' + nn + '.src');
      eval('document.getElementById("url_theme").href=url' + nn);
      eval('document.getElementById("pic").alt=alt' + nn + '.alt');
      if (nn == 1) {
      document.getElementById("url_theme").target = "_blank";
      document.getElementById("url_theme").style.cursor = "pointer";}
      else {
      document.getElementById("url_theme").target = "_blank"
      document.getElementById("url_theme").style.cursor = "pointer"
      }
      for ( var i = 1; i <= counts; i++) {
      document.getElementById("xxjdjj" + i).className = 'axx';
      }
      document.getElementById("xxjdjj" + nn).className = 'bxx';
      nn++;
      if (nn > counts) {
      nn = 1;
      }
      tt = setTimeout('change_img()', 7000);
     }
     
     function changeimg(n) {
      nn = n;
      window.clearInterval(tt);
      change_img();
     }

     function ImageShow() {
      document.write('<div class="picshow_main">');
      document.write('<div><a id="url_theme"><img id="pic" class="imgbig" /></a></div>');
      document.write('<div class="picshow_change">');
      for ( var i = 0; i < counts; i++) {
      document.write('<a href="javascript:changeimg(' + (i + 1)
        + ');" id="xxjdjj' + (i + 1)
        + '" class="axx" target="_self"><img src="' + smallImg[i]
        + '"></a>');
      }
      document.write('</div></div>');
      change_img();
     }
    </script>

    <script language="javascript" type="text/javascript">
     ImageShow();
    </script>

    Source : http://help.forumotion.com/t78823-slideshow-code?highlight=%2Bslideshow

    Lovely King

    Posts : 100
    Points : 1631
    Thanks : 0
    User

    It is too small is there any code for another slideshow

    Gamrpro

    Posts : 5
    Points : 1599
    Thanks : 0
    User

    I agree. It is a bit small.

    But, is there an way to edit the pixels for this HTML?

    I've used slideshows before but I used the code in Dreamweaver, which I can't use anymore.

    Sasori

    Posts : 311
    Points : 1865
    Thanks : 5
    Administrator

    Lovely King

    Posts : 100
    Points : 1631
    Thanks : 0
    User

    thanks this one works but can i add link on the pictures ?


    Code:
    <link rel="stylesheet" href="http://static.tumblr.com/hhedat8/8cbmksz3o/nivo-slider.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="http://static.tumblr.com/hhedat8/NnQmksygd/bar.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="http://static.tumblr.com/hhedat8/J4Bmksyye/default.css" type="text/css" media="screen" />

        <center><div id="wrapper"><div class="slider-wrapper theme-default"><div id="slider" class="nivoSlider">

        <img src="http://img526.imageshack.us/img526/6725/moonm.png" title="This displays the caption 1." />
        <img src="http://img803.imageshack.us/img803/1818/villageq.png" title="This displays the caption 2." />
        <img src="http://img208.imageshack.us/img208/444/kcibrfilms.png" title="This displays the caption 3." />
        <img src="http://img267.imageshack.us/img267/5899/dfghje.png" title="This displays the caption 4." />
        <img src="http://img22.imageshack.us/img22/6408/cartere.png" title="This displays the caption 5." />
        <img src="http://img855.imageshack.us/img855/1989/spawnh.png" title="This displays the caption 6." />
        <img src="http://img268.imageshack.us/img268/4659/meowys.png" title="This displays the caption 7." /><img src="http://img811.imageshack.us/img811/9466/cathedral.png" title="This displays the caption 8." /><img src="http://img51.imageshack.us/img51/4452/gatob.png" title="This displays the caption 9." />
        <img src="http://img845.imageshack.us/img845/5937/kittyr.png" title="This displays the caption 10." />
        <img src="http://imageshack.us/a/img109/2121/hubz.png" title="This displays the caption 11." />
        <img src="http://img32.imageshack.us/img32/631/thanksp.png" title="This displays the caption 12." />
            </div>
            </div>
            </div>
            </center>

        <script src="http://static.tumblr.com/hhedat8/NqOmksx73/jquery.nivo.slider.js" type="text/javascript"></script>
            <script type="text/javascript">
            jQuery(window).load(function() {
                jQuery('#slider').nivoSlider();
            });
        </script>

    Sasori

    Posts : 311
    Points : 1865
    Thanks : 5
    Administrator

    You have that on the script :
    Code:
     <img src="http://img526.imageshack.us/img526/6725/moonm.png" title="This displays the caption 1." />


    Just replace with:

    Code:
    <a href="LINK">  <img src="http://img526.imageshack.us/img526/6725/moonm.png" title="This displays the caption 1." /></a>

    Lovely King

    Posts : 100
    Points : 1631
    Thanks : 0
    User

    thanks can i manage the height and the width

    Sasori

    Posts : 311
    Points : 1865
    Thanks : 5
    Administrator

    This script wasn't made by me and don't know all about him , and you aren't very explicit .

    Lovely King

    Posts : 100
    Points : 1631
    Thanks : 0
    User

    ok solved

    Sasori

    Posts : 311
    Points : 1865
    Thanks : 5
    Administrator

    This topic is solved , I will move now at Solved Database , if you have more problems , we are here to help you !

    Sponsored content

    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum