Dr. Dimensionpants

Dr. Dimensionpants is a Canadian animated television series created by Brad Peyton.
Plot.
Kyle Lipton was a normal 12-year-old kid, until a portal opened and dropped a pair of "The Dimensionpants", also called the 'Pants of Power' or 'Power Pants'. It is one of several powerful clothing items constructed in the Unicrone dimension, which also included socks and a summer dress.