这不是状语,而是现在分词作定语,修饰visitors。
用standing非限制性定语从句There were lots of visitors standing in front of the window.有许多访客当时正站在窗前。