Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2004
    Thanked 0 Times in 0 Posts

    Scroller Script Failing in IE - positioning?

    I'm trying to do one of those scrolly things, and getting some really wacky behavior in IE. The attached script works pretty much exactly like I want in Firefox. Pressing next or previous will scroll through the images with a serviceable transition (sliding from image to image, rather than just replacing).

    In IE5/pc, it collapses all the images into the same space when you click next, with the exception of the second image, which remains where it's supposed to be. It also doesn't stop at the next slide, but continues on ad infinitum.

    The fact that it works in Firefox suggests that my logic is correct. I hesitate to start yelling "bug," because new ones are pretty rare, in my experience. Thought? Suggestions?

    Attached Files Attached Files

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Thanked 0 Times in 0 Posts
    I hesitate to start yelling "bug," because new ones are pretty rare, in my experience.
    In my experience all bugs are new bugs.

    cept of course thos old bugs, but they just get filed as 'design notes'
    public string ConjunctionJunction(string words, string phrases, string clauses)
    return (String)(words + phrases + clauses);
    <--- Was I Helpfull? Let me know ---<

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Thanked 256 Times in 252 Posts
    Actually, there's an error in Firefox ("can't convert scroll to integer") but the script continues to be executed.

    If you declare the scroll variable with initial numeric value, it would completely work with FF and IE.

    var scroll=0;

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins


    Posting Permissions

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