IE fixes.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1840 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-01-17 21:22:05 +00:00
parent 96e4be9bb4
commit 687ff9b2b5
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ function newWindow(Url,Name,Width,Height)
var Win = window.open(Url,Name,"resizable,width="+Width+",height="+Height);
}
<?php
if ( $mode == "stream" && ZM_WEB_SHOW_PROGRESS )
if ( $mode == "stream" && ZM_WEB_SHOW_PROGRESS && isNetscape() )
{
?>
function incrementPanel( section )
@ -511,7 +511,7 @@ var timeout_id = window.setTimeout( "window.location.replace( '<?= $PHP_SELF ?>?
{
$start_section = (int)floor((($fid-1) * $panel_sections)/($event['Frames']+1));
}
if ( ZM_WEB_SHOW_PROGRESS )
if ( ZM_WEB_SHOW_PROGRESS && isNetscape() )
{
?>
window.setTimeout( "incrementPanel( <?= $start_section ?> )", <?= $panel_timeout ?> );