Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHTML DIV ON TOP OF OTHER ?

Status
Not open for further replies.

ETN

Programmer
Jan 27, 2004
33
CA
Hi

I have a calendar with div layers for each days of a month. Because the layers are not so big (the container layer is 800*600) when events can't enter in the day-layer I display the 18 first characters and I want the user to mouseOver the day-layer and I open another layer containing all the event (that was hidden).

All this is working but my problem is that the layer I open is not on Top of the others in the background... How do I do this ?

I want to do a kind of "title" when you make a anchor <a href="blabla" title="more text">text</a> but with my layer because I have lots of formating text and tables and stuffs...

I've played with the style tag of the div but did not find anything that can help...

Thanks
 
Ok i found out that putting a z-index higher than all my others DIV works... I don't know if there is another way althought... It is OK for my case but in some case where everything is dynamic (i.e. the number of divs) it can be hard to determine the "High" value...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top