Ed's Odd scrolling issue

Discussion in 'HTML' started by Neil Gould, Feb 4, 2014.

  1. Neil Gould

    Neil Gould Guest

    Another way that server-side code works is to interact with user input,
    which can be a wide variety of things including clicking on scroll bars and
    page up/down keys. Eliminating that variable seems reasonable to me, even if
    it is unlikely to be the source of the problem. I still don't see you
    suggesting anything useful to help Ed resolve his problem.
     
    Neil Gould, Feb 6, 2014
    #21
    1. Advertisements

  2. No absolutely not. The *only* "interaction with the server is over http
    via GET and POST requests, keystrokes events, mouse events, viewport
    change, button clicks, all these thing and handled within the browser
    and the server sees *none* of these. What can be confusing is is Ajax
    which uses JavaScript to generate GET and POST requests to dynamically
    update the page, but that is a whole other subject.
    You may have found an HTML or CSS issues, but you are still incorrect in
    suggesting that it had anything to do with PHP, unless the PHP in
    generating something different in the resulting HTML.
     
    Jonathan N. Little, Feb 6, 2014
    #22
    1. Advertisements

  3. Perhaps we could all aid Ed with his scrolling issue, if you would show
    us an example.
     
    Osmo Saarikumpu, Feb 6, 2014
    #23
  4. But the ASP or ASP.NET is doing it, it it the outputted HTML link or
    form SUBMIT button.
     
    Jonathan N. Little, Feb 6, 2014
    #24
  5. Neil Gould

    Tim Streater Guest

    Certainly not. But your poor phrasing left the distinct impression that
    you thought that PHP code embedded in an HTML page arrived intact in
    the browser and thereafter was somehow magically executed in the
    server.
     
    Tim Streater, Feb 6, 2014
    #25
  6. Neil Gould

    Neil Gould Guest

    Well, it's not just Ajax. ASP, ASP.NET, etc. can also generate http GET and
    POST, and they don't require JavaScript to do so. It's been a while since I
    wrote PHP pages since that language wasn't quite as robust as some others,
    but I can accept that it may not be capable of such things. I still think
    that eliminating that variable is a valid troubleshooting technique.
    I actually *do* think it's likely to be a CSS issue, particularly one that
    older browsers ignore, but so far nobody has exposed such an issue.
     
    Neil Gould, Feb 6, 2014
    #26
  7. Neil Gould

    Neil Gould Guest

    Why, you can't find pages on the web with fixed headers that behave as
    expected in current FF versions? They're not rare.
     
    Neil Gould, Feb 6, 2014
    #27
  8. If by "escaping" you mean using serve-side so select block of pure HTML
    during the loading of a page, i.e.,
    <http://www.php.net/manual/en/language.basic-syntax.phpmode.php>
    Once the server sends the page, what the browser gets is just HTML.
    There so no more client/server interaction until you make another page
    request from the server. To can scroll, page up or down, and click all
    you wish, PHP or ASP will "hear" none of it without and HTML link or
    from submit button. Anything else requires something client-side such as
    JavaScript or ActionScript of Flash. The server-side has nothing to do
    with this. That "onclick" instruction you keep referring to has nothing
    to do with the server or the server-side script.
     
    Jonathan N. Little, Feb 6, 2014
    #28
  9. Neil Gould

    Neil Gould Guest

    Your interpretation of my phrasing is peculiar. The quote that you replied
    to has to do with the phrase "Escaping from HTML", which inherently implies
    that there HTML is not invovled with whatever is going on server-side. My
    comments prior to that were on reducing the number of variables that could
    cause Ed's problem by writing the page as straight HTML. Do you *really*
    have a problem with that?
     
    Neil Gould, Feb 6, 2014
    #29
  10. Neil Gould

    Neil Gould Guest

    Well, with ASP or ASP.NET, "submit" is not the only user action that can
    launch a server-side routine, for example it is possible after escaping via
    an "onclick" instruction. That really is not the point of my bringing it up,
    anyway. I just think it's a good idea to reduce the number of variables when
    troubleshooting a problem.
     
    Neil Gould, Feb 6, 2014
    #30
  11. Neil Gould

    Tim Streater Guest

    Unless the onclick results in a form being submitted or an ajax request
    being made.
     
    Tim Streater, Feb 6, 2014
    #31
  12. I believe that is what I said. The "magic" in Ajax is client-side
    JavaScript.
     
    Jonathan N. Little, Feb 6, 2014
    #32
  13. Neil Gould

    dorayme Guest

    The better suggestion is in the part you quoted below. It will show
    you that the issue has nothing to do with php.
     
    dorayme, Feb 6, 2014
    #33
  14. Neil Gould

    dorayme Guest

    It is not wrong for Jonathan to have addressed a specific matter that
    you have raised without addressing other matters.

    Btw, Neil, not sure if you know, but your signature appears in many
    newsreader software when replying to your posts, the replier wanting
    it gone (it being unnecessary in the reply) and having to remove it by
    hand. If it is formed in a special way, it gets removed on replies
    automatically.

    You can save repliers the trouble by

    (newline)(dash)(dash)(space)(newline)

    See Jonathan's signature block.
     
    dorayme, Feb 6, 2014
    #34
  15. Neil Gould

    Neil Gould Guest

    That is how my signature block is configured (and has been since the early
    '80s, btw), and it works as expected in the readers I use. See if this makes
    a difference in yours:
     
    Neil Gould, Feb 7, 2014
    #35
  16. I saw nothing wrong with Neil's sig block. Must be one of those
    Mac-things eh dorayme? ;-)
     
    Jonathan N. Little, Feb 7, 2014
    #36
  17. Apple is always a bit contrary. Like I was dismayed to discover that the
    *hand-held* iPhone iGnores handheld media types so you have to use an
    additional media query on screen size in your stylesheets.
     
    Jonathan N. Little, Feb 7, 2014
    #37
  18. Neil Gould

    Neil Gould Guest

    That was going to be my guess, too. As far back as my Mac Plus, Apple has
    gotten ASCII EOL wrong. I would have thought they'd have fixed that flaw by
    now! ;-D
     
    Neil Gould, Feb 7, 2014
    #38
  19. Neil Gould

    Tim Streater Guest

    Works fine on this Mac so <raspberry> to ya!
     
    Tim Streater, Feb 7, 2014
    #39
  20. Neil Gould

    Neil Gould Guest

    I quoted it because it seems that we're in agreement that eliminating the
    server-side variable is a good idea (that is what your method accomplishes).
    Now, if it actually does show what you claim it does, then the source of the
    problem should be easier to locate by examining the CSS associated with the
    header. I haven't gone through that, but Ed should.
     
    Neil Gould, Feb 7, 2014
    #40
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.