Bonjour,
J'essaye de positionner un fieldset de formulaire en fonction du scroll effectuer sur la page.
Il s'agit en fait de l'émulation en JS d'un position:fixed sous IE pour une apllicatioin intranet
Les soluces que j'ai trouvé sur le web utilise srolltop. Comme IE est en mode standard (j'utilise un doctype xtml stict sans prologue xml), scrolltop ne fonctionne pas.
Existe-t-il un équivalant ecmascript de scrolltop ?
Avez-vous une autre idée ?
Merci
Code :
Le fieldset à fixer à une id = "actionMenu"
Modifié par Mathieu_vd (15 May 2006 - 18:12)
J'essaye de positionner un fieldset de formulaire en fonction du scroll effectuer sur la page.
Il s'agit en fait de l'émulation en JS d'un position:fixed sous IE pour une apllicatioin intranet
Les soluces que j'ai trouvé sur le web utilise srolltop. Comme IE est en mode standard (j'utilise un doctype xtml stict sans prologue xml), scrolltop ne fonctionne pas.
Existe-t-il un équivalant ecmascript de scrolltop ?
Avez-vous une autre idée ?
Merci
Code :
Le fieldset à fixer à une id = "actionMenu"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>SIS Bundle Manager 0_1</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="screen.css" media="screen" />
<script type="text/javascript" src="script/common.js"></script>
</head>
<body>
<div id="header">
<img src="" alt="Logo SIS Bundle Manager" title="Version 0.1"/>
<img src="" alt="Logo IPM"/>
<ul>
<li><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=requestBundleList">Bundle Area</a></li>
<li><a href="http://localhost:8080/SIS%20bundle%20Manager/AdminArea.do?method=viewAdminArea">Admin Area</a></li>
</ul>
<p><a href="javascript:window.close()" title="Fermer la page"><span>Fermer la page</span></a></p>
</div>
<div id="main">
<h1>Bundle Management</h1>
<div id="BundleList">
<h2>Bundle List</h2>
<form action="">
<fieldset id="actionMenu">
<h4>Bundle List Actions</h4>
<input type="submit" value="Execute" />
<input type="reset" value="Reset" />
<p><a href="javascript:ecrire()">ecrire</a></p>
</fieldset>
<table summary="Bundle List">
<caption>Bundle List</caption>
<thead>
<tr>
<th></th>
<th>Name</th>
<th>Target</th>
<th>Validity</th>
</tr>
</thead>
<tbody>
<tr>
<td><input id="DHfoot" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot2" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot2</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4a" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4a</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4à" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4à</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4d" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4d</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot6" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot6</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfootd" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot2e" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot2</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4az" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4a</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4àr" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4à</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4dr" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4d</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot6r" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot6</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoott" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot2t" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot2</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4at" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4a</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4àt" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4à</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4dt" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4d</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot6t" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot6</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfooty" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot2u" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot2</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4au" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4a</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4àu" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4à</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4du" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4d</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot6u" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot6</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr> <tr>
<td><input id="DHfooti" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot2o" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot2</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4ao" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4a</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4ào" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4à</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot4do" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot4d</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
<tr>
<td><input id="DHfoot6o" type="checkbox"/></td>
<td><a href="http://localhost:8080/SIS%20bundle%20Manager/ManageBundle.do?method=prepareProductList&bundleName=DHfoot">DHfoot6</a></td>
<td>ftp://[user]:[password]@[host]:[port]/[path]</td>
<td>7</td>
</tr>
</tbody>
</table>
<p><input type="submit" value="Execute" /><input type="reset" value="Reset" /></p>
</form>
</div>
</div>
</body>
</html>
Modifié par Mathieu_vd (15 May 2006 - 18:12)