need help to blink simple pattern with shift register

Grumpy_Mike:
No you did not say that you just saidThat is what I added.
So exactly what do you want to blink and how?
The whole pattern or just the LEDs that are on?
If it is the whole pattern then use:-

for(int i = 0; i<8; i++){

led[i] ^= 1; // this will blink all the LEDs in the pattern
}
delay(300); // so you can see it.

Thanks Grumpy_Mike for the giving code. It's doing fine. but if i want led flashing in {0,1,1,0,0,1,1,0} this pattern how i can achieve this.

Eight Leds are connected and i want only '1' HIGH will flash not '0' LOW and it will not get on. {0,1,1,0,0,1,1,0} Total 4 Leds get flashing and 4 Leds remain off . Sorry for my english.
This code doing inverse flashing. Its very useful. i leraned new thing. THANKS