Results 1 to 3 of 3

Thread: Cross Browser Marquee Not Displaying Multiple Images

  1. #1
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cross Browser Marquee Not Displaying Multiple Images

    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.


    Code:
    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!
    John
    Last edited by james438; 02-15-2013 at 03:00 PM. Reason: code was placed in code tags as opposed to bold

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It could be a number of things. The most likely is that a stylesheet for the page has something like this in it:

    Code:
    img {display: block;}
    If that's the problem, put this in the head of the page:

    Code:
    <style type="text/css">
    #iemarquee img {display: inline !important;}
    </style>
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

    John

Similar Threads

  1. Cross Browser Marquee For Multiple Pages
    By NeedAMentor in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 01-22-2012, 12:46 AM
  2. Cross-Browser Marquee only displaying nine images
    By Mowog in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-10-2011, 06:34 PM
  3. Creating multiple scrolls/feeds Cross Browser marquee II
    By mannkumar in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-15-2010, 02:16 PM
  4. Cross Browser marquee II - Multiple Marquees on 1 Page
    By tompa909 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 02-29-2008, 03:31 AM
  5. Cross Browser marquee - problem with big images
    By chrille112 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 09-08-2006, 12:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •