NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Please Help Javascript

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-24-2005, 04:08 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Mar 2004
Posts: 39
jecn100 is an unknown quantity at this point
 



Please Help Javascript


Hi Guys

I have this javascript image slide show script, can any one tell me how I would add a title to each image as it changes.


Thanks
Justin



-------------------------------------------------------------------------------------------

<img src="images/img1.gif" name="myPicture" width="310" height="250" alt="" border="0" class="pic">
<script language="JavaScript">

var myPix = new Array("images/img1.gif","images/img2.gif","images/img3.gif","images/img4.gif")
????: NamePros.com http://www.namepros.com/programming/77427-please-help-javascript.html
var thisPic = 0

function doPrevious() {
if (document.images && thisPic > 0) {
thisPic--
document.myPicture.src=myPix[thisPic]
}
}

function doNext() {
if (document.images && thisPic < 3) {
thisPic++
document.myPicture.src=myPix[thisPic]
}
}
// -->
</script>

-------------------------------------------------------------------------------------------
jecn100 is offline  
Old 03-27-2005, 09:03 PM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Maybe change alt="" to alt="title"
deadserious is offline  
Old 08-21-2005, 07:00 AM   #3 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
yeah, that would work
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript Programs... Richieboy67 CODE 3 03-28-2005 12:03 PM
JavaScript Jamison54 Website Development 3 01-30-2005 08:37 PM
Loading different images depending on the browser (JavaScript) Nevsan Programming 3 04-04-2004 10:36 AM
javascript vs asp.net validation tzigone Web Design Discussion 0 01-21-2004 01:37 AM
Javascript: W3C Problem? Mp)Tarh Programming 2 11-16-2003 05:26 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:43 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger