gus
08-07-2002, 09:54 AM
Hi
I made custom element behavior implementated using viewlink. basically
its a menu bar that has dropdown menus. it loads the content from an xml
doc and creates the nescesarry html via a xsl transformation. All the code
resides in a .htc file. to render the menus Im using this structure.
<div>
<div onmouseuver="mouseOver(this);" onmouseout="mouseOut(this);">Menu1
<div style="display:none; position:absolute;">
<nobr><a href="www">Submenu1</a></nobr>
<nobr><a href="www">Submenu2</a></nobr>
</div>
</div>
...
</div>
in the htc file there is some code to show the "submenus".
now the problem: in the custom element in the containing page if i dont specifiy
enough width/height the submenus are truncated. so this basically renders
the componant useless. cause the submenus try and render in the master elements
document.
any help/ideas would be great
I made custom element behavior implementated using viewlink. basically
its a menu bar that has dropdown menus. it loads the content from an xml
doc and creates the nescesarry html via a xsl transformation. All the code
resides in a .htc file. to render the menus Im using this structure.
<div>
<div onmouseuver="mouseOver(this);" onmouseout="mouseOut(this);">Menu1
<div style="display:none; position:absolute;">
<nobr><a href="www">Submenu1</a></nobr>
<nobr><a href="www">Submenu2</a></nobr>
</div>
</div>
...
</div>
in the htc file there is some code to show the "submenus".
now the problem: in the custom element in the containing page if i dont specifiy
enough width/height the submenus are truncated. so this basically renders
the componant useless. cause the submenus try and render in the master elements
document.
any help/ideas would be great