View Full Version : Cross Browser Marquee Not Displaying Multiple Images

02-15-2013, 02:48 PM
1) Script Title: Cross Browser Marquee

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

3) Describe problem: I coded the var marqueecontent to include two images that should scroll. This code works when coded on a webpage (both images display), but doesn't work when put into the marquee code. The first image is the only one scrolling. See http://highnoononline.tv/ent/login/ for the script in action. There should be a BlackVoiceNews.com banner and DallasObserver.com banner scrolling, but the BlackVoiceNews.com banner is the only one scrolling.

var marqueecontent='<nobr><font face="Arial"><a target="_blank" href="http://blackvoicenews.com"><img border="0" src="http://www.highnoononline.tv/ent/images/blackvoicenews241x50.jpg" width="258" height="50"><a target="_blank" href="http://dallasobserver.com"><img border="0" src="http://www.highnoononline.tv/ent/images/dallasobserver150x50.jpg" width="150" height="50"></a></font></nobr>'

Please help!

02-16-2013, 11:55 AM
It could be a number of things. The most likely is that a stylesheet for the page has something like this in it:

img {display: block;}

If that's the problem, put this in the head of the page:

<style type="text/css">
#iemarquee img {display: inline !important;}

If that doesn't fix it and you want more help:

Please include a link to the page on your site that contains the problematic code so we can check it out.

The browser cache may need to be cleared and/or the page refreshed to see changes.

02-16-2013, 12:58 PM
Thank you jscheuer1.... you got it right... someone did go into the style.css file and changed something. I should have thought of that. It is working fine now.... Thank you again.