/***********************************************************************/
/* Fonctions javascript appel�es par le fascicule HTML et ses tableaux */
/***********************************************************************/
var PLANCHE=0;
var FENETRE=0;
var LISTE=0;
var BIBLIO=0;
/* Fermeture d'une fenetre */
function Close_Win(WIN)
{
/*
if (WIN && WIN.open && !(WIN.closed))
{
WIN.close();
}
*/
}
/* Affichage d'une planche */
function Afficher_Planche(NOM)
{
//Close_Win(PLANCHE);
PLANCHE = window.open(NOM, '_blank', 'toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (PLANCHE != null )
{
PLANCHE.focus();
}
}
/* affichage d'un tableau ou d'un document quelconque */
function Afficher_Document(NOM)
{
//Close_Win(FENETRE);
FENETRE = window.open(NOM, 'Element', 'width=640,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (FENETRE != null);
{
FENETRE.focus();
}
}
// afficher un de revue avec sa l�gende ...
function afficher_tab_legende(NOM,cap,numTab,NumRevu)
{
//Close_Win(FENETRE);
FENETRE = window.open(NOM, 'Element', 'width=640,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
FENETRE.document.write('
')
if (FENETRE != null);
{
FENETRE.focus();
}
// Astuce : on envoie vers la page de deconnexion.
// Si l'utilisateur est en fait encore connect�, il reviendra ici !
FENETRE.location.href = '/deconnection.jsp';
}// legende apr�s l'image
// afficher un tableau de revue v5 avec sa legende ...
function afficher_tableau(url)
{
FENETRE = window.open(url, 'Element', 'width=500,height=300,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (FENETRE != null);
{
FENETRE.focus();
}
// Astuce : on envoie vers la page de deconnexion.
// Si l'utilisateur est en fait encore connecte il reviendra ici !
//FENETRE.location.href = '/deconnection.jsp';
}// ???legende apres le tableau???
// afficher des figures de revue v5 avec sa legende ...
function afficher_figures(url)
{
FENETRE = window.open(url, 'Element', 'width=500,height=300,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (FENETRE != null);
{
FENETRE.focus();
}
// Astuce : on envoie vers la page de deconnexion.
// Si l'utilisateur est en fait encore connecte il reviendra ici !
FENETRE.location.href = '/deconnection.jsp';
}
function afficher_fig_legende(NOM,cap,numRevue,numFig)
{
//Close_Win(FENETRE);
FENETRE = window.open(NOM, 'Element', 'width=640,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
FENETRE.document.write(' EMC-Consulte: Figure ');
FENETRE.document.write('');
FENETRE.document.write('
');
if (FENETRE != null);
{
FENETRE.focus();
}
// Astuce : on envoie vers la page de deconnexion.
// Si l'utilisateur est en fait encore connect�, il reviendra ici !
//FENETRE.location.href = '/deconnection.jsp';
}
/* affichage d'une liste d' �l�ments */
function Afficher_Liste(NOM)
{
//Close_Win(LISTE);
LISTE = window.open(NOM, 'Liste', 'width=640,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (LISTE != null);
{
LISTE.focus();
}
}
/* affichage d'une biblio */
function Afficher_Biblio(NOM)
{
//Close_Win(BIBLIO);
BIBLIO = window.open(NOM, 'Biblio', 'width=640,height=400,toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=0,resizable=yes');
if (BIBLIO != null);
{
BIBLIO.focus();
}
}
/* ferme le fenetres filles quand on quitte le document principal */
function Au_Revoir()
{
/*
Close_Win(PLANCHE);
Close_Win(FENETRE);
Close_Win(LISTE);
Close_Win(BIBLIO);
*/
}
/* Alerte impression */
function alert_print()
{
alert('Cette page pr�sente l\'article en version imprimable.\nVeuillez utiliser la fonction \'Imprimer\' de votre navigateur.');
}
n(FENETRE);
Close_Win(LISTE);
Close_Win(BIBLIO);
*/
}
/* Alerte impression */
function alert_print()
{
alert('Cette page pr�sente l\'article en version imprimable.\nVeuillez utiliser la fonction \'Imprimer\' de votre navigateur.');
}