PDA

View Full Version : ALT text in carousel and conveyor belt script



kwest
07-24-2005, 06:26 AM
I hope someone can help me out. I found a conveyor belt script and a carousel script that are working great for me, but I can't seem to get any ALT text to work with them. On the carousel it has a place for the title for each pic, but when I add one to more than three or four pics, my pics won't load. Thanks ahead of time for any help.

IanMarlowe
07-24-2005, 06:38 AM
please include the URL to the script.

kwest
07-24-2005, 06:46 AM
This is the conveyor belt test page.

http://www.themissionmtpleasant.org/photo/testing5.html

This is one I used the carousel on. I removed the 'title' when I couldn't get it to work.

http://www.themissionmtpleasant.org/photo/mexico2.html

Thanks kwest

IanMarlowe
07-24-2005, 06:56 AM
there aren't any pictures. try adding some, so we can see what is happening...

The page where the converorbelt is is working. How are you adding the titles?

kwest
07-24-2005, 07:09 AM
There are pics on both pages. The conveyor script had no place to put the ALT text so I tried inserting as with a regular pic:

leftrightslide[0]='<a href="http://"><img src="http://themissionmtpleasant.org/images/mex1.jpg" ALT="Wake us up when we get there." border=0></a>'

But it doesn't show up.

kwest
07-24-2005, 07:14 AM
The carousel had a place after the image links:

images:
['http://themissionmtpleasant.org/images/mex8.jpg',
'http://themissionmtpleasant.org/images/mex002.jpg', 'http://themissionmtpleasant.org/images/mex003.jpg',
'http://themissionmtpleasant.org/images/mex004.jpg',
'http://themissionmtpleasant.org/images/mex005.jpg',
'http://themissionmtpleasant.org/images/mex001.jpg',
'http://themissionmtpleasant.org/images/mex9.jpg',
'http://themissionmtpleasant.org/images/mex10.jpg',
'http://themissionmtpleasant.org/images/mex54.jpg',
'http://themissionmtpleasant.org/images/mex57.jpg',

titles:['pic # 1', 'pic # 2', ' ', ' '],

But if I added a text for more than three or four pics, then my pics would not load on my page.

I got both of these off from DD ],

IanMarlowe
07-24-2005, 07:16 AM
There are pics on both pages. The conveyor script had no place to put the ALT text so I tried inserting as with a regular pic:

leftrightslide[0]='<a href="http://"><img src="http://themissionmtpleasant.org/images/mex1.jpg" ALT="Wake us up when we get there." border=0></a>'

But it doesn't show up.
The Alt or the Pic?

kwest
07-24-2005, 07:17 AM
the carousel takes a sec to load. That is why I am checking the conveyor out. It loads faster and doesn't jump as much.

IanMarlowe
07-24-2005, 07:28 AM
oh. maybe you should use XHTML, and use no caps in your codes. so, instead of
ALT="blah"
alt="blah"
it can actually make a differance

kwest
07-24-2005, 07:36 AM
the ALT

IanMarlowe
07-24-2005, 07:40 AM
Wellm the alt isn't supposed to show. It is in case you maybe changed the directory of the pictures, or if the user can't acces the pictures with there computers.

kwest
07-24-2005, 07:41 AM
tried that at first and again just now. still doesn't work. How do I use XHTML. I've never used that before. Where would I use it?

kwest
07-24-2005, 07:42 AM
Isn't the text suppose to show up if they run there mouse over the pic?

IanMarlowe
07-24-2005, 07:43 AM
NO. It show up only when the pic is not accesable. If you search DD, you'll find a script for that. (name poping up on mouseover)

kwest
07-24-2005, 07:44 AM
ok thanks

IanMarlowe
07-24-2005, 07:45 AM
no problem. any other questions :)

mwinter
07-24-2005, 11:14 PM
I found a conveyor belt script and a carousel script that are working great for me, but I can't seem to get any ALT text to work with them.As Ian said (rather belatedly), you aren't supposed to see the value specified by the alt attribute. This alternative text is, as its name suggests, a mutually exclusive option that is used if the given image cannot be rendered for whatever reason. Some browsers don't respect this definition and allow the text to be shown as a tooltip but, in my opinion, this is an error.

If you want to display advisory text, use the title attribute which is available on virtually every HTML element.

Mike