Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 5 of 5

Thread: Bug in Javascript function Cbnr on webpsite

  1. #1
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,769
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts

    Bug in Javascript function Cbnr on webpsite

    There is an annoying bug in part of the Javascript code for the site.

    When you view a forum entry there is a changeable banner image displayed. The changing is handled by a Javascript function called Cbnr

    However if, for some reason, it isn't able to get the image then replacement text is displayed - and this is a changing list of model names,

    The problem is that the model names are of different lengths, the text is put into a narrow block and so it flips between 2, 3 and 4 lines in length. This makes the whole of the rest of the page bob up and down - annoying when you are reading and even more annoying when you are replying to a message.

    I suspect it half thinks it has an image and half- thinks it hasn't.

    No idea why it thinks it hasn't got an image (I can get to them all)
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  2. #2
    Sicilian's Avatar
    Title
    The Boss
    Join Date
    Mar 2010
    Posts
    29,645
    Thanks
    23,575
    Thanked 26,044 Times in 7,633 Posts
    You have a screenshot?
    D I S C L A I M E R

    My right to post information is protected under the rights for freedom act. In all instances, information discussed here on my posts are either hypothetical in nature, out of general curiosity, common knowledge, public knowledge, or role-play. Any use of the collective descriptions and shared knowledge from any of my posts are at the sole discretion of the reader. I am not responsible for what you do with it!

    Follow us on Twitter 0penViX
    Rules can be found
    HERE
    Support our sponsor World-Of-Satellite
    HERE
    GIGABLUE UHD QUAD 4K, VU+ DUO 4K SE, ZGEMMA H7S, VU+ UNO 4K SE
    Triax 1.1m Powered by TM2600, Fixed 28.2 Zone 2 dish with GT-SAT Unicable





  3. #3
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,769
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by Sicilian View Post
    You have a screenshot?
    Not at the moment,. It only happens occasionally, and I was in a rush to go out at the time so I really put this here as a placeholder for me to look at later.

    Oddly the "offending" banner is totally absent from this page as I type now. The functions is defined, but nothing showing...
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #4
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,338
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    Is this what you mean?
    Attached Images Attached Images

  5. The Following User Says Thank You to abu baniaz For This Useful Post:

    birdman (28-02-16)

  6. #5
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,769
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Yes - sort of. But not what you've ringed
    The image that shows the problem is that ~1/3rd width one at the top (...only £89).

    If that image is missing then the ALT text gets put into a narrow text box, 1 word per line. And some the descriptions have 3 or 4 (possibly 2 as well) lines, so the rest of the page bobs up and down as it cycles through the options.

    I can't reproduce it. It only happens occasionally. In fact I don't normally see any page that displays that image at all (as an image or as the ALT text).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.