Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: The banner rotator loads weird.

  1. #1
    2,000 rpm - light wheelspin, no bog here! R2Limited's Avatar
    Drives
    1996 R2 Limited
    Location
    Dallas, TX
    Join Date
    Dec 2011
    Posts
    170
    Thanks Given
    1
    Thanked 8 Times in 7 Posts

    The banner rotator loads weird.

    The top banner rotator loads weird. When I click to a new page I can see all of the banners for a second before they disappear. It's quite disconcerting. Would love to see it fixed so that this doesn't happen. OS X - ChromeHaven't tested it in other browsers because I'm lazy. Anyone else seeing this?

  2. #2
    Super Moderator RotorNutFD3S's Avatar
    Drives
    '99 Brilliant Black Turbo
    Location
    Newnan, GA
    Join Date
    Dec 2011
    Posts
    1,885
    Thanks Given
    2,464
    Thanked 1,473 Times in 698 Posts
    Doing it for me as well in Firefox.



    Attached Images Attached Images
    I've got a lot less horsepower - luckily they are Japanese horses - usually in better shape and more motivated.

  3. #3
    Forum Sponsor revlimiter's Avatar
    Drives
    Sharka
    Location
    Revlimiter.net
    Join Date
    Dec 2011
    Posts
    3,199
    Thanks Given
    749
    Thanked 5,007 Times in 1,278 Posts
    It doesn't work for me at all.
    Firefox and Chrome on Linux 64bit.

    It DOES work on the stock HTC browser on my Android phone. It's glitchy on Miren, my favorite Android browser.

  4. #4
    Admin / Pit Boss / Miataholic Phatmiata's Avatar
    Drives
    Kirin the '93LE Roadster #1073
    Location
    NEW Tampa > OLD Tampa
    Join Date
    Apr 1994
    Posts
    33,608
    Thanks Given
    13,680
    Thanked 9,521 Times in 4,642 Posts
    10-4 we are on it and working to see what the problem is

  5. #5
    Banned
    Drives
    Classic Red 1989
    Location
    15m from San Francisco Bay
    Join Date
    Dec 2011
    Posts
    1,097
    Thanks Given
    36
    Thanked 433 Times in 251 Posts
    Y'all need faster interwebz or slower eyes!

    I've noticed it. (and even read about the possibility of it before setting up the script) It has to do with how the ads are loaded. Initially, there were only 3 ads, they loaded very quickly, and this wasn't a problem. But, Phat's gone and rounded up another 5 sponsors already. 8 banners means that 8 images have to load... and the delay starts accumulating.

    Anyway, thanks for the bug report. I'll try to find another method to handle the banners. Needed to do that, anyway. Until then, just blink after the page starts loading.

    Interestingly, I just checked it in FF and it's very obvious. In Chrome, every now and then I see it, but usually not. Chrome FTW.

  6. #6
    2,000 rpm - light wheelspin, no bog here! R2Limited's Avatar
    Drives
    1996 R2 Limited
    Location
    Dallas, TX
    Join Date
    Dec 2011
    Posts
    170
    Thanks Given
    1
    Thanked 8 Times in 7 Posts
    Chrome is definitely my browser of choice.

    Can you set the absolute X position of the banners to something ridiculous like 3000px while they load? At least then nobody will see them until they are pulled into place by the rotator.

  7. #7
    Idling - Listen to it purr...
    Join Date
    Dec 2011
    Posts
    10
    Thanks Given
    0
    Thanked 0 Times in 0 Posts
    I'm on Firefox and it had an advertisement the first time I visited. It has since been black.

  8. #8
    2,000 rpm - light wheelspin, no bog here! R2Limited's Avatar
    Drives
    1996 R2 Limited
    Location
    Dallas, TX
    Join Date
    Dec 2011
    Posts
    170
    Thanks Given
    1
    Thanked 8 Times in 7 Posts
    Ok. Just took a peek at some of the CSS. If you take the margin that you have on the slider ID (#slider on line 111 of forum.php) and apply it to the slider CLASS (.slider on line 122 of forum.php) and then set the slider CLASS overflow to "hidden" - that may prevent us seeing those images stacked on top of one another when they load in.

    You can't just set the overflow of the slider CLASS to "hidden" because it doesn't overlap the slider ID perfectly and it ends up cutting it off. That's why you have to swap the margin attributes to it.

    So...starting on line 111 you'd have:

    Code:
    #slider {
       padding: 0;
    }
    And on line 122:

    Code:
    .slider {
       width: 468px;
       height: 60px;
       margin: 30px 0 0 10px;
       overflow: hidden;
    }
    I'm not sure if you even need the padding atribute on #slider but it's already there and not causing any problems so....

  9. #9
    Banned
    Drives
    Classic Red 1989
    Location
    15m from San Francisco Bay
    Join Date
    Dec 2011
    Posts
    1,097
    Thanks Given
    36
    Thanked 433 Times in 251 Posts
    Yeah, I was thinking using the "hidden" attribute somewhere would fix it. I didn't write this code, I just copied it and it worked well enough for the moment. (you'd think a banner rotator would be a standard feature of a modern forum package, but no) I'll get into it and sort it. Maybe tonight, maybe not.

    I want to look into making the ads come up in random order instead of a fixed order, so this script may go away entirely in favor of something else.

    The more I think I'm getting ahead, the further I fall behind. But, for a website that didn't exist AT ALL until Monday night, I'm not complaining too much. Things are going pretty well.

  10. #10
    2,000 rpm - light wheelspin, no bog here! R2Limited's Avatar
    Drives
    1996 R2 Limited
    Location
    Dallas, TX
    Join Date
    Dec 2011
    Posts
    170
    Thanks Given
    1
    Thanked 8 Times in 7 Posts
    Things are going freaking awesome. "Pretty well" is an understatement.

    If you need any help customizing the JQuery script that the slider runs on (eg. making them load randomly instead of in sequence), let me know. The guy that works for me writes JQuery in his sleep. Just PM or email me.

  11. #11
    6,000 rpm - mere mortals would shift theothersawyer's Avatar
    Drives
    1994 Classic Red
    Location
    Newnan, Ga
    Join Date
    Dec 2011
    Posts
    4,854
    Thanks Given
    1,167
    Thanked 1,498 Times in 734 Posts
    It happens for me too, but it is so fast it is barely noticeable and not annoying, but I guess it would be nice to have it not happen at all.

  12. #12
    3,000 rpm - starting to feel the power morr's Avatar
    Drives
    1990 Classic Red
    Location
    Okinawa, Japan
    Join Date
    Dec 2011
    Posts
    968
    Thanks Given
    33
    Thanked 87 Times in 38 Posts
    This seems to be happening to me too. Doesn't matter if I'm on a Mac or PC. It either only does it for a split second or stays there with all of the ads visible at once.

  13. #13
    Banned
    Drives
    Classic Red 1989
    Location
    15m from San Francisco Bay
    Join Date
    Dec 2011
    Posts
    1,097
    Thanks Given
    36
    Thanked 433 Times in 251 Posts
    This issue should be fixed now.

  14. #14
    2,000 rpm - light wheelspin, no bog here! R2Limited's Avatar
    Drives
    1996 R2 Limited
    Location
    Dallas, TX
    Join Date
    Dec 2011
    Posts
    170
    Thanks Given
    1
    Thanked 8 Times in 7 Posts
    Confirmed that it's fixed for me.

  15. #15
    STAR Sponsor smaeda's Avatar
    Location
    Kansas
    Join Date
    Dec 2011
    Posts
    814
    Thanks Given
    87
    Thanked 546 Times in 205 Posts
    yep. fixed for me too.

Page 1 of 2 12 LastLast

Posting Permissions

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