Help with programming "servos"

Hi I have a programming problem. I want to press a button my servo to move and keep moving until the button again be oppressed.
How do I get the "servo" do not stop pressing the button.

http://subefotos.com/ver/?0a32df7db31094c9c7a3f36e21dfbc3ao.jpg

#include <Servo.h>

Servo servo1;
#define button 9
#define button2 7

void setup(){
  servo1.attach(8);
  pinMode(button, INPUT);
  pinMode(button2, INPUT);
}

void loop(){
  int buttonState1 = digitalRead(button);
  int buttonState2 = digitalRead(button2);
  if(buttonState == true){
    servo1.write(100);
    delay(1000);
  }
  if(buttonState2 == true){
    servo1.write(90);
    delay(1000);
  }
}

Is the servo a continuous rotation servo?

Using the delay() function may be causing your problem. The Arduino does nothing while waiting for the delay() to elapse. Look at how to use millis() for timing in the Blink Without Delay example sketch and in the demo several things at a time

...R

#include <Servo.h>
Servo servo1;  // Continuous rotation 'servo'.  90 = Stop. >90 = Forward.  <90 = Reverse

const int GoButtonPin = 9;
const int ServoPin = 8;
const int StopButtonPin =  7;

void setup() {
  servo1.attach(ServoPin);
  pinMode(GoButtonPin, INPUT);
  pinMode(StopButtonPin, INPUT);
}

void loop() {
  if (digitalRead(GoButtonPin))
    servo1.write(100);  // Run forward

  if (digitalRead(StopButtonPin))
    servo1.write(90);   // Stop
}