Modification css, javascript

This commit is contained in:
Michael RICOIS 2009-03-02 14:25:00 +00:00
parent 4e5c663da2
commit b26a290d58
11 changed files with 36 additions and 163 deletions

3
www/js/jqueryprogressbar.js vendored Normal file
View File

@ -0,0 +1,3 @@
(function($){$.fn.reportprogress=function(val,maxVal){var max=100;if(maxVal)
max=maxVal;return this.each(function(){var div=$(this);var innerdiv=div.find(".progress");if(innerdiv.length!=1){innerdiv=$("<div class='progress'></div>");div.append("<div class='text'> </div>");$("<span class='text'> </span>").css("width",div.width()).appendTo(innerdiv);div.append(innerdiv);}
var width=Math.round(val/max*100);innerdiv.css("width",width+"%");div.find(".text").html(width+" %");});};})(jQuery);

View File

@ -1,71 +0,0 @@
<h3>Nothing here !</h3>

11
www/nonimg/jquery.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,54 +0,0 @@
/*
* Copyright (c) 2007 Josh Bush (digitalbush.com)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
/*
* Progress Bar Plugin for jQuery
* Version: Alpha 2
* Release: 2007-02-26
*/
(function($) {
//Main Method
$.fn.reportprogress = function(val,maxVal) {
var max=100;
if(maxVal)
max=maxVal;
return this.each(
function(){
var div=$(this);
var innerdiv=div.find(".progress");
if(innerdiv.length!=1){
innerdiv=$("<div class='progress'></div>");
div.append("<div class='text'>&nbsp;</div>");
$("<span class='text'>&nbsp;</span>").css("width",div.width()).appendTo(innerdiv);
div.append(innerdiv);
}
var width=Math.round(val/max*100);
innerdiv.css("width",width+"%");
div.find(".text").html(width+" %");
}
);
};
})(jQuery);

View File

@ -257,7 +257,7 @@ try {
behavior:url(#default#VML);
}
</style>
<link rel="stylesheet" type="text/css" href="/nonimg/main.css" />
<link rel="stylesheet" type="text/css" href="./css/main.css" />
</head>
<body onload="onLoad()">

View File

@ -228,8 +228,9 @@ $raisonSociale=$tabInfo['entrep']['raisonSociale'];
<tr>
<td colspan="3" align="center"><?
if ($vue==0) {
?><script src="/nonimg/jquery.js" type="text/javascript"></script>
<script src="/nonimg/jqueryprogressbar.js" type="text/javascript"></script>
?>
<script src="./js/jquery.js" type="text/javascript"></script>
<script src="./js/jqueryprogressbar.js" type="text/javascript"></script>
<script type="text/javascript">
$("#progressbar").reportprogress(0);
@ -245,7 +246,9 @@ if ($vue==0) {
}
}
handle=setInterval("update()",700);
</script><div id="progressbar"></div><?
</script>
<div id="progressbar"></div>
<?
$message='Commande de K-Bis en cours';
mail( 'ylenaour@scores-decisions.com',"KBIS en cours pour $login ($siren, vue=$vue)",
'REQUEST='.EOL.print_r($_REQUEST,true).'EOL'.
@ -296,8 +299,8 @@ if ($vue==0) {
'O='.print_r($O,true).EOL);
} else {
?>
<script src="/nonimg/jquery.js" type="text/javascript"></script>
<script src="/nonimg/jqueryprogressbar.js" type="text/javascript"></script>
<script src="./js/jquery.js" type="text/javascript"></script>
<script src="./js/jqueryprogressbar.js" type="text/javascript"></script>
<script type="text/javascript">
$("#progressbar").reportprogress(0);

View File

@ -91,16 +91,16 @@ if ($sortie=='pdf') {
<html>
<head>
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
<link rel="stylesheet" type="text/css" href="/nonimg/main.css" />
<link rel="stylesheet" type="text/css" href="/nonimg/menu.css" />
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<link rel="stylesheet" type="text/css" href="./css/menu.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe_base.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe.css" />
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete.css" />
<script type="text/javascript" src="/nonimg/menu.js"></script>
<script type="text/javascript" src="/nonimg/dropDownOverlapping.js"></script>
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="./js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="./js/menu.js"></script>
<script type="text/javascript" src="./js/dropDownOverlapping.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#formR-naf").autocomplete("./pages/nafajax.php", {
@ -194,25 +194,29 @@ function getImagePageTop(img){
<?
if ($sortie<>'pdf' && $sortie<>'prt')
{
?>
<body onResize="JSFX_FloatTopDiv()">
<? //}
} elseif ($sortie=='prt') { ?>
<body onLoad="window.print();window.close();">
<? } ?>
<center>
<table border="0" width="800" height="600">
<tr>
?>
<body onResize="JSFX_FloatTopDiv()">
<? //}
} elseif ($sortie=='prt') { ?>
<body onLoad="window.print();window.close();">
<?
}
?>
<center>
<table border="0" width="800" height="600">
<tr>
<?
if ($sortie<>'pdf' && $sortie<>'prt') {
if ($sortie<>'pdf' && $sortie<>'prt') {
?>
<td width="220" valign="top"><!--<img src="./img/logo_menu.png" width="200" height="65" />-->&nbsp;</td>
<td width="580"><table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%"><tr><td valign="top"><?include($page2)?></td></tr></table></td>
<?
} else {
} else {
?>
<td width="800"><table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%"><tr><td valign="top"><?include($page2)?></td></tr></table></td>
<? } ?>
<?
}
?>
</tr>
</table><br/>
<font size="1" face="Arial, Helvetica, sans-serif">&copy; 2006-<?=date('Y')?> Scores &amp; D&eacute;cisions SAS - Tous droits r&eacute;serv&eacute;s - <a href="<?=SITEINST_URL2?>mentions.htm" target="_blank">Mentions l&eacute;gales</a>
@ -221,12 +225,11 @@ if ($sortie<>'pdf' && $sortie<>'prt')
</font>
</center>
<? if ($sortie<>'pdf' && $sortie<>'prt') { ?>
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<script>
if (!document.layers){ document.write('<div id="divStayTopLeft" style="position:absolute">'); }
</script>
<layer id="divStayTopLeft">
<layer id="divStayTopLeft">
<div style="float:left" id="my_menu" class="sdmenu"><img src="./img/logo_menu.gif" width="200" height="65"><div class="collapsed">
<span>RECHERCHES</span>
<a href="/?page=recherche&vue=ent">Rechercher une entreprise</a>