| > focus et tableau |
[ Posté par dscooby ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 10-08-2008 à 20:22 | 50 messages ]
  bonsoir,
j'ai un tableau dynamique avec des balises <table> <tr> <td> et je voudrais que lorsque je click sur une partie de tableau il garde le focus
merci d'avance
 
|
|
|
[ Posté par v1nce ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 09:21 | 3861 messages ]
  pas clair.
________________ V1nce
Si je les ai oubliés les bonjour, merci et au revoir sont implicites
Brevets logiciels : dites NON !
http://petition.eurolinux.org/index.html
http://swpat.ffii.org/index.fr.html
|
[ Posté par dscooby ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 10:51 | 50 messages ]
  voici mon code :
<body bgcolor='#1a5177' text='#FFFFFF' onload='document.table_'.$var_focus.'.focus()'>";
.....
echo" <input type='hidden' name='table_$data[id]' value='1'><table name='table_$data[id]' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>";
merci d'avance car ca marche pas...
|
[ Posté par v1nce ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 11:51 | 3861 messages ]
 
dscooby a dit
voici mon code :
<body bgcolor='#1a5177' text='#FFFFFF' onload='document.table_'.$var_focus.'.focus()'>";
.....
echo" <input type='hidden' name='table_$data[id]' value='1'><table name='table_$data[id]' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>";
merci d'avance car ca marche pas... |
|
Que donne le html généré ?
________________ V1nce
Si je les ai oubliés les bonjour, merci et au revoir sont implicites
Brevets logiciels : dites NON !
http://petition.eurolinux.org/index.html
http://swpat.ffii.org/index.fr.html
|
[ Posté par dscooby ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 15:13 | 50 messages ]
  pa d'erreur mais pas de focus non plus
|
[ Posté par v1nce ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 16:51 | 3861 messages ]
 
dscooby a dit
pa d'erreur mais pas de focus non plus |
|
je voulais dire : "donne nous le html généré".
Dans ton code, il y a des variables php qui sortent d'on ne sait où, je voudrais donc voir le html généré.
________________ V1nce
Si je les ai oubliés les bonjour, merci et au revoir sont implicites
Brevets logiciels : dites NON !
http://petition.eurolinux.org/index.html
http://swpat.ffii.org/index.fr.html
|
[ Posté par dscooby ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 11-08-2008 à 23:06 | 50 messages ]
  <html>
