# Mouseover java issues on IE8 only

**URL:** <https://forum.kirupa.com/t/mouseover-java-issues-on-ie8-only/318643>\
**Category:** web dev\
**Created:** [January 26, 2011, 12:34am UTC](https://forum.kirupa.com/t/mouseover-java-issues-on-ie8-only/318643 "2011-01-26T00:34:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drnen101](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@drnen101](https://forum.kirupa.com/u/drnen101)\
**Post date:** [January 26, 2011, 12:34am UTC](https://forum.kirupa.com/t/mouseover-java-issues-on-ie8-only/318643/1 "2011-01-26T00:34:19Z")

</div>

I have a few java events attached to a couple rollover buttons. They seem to all work just great on every browser but ie8 for some reason.

\<script type="text/javascript"src=“lookbook\_web/mouseovers.js”\>

[SIZE=2]\<div id=“thumb\_container”\>  
\<div id=“thumb1”\>\<a href="javascript:void()"onmouseover="ShowPage(‘frame1’)"onclick=“ShowPage(‘frame1’)” target=“mainbox”\>\</a\>\</div\>  
\<div id=“thumb2”\>\<a href="javascript:void()"onmouseover="ShowPage(‘frame2’)"onclick=“ShowPage(‘frame2’)” target=“mainbox”\>\</a\>\</div\>  
\<div id=“thumb3”\>\<a href="javascript:void()"onmouseover="ShowPage(‘frame3’)"onclick=“ShowPage(‘frame3’)” target=“mainbox”\>\</a\>\</div\> [/SIZE]

And then the mouseovers.js file looks like this (this is just a script i found online and edited so my guess is that the issue is here):  
[COLOR=#000000][FONT=Times]  
function ShowPage(frame1)  
//Display in the i-frame, the page whose name is aName  
{  
{  
frames[0].location = frame1+’.html’  
}

function ShowPage(frame2)  
//Display in the i-frame, the page whose name is aName

{  
frames[0].location = frame2+’.html’  
}

function ShowPage(frame3)  
//Display in the i-frame, the page whose name is aName

{  
frames[0].location = frame3+’.html’  
}  
}

Like i said, works on ffox, safari, ie7, chrome… so im sort of at a loss. Ideas?  
[/FONT][/COLOR]
