RobG said:
If you post a brief example, you may get an answer more quickly. I'm
not quite sure what you mean by a "javascript tree" - I presume you are
talking about collapsible, hierarchical menus - but I may be wrong.
Rob.
Is is in fact a tree that could be used as a menu or to navigate
through folders in Explorer style, it is indeed collapsible. The main
point is that as it expands in the frame so it has to be scrollable.
The source code snippet wouldn't be meaningful because it is embedded
in JSPs, here's what I have in the page:
<script language="JavaScript">function
setTreeParamsAndGo7129984(action, nodeId)
{setFieldValue('cti_current_contexte', 'GC_LOISFED.');go('/envirolex'
+ action + '?requestURI=%2Fenvirolex%2Fui%2FEnvUiLoisFed.jsp%23tree7129984&nodeId='
+ nodeId, false);}</script>
<a name="tree7129984"></a>
<span class="tree"><ul>
<li><a class="treeActuator"
href="javascript:setTreeParamsAndGo7129984('/fermerNoeud.do','242');"><span
class="treeNodeOpenCH"> </a><a class="treeActuator"
title="Numéro: RS 101"
href="javascript:setTreeParamsAndGo7129984('/selectionnerNoeud.do','242');">CONSTITUTION
FEDERALE</a></span><span><a
href="
http://www.admin.ch/ch/f/rs/101/index.html"> @ </a></span>
etc...
Pretty meaningless if you don't know what the functions do.
What interests me is how to control the scrolling part. Thank you for
your answers.
Sergio.