Javascript Tooltips, Popups, Captions - BoxOver  

Go Back   Javascript Tooltips, Popups, Captions - BoxOver > BoxOver > Bugs
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2006, 10:10 AM
propertycoach propertycoach is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Default How do I make BO appear OVER layers?

Hello

I am using this great piece of script, and really appeciate it's use however I am having trouble with it when used in conjunction with layers.

My particular page has a picture (embedded in a layer) and then, to create areas within the picture that, when hovered over, information shows using Boxover.

In order to create these 'hotspots' for the correct information I have created further layers in a 'family format so that if the parent layer is moved all the child layers move correctly and so the hot spots stay in the right places.

When I tried Boxover however, the information floats BELOW the layers.

Any advice?

I am quite good at using Dreamweaver...but not a master programmer so some simple step by step answer would be great.

Thanks in advance

Property Coach
Reply With Quote
  #2  
Old 06-15-2007, 03:14 PM
franz franz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
Thumbs up

Hi,
I came across this problem too and found that solution, it doesn't seem to break anything else.

Here's the trick :

edit your box over javascript file at this function :

Code:
function init() { oDv.appendChild(dvHdr); oDv.appendChild(dvBdy); oDv.style.position="absolute"; oDv.style.visibility='hidden'; document.body.appendChild(oDv); }
(for me it is at line 26)

and add this line :


Code:
oDv.style.zIndex="100";
like this :

Code:
function init() { oDv.appendChild(dvHdr); oDv.appendChild(dvBdy); oDv.style.position="absolute"; oDv.style.visibility='hidden'; oDv.style.zIndex="100"; document.body.appendChild(oDv); }
Now if it doesn't work you can put a higher value.

z-index css property info : http://www.w3schools.com/css/pr_pos_z-index.asp

Good luck !
Reply With Quote
  #3  
Old 09-06-2007, 01:23 PM
z-indexer z-indexer is offline
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default

SANTA SHALL BRING YOU MANY PRESENTS THIS YEAR, OH WISE INTERNET WITCH PRIEST.

Seriously thank you. This really saved me some big headaches.

Cheers.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:22 AM.