...

View Full Version : marquee tag



infamousmark
01-25-2012, 02:38 AM
Hi all, new here.

I made a small web page which included a marquee of scrolling images. It worked fine in firefox but when I loaded the page in IE the marquee would not work.

Is there any special coding I need to add to make it work in IE. If not does someone know of a script I could use instead.

here's the tag, I have more than 75 small jpg images in the marquee. It scrolls from right to left.
<marquee width= 550px>
<a href="1.htm" target="_blank"><img height=100px src="thumbs/b30t.jpg">

Thanks.

Excavator
01-25-2012, 03:55 AM
Hello infamousmark,
You don't really give us enough information here. From the snippet of code you've posted it looks like you don't have a DocType, you don't close either your marquee tag or your anchor... we can't guess what else is wrong either.

A link to the test site is always best.

You could also write a small test.html that reproduces the issue and post it here using the code tags, &#91;code&#93;&#91;/code&#93; - available with the # button in the post edit window.This will wrap your code in a scroll box which greatly helps the readability of your post.

infamousmark
01-26-2012, 02:50 AM
thanks excavator for your reply.

I just assumed you would assume I closed my tags.

I'll provide the link to the page, the reason I didn't at first was that I didn't want to be ridiculed for using tables and a marquee. (I know they're things of the past). Still learning here. It's a female friend who had a bunch of Christmas stuff for sale and wanted me to post them somewhere. Php would've been better at this (you'll see what I mean) but I didn't have time to learn what I needed and figure out how to format the results.

http://www.dept56.hostzi.com/index.htm (the links are not set up yet)

There's a lot of images in the marquee, I was just doing a test and left it that way. Maybe IE would respond better if there was less. I didn't try.

I was basically looking for something (script maybe) which would do the same thing (or equivalent) since she has already seen it and likes it.

Let me know. Mark

felgall
01-26-2012, 05:38 AM
Here are a few JavaScript Marquee scripts that will work in all browsers and not just in the browser that has the <marquee> proprietary tag.

Continuous Image Marquee - http://javascript.about.com/library/blcmarquee1.htm
Continuous Image Marquee With Start/Stop Button - http://javascript.about.com/library/blcmarquee5.htm
Continuous Text Marquee - http://javascript.about.com/library/blctmarquee1.htm
Continuous Text Marquee With Start/Stop Button - http://javascript.about.com/library/blctmarquee5.htm
Continuous Image Vertical Scroller - http://javascript.about.com/library/blcvert.htm
Continuous Text Vertical Scroller With Start/Stop Button - http://javascript.about.com/library/blctvert1.htm

infamousmark
01-26-2012, 07:02 AM
Thanks felgall, that should do it. The first two scripts require that the images be the same size, that might be a problem for me right now since the images are all different in size, but I'll just shorten the list and resize the best ones to fit.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum