The context tells us plainly that John was referring to Isaiah's prophecy of the Messiah's future glory in the signs that he would be doing.

http://www.angelfire.com/space/thegospeltruth/trinity/verses/Jn12_41.html