JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 2nd, 2012, 10:54 AM
samuvk samuvk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 14 samuvk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 40 sec
Reputation Power: 0
Other - 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> 


Reply With Quote
  #2  
Old December 3rd, 2012, 07:12 PM
web_loone08's Avatar
web_loone08 web_loone08 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Posts: 601 web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level)web_loone08 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 25 m 38 sec
Reputation Power: 69
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Other - Write test on an image in a slideshow

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap