calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Tue Aug 01, 2006 6:46 pm Post subject: How to prevent the calendar from being zoomed in Firefox? |
|
|
Simply add the following code to your page:
Code: | <script type="text/javascript">
function checkZoom(e)
{
if (e.ctrlKey && (e.keyCode == 107||e.keyCode == 109||e.keyCode == 96))
setTimeout("window.location.reload()", 100);
return true;
}
if (window.addEventListener) window.addEventListener("keydown", checkZoom, false);
</script> |
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|