visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
262 experts, 1140 registered users, 1616 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

We now celebrate our 5 years of existence and break our frequentation records... Here are the stats of those 5 years.

Languages :: PHP :: scrolling


By: roe1and Great Britain  Date: 14/04/2008 11:15:15  English  Points: 20 Status: Answered
Quality : Excellent
quick question. if i run a script in a web browser is it possible to have it scroll down with the results automatically(like it does when you run something in the console?)
By: VGR Date: 15/04/2008 18:30:50 English  Type : Answer
yes and no.
the easiest solution is to output in a frame/iframe/textarea with a vertical scrollbar. I think the cursor position will stay at the end of the contents and thus scroll down.

An other possibility that comes to my mind is to use javascript to position the cursor at the end of the body contents...


I don't know which one is best nor if any of the two will actually work for you ;-)
By: VGR Date: 15/04/2008 18:31:30 English  Type : Comment
just a precision : frame, iframe, textarea, DIV... anything which is block-level and can have a scrollbar ;-)
By: roe1and Date: 16/04/2008 10:36:27 English  Type : Comment
perfect!
By: VGR Date: 16/04/2008 18:26:08 English  Type : Comment
glad to have had good ideas ;-)

if you've one minute to spare, could you show your solution in here ?

you can copy-paste html code between [ code ] and [ /code ] (without the spaces)

Do register to be able to answer

 Add This Article To:
 del.icio.usDel.icio.us  diggDigg  googleGoogle  spurlSpurl
 blinkBlink  wongWong  simpySimpy  yahooY! MyWeb 
EContact
browser fav
page generated in 4541.466950 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page