+ Reply to Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By fflandrath53
  • 1 Post By essellar

Thread: strange scolling?

  1. #1
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    strange scolling?

    Hello all,
    Here's a bit of XHTML from the Roller~Poster main page, please note the "imgCache" div. This div is populated with bookmark images via javascript/XML. The wierd thing I have not been able to figure out is why, just after loading, if I place the mouse-pointer on the vertical scroll bar the whole div starts scrolling down without a click on the bar or using the page-down key. BTW, the "imageCache" is represented on screen as the "Bookmark Select" area. Clicking within the div (but not on an image) stops the auto-scrolling and then it works normally. The only js scrolling is a line to move to the top of the div after load (imgCache.scrollTop=0).

    Of course this is not a really big deal but I'd like to understand what's happening. Any ideas?

    Thanks, Floyd

    Code:
    <div style = "top:145px; left:52.5%; bottom:.5em; right:.5em; position:absolute; border:solid .10em #ff0000; background-color:#000000;">
            <h3 style = "color:#ffffff;">
                Bookmark Select&nbsp;&nbsp;
                <a href="http://greenfloyd.org/docs/_roller.user_manual.html#bm_select" onclick="userHelp(this.href); return false;"  title="User instructions.">
                    <img src="/images/Info.png" height="15px" width="15px" alt="information button" />
                </a>
            </h3>
            <div id="imgCache" style="top:25px; bottom:.5em; left:.5em; right:.5em; position:absolute; margin-top:.5em; text-align:left; background-color:#000000; overflow:auto;display:block;"></div>
            <div id="bmSelectShade" style="top:25px; bottom:0; left:0; right:0; position:absolute; display:none; background-color:#ff0000;" onclick="bmOptions(9);"></div>
            <div id="folderCache"></div>
        </div>
    dinomirt96 likes this.

  2. #2
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: strange scolling?

    Which browser and OS? (Chrome on XP doesn't display that behaviour, at least not to me.) Is there any chance that you managed to engage scroll lock on your pointing device, even momentarily?
    karimirt47 likes this.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  3. #3
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    Re: strange scolling?

    I should have mentioned that it's happening on latest Opera. I'll check other browsers tomorrow. I have also noticed it is intermittent... especially now that I've pointed it out
    Thanks essellar.

  4. #4
    fflandrath53 is offline x10Hosting Member fflandrath53 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    42

    Re: strange scolling?

    You are right, does not happen in Chrome, also not in FF. I didn't test ie because the application runs very poorly on it...

+ Reply to Thread

Similar Threads

  1. This is strange
    By Tourniqu3t in forum Free Hosting
    Replies: 7
    Last Post: 11-15-2008, 07:34 PM
  2. Strange
    By toonshorty in forum Free Hosting
    Replies: 2
    Last Post: 09-24-2007, 01:43 PM
  3. Strange
    By Death Zone in forum Free Hosting
    Replies: 9
    Last Post: 06-15-2007, 04:20 PM
  4. Hmm, this is strange
    By Skilzat99X in forum Free Hosting
    Replies: 4
    Last Post: 01-31-2006, 05:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers