1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Alerts pop-up doesn't function without JavaScript

Discussion in 'Resolved Bug Reports' started by Erik, Aug 14, 2010.

  1. Erik

    Erik Well-Known Member

    The Alerts pop-up box doesn't function without JavaScript. It simply shows the animated "loading" icon and sits empty. :)

    Screenshot:
    [​IMG]

    It would be great if you could load, say, the 10 most recent alerts into the DOM on page-load so they can be displayed without JavaScript. Otherwise, just don't show the pop-up at all and have the Alerts navbar item link directly to the Alerts page. :)
     
  2. Onimua

    Onimua Well-Known Member

    I was about to post this after I posted my other bug. :p
     
  3. KURTZ

    KURTZ Well-Known Member

    confirmed, and also there's a pagination trouble, like you can see in the pic the pop-up goes out of my screen (W7/FF3.6.8)
    alerts.jpg
     
  4. Mike

    Mike XenForo Developer Staff Member

    Again, not everything has to work ideally with JS. It simply has to be accessible. Since there's a show all link there, there's nothing to fix.
     
  5. Onimua

    Onimua Well-Known Member

    It couldn't be made a little more elegant? Or at least just go to the Alerts page like suggested above?
     
  6. Erik

    Erik Well-Known Member

    I disagree. It looks and feels broken. Now maybe you don't think it's worth fixing, but "as designed" seems like the wrong term for this.
     
  7. Shamil

    Shamil Well-Known Member

    I think that in this case, the link should direct the user to here, your alerts.
     
  8. Mike

    Mike XenForo Developer Staff Member

    Fair point. It's sort of a side effect of having popup menus that actually (generally) work without JS. I suppose we could just plain disable them (the ajax-based ones) without JS.
     
  9. Mike

    Mike XenForo Developer Staff Member

    That said, the goal of non-JS is still to be functional, not perfect. If ways to do something still exist for the non-JS user, that will generally be acceptable.
     
  10. Shamil

    Shamil Well-Known Member

    Using noscript?
     
  11. Erik

    Erik Well-Known Member

    Totally agree, although IMO the pop-up box is not functional. Who knows how long a user will wait with it open, watching the animated icon and waiting for their alerts to load? As I mentioned before, it appears broken. The functional non-JS replacement would be to not show the pop-up at all and have Alerts link to the Alerts page. :)
    <noscript> tags are usually used to add content for users without JavaScript, and even if there was a way to do it with noscript it is quite probably not valid HTML5 (it's definitely not semantic). :)
     
  12. Shamil

    Shamil Well-Known Member

    I've never used noscript before :/
     
  13. Erik

    Erik Well-Known Member

  14. Shamil

    Shamil Well-Known Member

  15. Erik

    Erik Well-Known Member

    Your humor is quite dry lately. :p
     
  16. Shamil

    Shamil Well-Known Member

    lol. I need sleep :/
     

Share This Page