Results 1 to 7 of 7

Thread: Cross Browser Marquee - Conflict

  1. #1
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Cross Browser Marquee - Conflict

    1) Script Title: Cross Browser Marquee conflict

    2) Script URL (on DD): http://www.dynamicdrive.com/forums/showthread.php?t=2

    3) Describe problem: I have placed the cross browser marquee on our web page and it works fine. However, we are using a javascript side menu that disappears when the marquee is uploaded. Any Ideas of where the conflict may be?

  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

    This is not a 'bug' in the script, at least not as fits the definition for the bug reports section. So I've moved it here to the help section.

    Sounds like an onload conflict. But it could be something else, and your link to the script is currently missing/wrong:

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    And while you are at it:

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

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

  3. #3
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Cross Browser


  4. #4
    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

    There is no Dynamic Drive Script that I can see on that page at the moment.

    Please post a link to the page on Dynamic Drive where you got the marquee script - its Demo Page. Just that would allow me to suggest how to use it with no onload conflict.

    If you have a page where that script is being used, and is causing a problem, I could try troubleshooting that. I can't fix something that's not there. I will need this if it is more than a simple onload conflict.
    - John
    ________________________

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

  5. #5
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Marquee conflict

    I'm Sorry had to run to a meeting and couldn't leave the faulty page up on the site. I used the script copied from this page:
    http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
    It will appear on the home page in the table positioned above the main picture on that page.
    Thanks,

  6. #6
    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

    OK, to prevent an onload conflict when using that script, replace:

    Code:
    window.onload=populate
    with:

    Code:
    if (window.addEventListener)
     window.addEventListener('load', populate, false);
    else if (window.attachEvent)
     window.attachEvent('onload', populate);
    But, as already mentioned, there could also be another problem(s). If that (the above) doesn't take care of it, and you want more help, please post a link to a page that demonstrates the problem. This need not be a page normally accessible on your site, just a page anywhere on the web where I can observe the issue. In most cases folks choose to do that by either putting up a page on their site that is a test page and orphaned from the main site flow, or by putting up a page that demonstrates the issue on a separate domain somewhere that they have access to do so.
    - John
    ________________________

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

  7. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Hey Coop (12-09-2008)

  8. #7
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Fixed

    You Rock! That fixed the problem.
    Thanks,
    Dale

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
  •