Partial functional quantization and generalized bridges