Results 1 to 5 of 5

Thread: Modified Cross Browser Marquee II - Only works in IE!

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

    Default Modified Cross Browser Marquee II - Only works in IE!

    Can someone tell me what's wrong with my script? It looks fine in IE, but wacky in FireFox. I modified the Cross Browser Marquee II to scroll vertically without a break at the end of the items and I just can't get it to work cross-browser!

    Source is here:
    http://bunkerhollow.com/blogs/matt/a...-no-break.aspx

    See it in action here:
    http://bunkerhollow.com/stuff/marquee.htm

  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

    Yep, that looks like it only works in IE all right. Is that your work? In any case, this one (also modified to not have a blank area between passes) works in virtually any browser:

    http://home.comcast.net/~jscheuer1/side/marquee.htm

    If you want it for a slide show, use:

    http://home.comcast.net/~jscheuer1/s...ee_v_slide.htm
    - John
    ________________________

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

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

    mddubs (07-30-2008)

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

    Default Considered, but...

    It's mostly your work, I've just modified it from posts I've found of yours. I believe I've given proper credit in my post, anyway. I've already considered the two links you mentioned, but neither will work because their structure is different than the Marquee II, which uses styles so I can place my marque in a very specific place on my masterpage. I don't know how to do it with the marquees that don't use styles.

    So if there is just a little tweak that you know of which would make this function correctly in Firefox, that would be awesome!

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

    I don't want to wade through your code for errors, sorry. However, if you edit the source from the first example I linked to here (addition highlighted):

    Code:
    write('<div id="main_marquee_container" style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
    It will give you a style hook for the marquee that you can use to position it, and style it and its contents whatever way you like. Examples:

    Code:
    #main_marquee_container {
    left:5px; /* Container is already position relative */
    }
    #main_marquee_container img {
    border:none;
    }
    There are also other styles in the code, most of which are either required for the marquee to operate, and/or configured in the script. You can also always just place a container around the script and position the container.
    - John
    ________________________

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

  6. #5
    Join Date
    Jul 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up Thanks!

    I placed the entire script inside a panel and then placed it where I needed it. Thanks!

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
  •