Previous Message
Next Message

[css-d] Re: [OT] Can javascript write to existing page?

Sent by Tim Luoma on 9 July 2002 16:04


Johan Solve wrote:

>Well, sort of OT, but still borders to CSS. 
>
thread { border: css ; }

tee hee....


>I'm pretty new to both CSS and javascript but do have programming experience from other langauges. 
>
>I'm working on a <div>-layer hierarchic menu solution that will be pretty big (don't like it, but
the client demands it), so I'm thinking of ways to optimize it. 
>
Hrm... you could make use of the menu that is on css/edge ;-)

>I want to generate the divs only when needed so when a particular menu item is selected, the div
for that menu selection is generated and populated on the fly instead of just making an existing div
visible. That way I don't have to bog down the page with several hundred hidden nested divs of which
most will be unused. 
>
Sounds terribly slow.

I don't know jacksquat 'bout JS, but.....

Could there be one file which includes the DIVs for each menu and that 
file is read onMouseOver?  

About the only way I can see this working is with a fixed nav bar on the 
left hand side that would open over the page.

CSS possibility: What about changing the z-index from like -10000 to +2 
on :hover or :active ?  would that work?

Throwing out WAGs as usual

TjL
Previous Message
Next Message