|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (3 bit)
Join Date: Jul 2004
Posts: 4
|
Adding Text to Images
Hello All,
Please what do I need to add to the Java Script code below to make it display a text message below the images. This link shows the images displayed: http://www.ni-ge-ria.com/pic.htm and how do I keep the images within a table. Many thanks |
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Apr 2004
Location: NJ
Posts: 440
|
i don't know java, but im sure alot of ppl here do.. if they can't help you with it, then i can do what u need in HTML
|
|
|
|
|
|
#3 |
|
Member (3 bit)
Join Date: Jul 2004
Posts: 4
|
Thanks Nooblark,
If it can be done with HTML that's fine but can HTML make the images to rotate by themselves? |
|
|
|
|
|
#4 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
Welcome to PC Mech forums
![]() Sorry if I sound a little annoying here, but can you clarify what you said on your first post? You have a JavaScript doing a JPEG Rotating script, and every image turns out after the original image flips. Do you want a text description under that? Then that would be easy - the easiest way is to write another script below the image that would rotate just as the image is - give it a simple command that would change the text in its array at the same time intervals as the pictures rotate. Hope that helps, kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#5 |
|
Member (3 bit)
Join Date: Jul 2004
Posts: 4
|
Thanks kram8806
You're right what I want is a description under each picture, but I don't know how to write the Java Script code to make this happen. I would appreciate it if you can post the code here for me to copy. Thanks for your help. |
|
|
|
|
|
#6 |
|
Member (9 bit)
Join Date: Apr 2004
Location: NJ
Posts: 440
|
did you do the images? if so just use the code that u used to make them turn.. but text insread of image
|
|
|
|
|
|
#7 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
I would have to agree with nooblark - set the array that's on the pictures to text, and instead of "img src", just set your font tags there. I'll try to compile a script for ya later today - I'm trying to get my first PC up right now, going to take all of today for sure
.kram |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|