PDA

View Full Version : Can I add a picture to scrolling message bar?



schmodi
05-28-2005, 03:07 PM
Here's the script I was talking about:

Pausing up-down message scroller
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

I was trying to add a picture that would scroll as well under one of the messages, (just using an img src tag) but no luck. Is it even possible?

Thanks for any help!

jscheuer1
05-28-2005, 06:01 PM
Not only possible but, you were thinking right, you just executed your idea incorrectly. You can add an image tag like:
messages[0]="<img src='thumb2/photo7.jpg' width='149' height='255' border=0>"Just make sure you substitute single quotes (') for double quotes (") in the tag. Also the:
var scrollerheight='255px'must be set to at least the height of the image, similarly 'scrollerwidth' must be at least as wide as the image.

schmodi
05-29-2005, 04:25 AM
Ahh! I'm thrilled! Thank you so much jscheuer1 !!!