If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2010
    Member #
    yeah i would like to use this code alongside some php, but i have no idea how to use javascript
    Eric's weblog - Allow user to scroll and maintain position with "Scroll To Bottom of the Div" example

    the php code just outputs about 3000 messages and instead of watching the top of the page on 100% cpu, i would like it to scroll down as the messages are output so you're not just sitting there

    i have found some code which does scroll down, but it doesn't stop once it reaches the bottom. if possible i would prefer it to stick to the bottom until the php code is executed

    thanks if anyone knows how to do this


  3. #2
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Destin Florida
    Member #
    4 times
    this is totaly what php is not for. i hate javascript as much as the next guy but this is the intended purpose of it.

    while($get_it !== true){ continue; }

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    Basically, you just copy/paste the code into your PHP page and alter it as you see fit. Keep in mind that if you copy/paste it between <? ?> tags (is that what PHP still uses?) it won't work.

    There's no real universal step-by-step answer to your question since it depends on your page, what it is you're trying to spit out, etc.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

Remove Ads

Posting Permissions

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

Search tags for this page

auto scroll long web page php
auto scroll php script
how to use javascript ajax to auto scroll down in php

php auto scroll bottom

php auto scroll down
php auto scroll to bottom of page
php code for bottom of page
php move to bottom of page
php output autoscroll to bottom of page
Click on a term to search for related topics.
All times are GMT -6. The time now is 02:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: