#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    24
    Rep Power
    0

    Write test on an image in a slideshow


    I have a very basic slideshow and I would lilke to know how can I add some text to each of the images on the slideshow.

    THANKS SO MUCH

    Here is the code of my slideshow.

    Code:
    </head>
    <script language="javascript" type="text/javascript">
    var imagenesCA = ['http://lh6.ggpht.com/_sIFcB4A_jT4/SnnTvYyrECI/AAAAAAAABjE/jYXMTrokCJo/s512/30.jpg',
    'http://lh5.ggpht.com/_Eg1ks9CXra8/SHOdVTsctZI/AAAAAAAAEtU/I7GKbE71934/s512/espa%C3%B1a%20174.jpg'];
    var enlacesCA = ['http://goplanettravel.blogspot.com/2009/10/central-america.html',
    'http://goplanettravel.blogspot.com/2009/10/central-america.html'];
    var anchoCA = [680, 680];
    var altoCA = [400, 400];
    var cantidadCA = imagenesCA.length;
    var actualCA = 0;
    function fn_empezarCA(){
    if (actualCA==cantidadCA)
    actualCA = 0;
    var imagenCA = document.getElementById('imagenCA');
    var enlaceCA = document.getElementById('enlaceCA');
    imagenCA.src = imagenesCA[actualCA];
    imagenCA.width = anchoCA[actualCA];
    imagenCA.height = altoCA[actualCA];
    enlaceCA.href = enlacesCA[actualCA];
    actualCA = actualCA + 1;
    setTimeout('fn_empezarCA();', 6000);
    }
    </script>
    
    </head>
    <body>
    
    <a href='' id='enlaceCA'><img id='imagenCA' src=''/></a><script language='javascript' type='text/javascript'>fn_empezarCA();</script>
  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,187
    Rep Power
    184
    Are you wanting like a description about each of the slideshow images; as it iterate though the slideshow or are you wanting to watermark each of the slideshow images?

IMN logo majestic logo threadwatch logo seochat tools logo