Hi I have an animated image on my site and when you click on it opens a popup. I noticed right when I click on the popup the animated stops, and I need the animated to remain looping even when click on on the image.
I currently have the code for one of my Animated Images...
If needed...
I currently have the code for one of my Animated Images...
Code:
<a href="javascript:openWindow('[URL unfurl="true"]http://domain.com/referralCodes.php?bannerSize=468x60',[/URL] 550, 480);" onMouseOver="window.status='Click here to for instructions on how to use this banner.'; return true" onMouseOut="window.status=''; return true"><img src="[URL unfurl="true"]http://domain.com/banners/bannerAnimated_468x60.gif"[/URL] width="468" height="60" border="0"></a>
If needed...
Code:
<script type="text/javascript">
var OpenedWin;
function openWindow(URL,w,h,atEnd)
{
if(!/\?/.test(URL))
{
URL = URL+'?';
}
if(/^http:\/\/[URL unfurl="true"]www/.test(window.location))[/URL]
{
URL = URL.replace(/^http:\/\//, "[URL unfurl="true"]http://www.")[/URL]
}
if(!atEnd) { atEnd = ''; }
OpenedWin = window.open(URL+'&bar=Members'+atEnd+'', 'go'+w+h+'', 'width='+w+',height='+h+',top='+(screen.height-h)/2+',left='+(screen.width-w)/2+',screenX='+(screen.width-w)/2+',screenY='+(screen.height-h)/2+',location=0,directories=0,status=no,menuBar=no,scrollBars=yes,resizable=1');
OpenedWin.focus();
}