![]() |
|
#1
|
|||
|
|||
|
Hi people,
I am currently developing a project that uses Tabs from the DHTML Kitchen (http://dhtmlkitchen.com/scripts/tabs/index.jsp) and the problem is that the BoxOver script actually sits behind the Tab's so aren't visible. Is there any way to guarantee that BoxOver always be brought to front? Thanks Access |
|
#2
|
|||
|
|||
|
Does anyone use this forum?
|
|
#3
|
|||
|
|||
|
You can specify an external stylesheet with
HTML Code:
HTML Code:
HTML Code:
|
|
#4
|
|||
|
|||
|
It's actually quite interesting, I have set all the z-index values in the CSS for the tabs to 0, and have set the CSS for the BoxOver to 500 and they still fall behind.
The tabs are all set to absolute so its not a Rel/Ab problem... Odd... : / Any advice? Also when I use a fixed BoxOver such as when using the following code HTML Code:
Last edited by Access : 03-27-2006 at 04:36 AM. |
|
#5
|
|||
|
|||
|
Hi,
I have the same problem using in a Form. The BoxOver shows behind fields within a form. Any Ideas ? Garry |
|
#6
|
|||
|
|||
|
The form fields problem exists only in IE, and is the reason the hideselects option exists. I've had success with adding blank iframes behind other divs to cover up form fields (mainly selects) in IE, but I've been struggling to make this work with the complex positioning used by BoxOver. I'll post here if I get this working--it seems like the way to go.
Eric http://www.ericandchar.com/xsltvgrid |
|
#7
|
|||
|
|||
|
Hi,
I was looking at why this wasn't working in IE 6 but no problem in Mozilla. The way I solved it was with the use of z-index. Not in the CSS as I spent a while trying, but in the init() section of the javascript library. This is because of the way IE treats the z-index properties and the fact that the tooltip is not actually a part of the page until the loading process is completed. So, initialising the z-index at this point is the critical part. I have highlighted the resolution I found below. CSS - as used on the example page. .dvhdr1 { background:#F3F0E7; font-family:arial; font-size:12px; font-weight:bold; border:1px solid #C8BA92; padding:5px; width:150px; } .dvbdy1 { background:#FFFFFF; font-family:arial; font-size:12px; border-left:1px solid #C8BA92; border-right:1px solid #C8BA92; border-bottom:1px solid #C8BA92; padding:5px; width:150px; } javascript: function init() { oDv.appendChild(dvHdr); oDv.appendChild(dvBdy); oDv.style.position="absolute"; oDv.style.visibility='hidden'; oDv.style.zIndex='100'; document.body.appendChild(oDv); } I hope this helps out anyone else with this problem. Jeff |
|
#8
|
|||
|
|||
|
very handy Jeff, thanks, I was having exactly the same problem and wouldn't have solved it myself. Don't know javascript so... thanks!
|
|
#9
|
|||
|
|||
|
I have a form without DIV and I tried jdwmk solution, but it doesn't work, I have still the same...part of my form (SELECT tags) are ahead of BoxOver.
![]() My link with short part of page: boxover.htm Last edited by MilanJ : 08-23-2006 at 09:30 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|