Code for rollover & link requires open in new tab/window
I'm VERY new at this, so I apologize in advance if I'm not even asking this question right, or if I'm on the wrong forum.
I've got this code that allows me to create an image rollover and link that image to a website. However, I'd like to be able to have the website that it links to open in a new window/tab. Does anyone know how I could tweak this code to accomodate that?
loadImage1 = new Image();
staticImage1 = new Image();
// End -->
<a href="http://www.mywebsite.com/" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
<img name="image1" src="http://my_button_image" border=0></a>