OAKLAND, Calif. -- After the Yankees' offense finally broke out of a prolonged slump Wednesday, Derek Jeter joked about Thursday's off day.

"You almost wish you don't have tomorrow off," he said after his team scored eight runs.

No worries.

Building on what they did against the Royals, the Yankees slammed three home runs Friday night in a 6-3 victory over the A's in front of 33,559 at the O.co Coliseum. It was an emphatic start to a nine-game, three-city trip for the Yankees (24-21), who won their third straight.

Mark Teixeira, among the players taking the most heat for the offense's woes, homered, as did Robinson Cano and Nick Swisher. Cano's solo shot and Swisher's two-run blast in a three-run fifth drove Tyson Ross (2-5) from the game.

Teixeira, Swisher, Curtis Granderson, Alex Rodriguez and Raul Ibañez each had two of the Yankees' 12 hits. "We had hits from all over the place tonight, and it came from different guys,'' Joe Girardi said. "We know we're capable of putting up big numbers. It was good to see."

advertisement | advertise on newsday

Ivan Nova (5-2), battling some tightness in his hamstring in the days leading up to Friday night's start, was solid, allowing three runs and six hits, including home runs by Josh Reddick and Kila Ka'aihue, in seven innings.

Nova has given up 12 home runs in his nine starts. "They bother me,'' he said. "I'm giving up too many home runs. I like the way I threw the ball today, I was down more, but still too many mistakes."

Boone Logan pitched a perfect eighth and Rafael Soriano added a scoreless ninth to go 4-for-4 in save chances.

Ross, who came in with a 5.73 ERA, pitched out of trouble in the first and second innings -- the Yankees stranded a runner at second each inning -- but an error led to three unearned runs in the third.

After Jeter struck out, Granderson delivered his second single of the night. Rodriguez struck out, and Ross appeared as if he'd get out of the inning when Cano sent a liner to center. Coco Crisp ran back and was in position to make the catch, but the ball hit off his glove and rolled to the wall, allowing Granderson to score to make it 1-0.

Teixeira, who popped out in foul territory his first time up, tore into a 2-and-1 pitch and launched it to right-center for a two-run homer and a 3-0 lead. His sixth home run of the season gave him 23 RBIs.

"I'm trying to be a lot more aggressive at the plate, just swing hard and not try to guide the ball,'' he said. "I got a good one up in the zone and hit it."

The Yankees had a chance to blow it open in the fourth, but Ross got out of a major jam. Eric Chavez walked to start the inning and Russell Martin sliced a double down the rightfield line. But Ross stopped it there. He got Jeter to line out softly to Daric Barton at first in foul territory and, after intentionally walking Granderson, got A-Rod to hit into a 6-4-3 double play.

The A's got to Nova with one out in the bottom of the inning when Reddick ripped a 1-and-1 pitch to deep right-center for his 12th home run, cutting the Yankees' lead to 3-1.

Cano pushed the lead back to three runs in the fifth, rocketing Ross' 0-and-1 pitch to dead center for his sixth home run of the season and second in his last three games. Teixeira followed with a bloop double down the leftfield line that got past Seth Smith, but he was cut down trying to stretch it into a triple for the first out of the inning. Ibañez followed with a double and Swisher, who entered the game in a 3-for-32 slump but doubled his first time up, cracked his eighth homer of the season. His opposite-field shot to left made it 6-1.