View Single Post
  #2  
Old 09-01-2009, 08:04 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
PHP Code:
this.scrollto 0;
for (
temp.this.scrollto;i<this.scrollto+5;i++) {
  
showtext(200+i,........,this.array[i]);
}
this.scrollto this.scrollto&#37;this.array.size()-5; 
Increasing this.scrollto will move the displayed array to the next value.
this.scrollto = this.scrollto%this.array.size()-5; will roll it back to 0 if you increase it to much. From there, you simply add in whatever keyboard or mouse controls to increase this.scrollto.

Alternatively, you can also simply display ALL of the data in a scroll GUI, and manipulate that.
Reply With Quote