There's no orientation in map.infoWindow that I can find. The closest thing I can find so far is a CSS3 transform which might work (if you're supporting a newer browser like firefox, chrome, or IE9).For the following to your css.
.rotated270
{
transform:rotate(270deg);
-ms-transform:rotate(270deg); /* IE 9 */
-moz-transform:rotate(270deg); /* Firefox */
-webkit-transform:rotate(270deg); /* Safari and Chrome */
-o-transform:rotate(270deg); /* Opera */
}
Then, in your JavaScript, try this.
map.infoWindow.setTitle("Identify Results");
//map.infoWindow.setContent(tc.domNode);
if( (theLayerName != "Underground") && (idResults.length < 5) )
{
// alert("less than 5 records");
map.infoWindow.resize(360, 200);
dojo.query(".infowindow").removeClass("rotated270");
map.infoWindow.setContent(tc.domNode);
}
else if ( (theLayerName != "Underground") && (idResults.length >= 5) )
{
// alert(">= 5 records");
map.infoWindow.resize(900, 425);
dojo.query(".infowindow").addClass("rotated270");
map.infoWindow.setContent(tc.domNode);
// tc = tcLarge;
}