My Dags does this! he shuffles sideways so he's rubbing up against my crossed feet...then he'll start to try and cock his leg over them! not trying to pee on my foot, but looks like he's practising cocking using my feet to balance him. its really embarrasing when there's people over! try to discourage it bu the doesnt seem to be getting the message!