<head>
<meta http-equiv='Content-Language' content='fr'>
<meta name='GENERATOR' content='Microsoft FrontPage 5.0'>
<meta name='ProgId' content='FrontPage.Editor.Document'>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>
<title>Liste des Albums Photos</title>
<link rel='stylesheet' type='text/css' href='../liens/style-shtml.css'>
<style>
a{
text-decoration:none;
}
a:hover{
text-decoration:none;
}
</style>
";
$date = strftime('%Y-%m-%d-%D');
$day = isset($_GET['day'])? $_GET['day']: date("d",time());
$month = isset($_GET['month'])? $_GET['month']: date("m",time());
$year = isset($_GET['year'])? $_GET['year']: date("Y",time());
//echo "<p align='center'><font color='#808000'>coucou</font></p>";
echo"
</head>";
if($var_new=='new')
{
$var_menu = 'Nouveautés';
$var_color = '#99CCFF';
}
if($var_new=='archive')
{
$var_menu = 'Archives';
$var_color = '#FFFF66';
}
echo"
<body>";
echo"
<body bgcolor='#1a5177' text='#FFFFFF' onload='document.table_'.$var_focus.'.focus()'>";
if($var_new=='new')
{
echo"
<table width='168' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' onMouseOut=\"this.style.background='#1a5177'\" onMouseOver=\"this.style.background='#000000'\" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href=\"javascript arent.sommaire.location.href = '../espace_photos/sommaire_espace_photos.html'; parent.principal.location.href ='../espace_photos/creation_photos.html';\">
<font color='#CCCCCC'><b>C</b>réation Album</font></font></a></td>
</tr>
<tr>
<td bgcolor='#1a5177' onMouseOut=\"this.style.background='#1a5177'\" onMouseOver=\"this.style.background='#000000'\" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href=\"javascript arent.sommaire.location.href='../espace_photos/sommaire_mer.php?var_year=$data[date]&var_new=archive&var_focus=$data[date]';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/blue.html';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/defaut.jpg';\">
<font color='#FFFF66'><b>A</b>rchive</font></font></a></td>
</tr>
</table>
";
//<a href=\"javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=archive'; parent.principal.location.href ='../espace_photos/archive_photos.html';\">
}
if($var_new=='archive')
{
echo"
<table width='168' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' onMouseOut=\"this.style.background='#1a5177'\" onMouseOver=\"this.style.background='#000000'\" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href=\"javascript arent.sommaire.location.href = '../espace_photos/sommaire_espace_photos.html'; parent.principal.location.href ='../espace_photos/creation_photos.html';\">
<font color='#CCCCCC'><b>C</b>réation Album</font></font></a></td>
</tr>
<tr>
<td bgcolor='#1a5177' onMouseOut=\"this.style.background='#1a5177'\" onMouseOver=\"this.style.background='#000000'\" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href=\"javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=$data[id]';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/blue.html';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/defaut.jpg';\">
<font color='#99CCFF'><b>N</b>ouveauté</font></font></a></td>
</tr>
</table>
";
}
echo"<p style='margin-top: -10px'> </p>";
echo"
<table align='center' width='115' height='295' border='0' cellspacing='0' cellpadding='0' style='border-collapse: collapse' bordercolor='#111111'>
<tr>
<td valign='top' align='center' nowrap width='115' height='295'> ";
if($var_new=='new')
{
echo"
<p align='center'><font size='3' color='$var_color'><b>$var_menu</b></font>
<p style='margin-bottom: +5px'></p>";
}
elseif($var_new=='archive')
{
echo"
<p align='center'><a href=\"javascript arent.sommaire.location.href='../espace_photos/sommaire_mer.php?var_new=archive&var_year=';parent.principal.location.href ='../espace_photos/archive_photos.html';\"><font size='3' color='$var_color'><b>$var_menu</b></font></a>
<p style='margin-bottom: +5px'></p>";
}
//<a href='sommaire_mer.php?var_new=archive&var_year='>
if($var_new=='new')
{
$sql = "SELECT distinct id,
date,
auteur,
site
FROM photo
WHERE substr(date,1,4) = '$year'
ORDER BY date desc";
}
elseif($var_new=='archive' && $var_year=='')
{
$sql = "SELECT distinct substr(date,1,4) date
FROM photo
WHERE substr(date,1,4) != '$year'
ORDER BY 1 desc";
}
elseif($var_year!='' && $var_new=='archive')
{
$sql = "SELECT distinct id,
date,
auteur,
site
FROM photo
WHERE substr(date,1,4) = '$var_year'
ORDER BY date desc";
}
$req = mysql_query($sql) or die('Erreur SQL !<br>'.$sql.'<br>'.mysql_error());
$cpt_boucle = 0;
if($data = mysql_fetch_array($req))
{
Do
{
$cpt_boucle++;
echo" <input type='hidden' name='table_$data[id]' value='1'><table name='table_$data[id]' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>";
|
[ Posté par v1nce ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 12-08-2008 à 09:18 | 3861 messages ]
  le php c'est bien mais ce que je veux c'est le résultat de ce php, c-a-d le html tel qu'il est transmis au navigateur
________________ V1nce
Si je les ai oubliés les bonjour, merci et au revoir sont implicites
Brevets logiciels : dites NON !
http://petition.eurolinux.org/index.html
http://swpat.ffii.org/index.fr.html
|
[ Posté par dscooby ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 12-08-2008 à 15:57 | 50 messages ]
 
<html>
<head>
<meta http-equiv='Content-Language' content='fr'>
<meta name='GENERATOR' content='Microsoft FrontPage 5.0'>
<meta name='ProgId' content='FrontPage.Editor.Document'>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>
<title>Liste des Albums Photos</title>
<link rel='stylesheet' type='text/css' href='../liens/style-shtml.css'>
<style>
a{
text-decoration:none;
}
a:hover{
text-decoration:none;
}
</style>
</head>
<body>
<body bgcolor='#1a5177' text='#FFFFFF' onload='document.table_'.FB_Baie Audierne_15-JUL-2008.'.focus()'>
<table width='168' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_espace_photos.html'; parent.principal.location.href ='../espace_photos/creation_photos.html';">
<font color='#CCCCCC'><b>C</b>réation Album</font></font></a></td>
</tr>
<tr>
<td bgcolor='#1a5177' onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor ointer' nowrap ><font face='Verdana' size='1'>
<a href="javascript arent.sommaire.location.href='../espace_photos/sommaire_mer.php?var_year=&var_new=archive&var_focus=';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/blue.html';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/defaut.jpg';">
<font color='#FFFF66'><b>A</b>rchive</font></font></a></td>
</tr>
</table>
<p style='margin-top: -10px'> </p>
<table align='center' width='115' height='295' border='0' cellspacing='0' cellpadding='0' style='border-collapse: collapse' bordercolor='#111111'>
<tr>
<td valign='top' align='center' nowrap width='115' height='295'>
<p align='center'><font size='3' color='#99CCFF'><b>Nouveautés</b></font>
<p style='margin-bottom: +5px'></p> <input type='hidden' name='table_FB_Brezellec_08-AOU-2008' value='1'><table name='table_FB_Brezellec_08-AOU-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Brezellec_08-AOU-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Brezellec_08-AOU-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Brezellec_08-AOU-2008/Homard 08-AUG-2008 018.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>08-AOU-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Brezellec</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FH_Brezellec_08-AOU-2008' value='1'><table name='table_FH_Brezellec_08-AOU-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FH_Brezellec_08-AOU-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FH_Brezellec_08-AOU-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FH_Brezellec_08-AOU-2008/Seiche 3421.JPG';" title='Photographe : Fabienne H.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>08-AOU-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Brezellec</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.H. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Pors Lesven_04-AOU-2008' value='1'><table name='table_FB_Pors Lesven_04-AOU-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Pors Lesven_04-AOU-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Pors Lesven_04-AOU-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Pors Lesven_04-AOU-2008/Araignee Algue 04 aug 2008 013.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>04-AOU-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Pors Lesven</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Penharn_30-JUL-2008' value='1'><table name='table_FB_Penharn_30-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Penharn_30-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Penharn_30-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Penharn_30-JUL-2008/30 jul 2008 001.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>30-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Penharn</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Penharn_28-JUL-2008' value='1'><table name='table_FB_Penharn_28-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Penharn_28-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Penharn_28-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Penharn_28-JUL-2008/Saint Pierre 28 jul 2008 033.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>28-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Penharn</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FH_Notre Dame_19-JUL-2008' value='1'><table name='table_FH_Notre Dame_19-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FH_Notre Dame_19-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FH_Notre Dame_19-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FH_Notre Dame_19-JUL-2008/Notre Dame 3370.JPG';" title='Photographe : Fabienne H.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>19-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Notre Dame</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.H. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Pointe Jument_16-JUL-2008' value='1'><table name='table_FB_Pointe Jument_16-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Pointe Jument_16-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Pointe Jument_16-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Pointe Jument_16-JUL-2008/Alcyon 16 jul 2008 004.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>16-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Pointe de la Jument</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Baie Audierne_15-JUL-2008' value='1'><table name='table_FB_Baie Audierne_15-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#000000' nowrap onMouseOut="this.style.background='#000000'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Baie Audierne_15-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Baie Audierne_15-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Baie Audierne_15-JUL-2008/Copie de Saint Pierre 08-AUG-2008 033.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>15-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Baie Audierne</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FB_Brezellec_11-JUL-2008' value='1'><table name='table_FB_Brezellec_11-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FB_Brezellec_11-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FB_Brezellec_11-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FB_Brezellec_11-JUL-2008/Baliste 11 jul 2008 018.jpg';" title='Photographe : François B.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>11-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Brezellec</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.B. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FH_Brezellec_11-JUL-2008' value='1'><table name='table_FH_Brezellec_11-JUL-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FH_Brezellec_11-JUL-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FH_Brezellec_11-JUL-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FH_Brezellec_11-JUL-2008/Grondin perlon 3347.JPG';" title='Photographe : Fabienne H.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>11-JUL-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Brezellec</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.H. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p> <input type='hidden' name='table_FH_Brezellec_20-JUN-2008' value='1'><table name='table_FH_Brezellec_20-JUN-2008' width='168' align='center' border='1' bordercolorlight='#000000' bordercolordark='#C0C0C0' cellpadding='0' cellspacing='0'>
<tr>
<td bgcolor='#1a5177' nowrap onMouseOut="this.style.background='#1a5177'" onMouseOver="this.style.background='#000000'" style='cursor:hand'>
<a href="javascript arent.sommaire.location.href = '../espace_photos/sommaire_mer.php?var_new=new&var_focus=FH_Brezellec_20-JUN-2008';parent.principal.espace_photo_1.carousel2.location.href='../espace_photos/photo_carousel_2.php?var_id=FH_Brezellec_20-JUN-2008';parent.principal.espace_photo_1.mer3.location.href='../espace_photos/photos/FH_Brezellec_20-JUN-2008/Poulpe 3301.JPG';" title='Photographe : Fabienne H.'>
<p style='margin-bottom: -20px'> <b><font face='Verdana' size='1' color='#99CCFF'>20-JUN-2008</font></b></p>
<p style='margin-bottom: 0px'> <b><font face='Verdana' size='1' color='#FFFFFF'>Brezellec</font></b><b> <font face='Verdana' size='1' color='#C0C0C0'>( F.H. )</font></b></p>
</a>
</td>
</tr>
</table></input> <p align='left' style='margin-top: +5; margin-bottom: 0'></p>
</td>
</tr>
</table>
</body>
</html>
merci 
|
[ Posté par v1nce ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 12-08-2008 à 18:01 | 3861 messages ]
  onload='document.table_'.FB_Baie Audierne_15-JUL-2008.'.focus()'
ne fonctionnera pas
onload='document.table_FB_Baie Audierne_15-JUL-2008.focus()'
fonctionnera peut-être (mais ça m'étonnerait)
onload='document.getElementById("table_FB_Baie Audierne_15-JUL-2008").focus()'
fonctionnera mieux.
ne pas oublier de remplacer les name par des id sinon cela fonctionnera sur cet abruti de IE (pour qui name = id :fou mais pas sur FF
tu devrais utiliser des css pour diviser la taille de ta page par 2 (voir 3)
________________ V1nce
Si je les ai oubliés les bonjour, merci et au revoir sont implicites
Brevets logiciels : dites NON !
http://petition.eurolinux.org/index.html
http://swpat.ffii.org/index.fr.html
|