Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Z-index problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-03-2010, 06:02 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Z-index problem

I have a problem with the dialog title having a z-index set to -1, but it is listed as an inline style when I use developers tools for IE. Things work fine in FF. I have searched all of my templates looking for this silly z-index and cant seem to find it.
I have even tried to force it in the dialog.tpl file with a z-index of 0 but it wont over ride it. Anyone have any thoughts?
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #2  
Old 08-03-2010, 06:47 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Z-index problem

It is possible to change css with javascript - it could be happening there.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 10-23-2010, 10:52 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Z-index problem

I have the same problem! Everything was fine while I had the line
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
in
/customer/meta.tpl
but I had to comment that out because it was causing problems with vertical centring in IE8. When I commented it out, my dialog title disappeared, and I too have the inline style:

<div class="title" style="z-index: -1;">
(when viewed with IE Developer Tools)

yet when I view the source HTML in IE8, it just says
<div class="title">

Why would you want to set the heading to z-index -1 anyway?

Sorry for all the bold text, but bugs in the forum stop me from removing it.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #4  
Old 10-23-2010, 11:11 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Z-index problem

Thanks gb2world, due to your post I've found the solution:

edit
/customer/meta.tpl

and comment out the reference to iepositioning_fix.js, near the very bottom, like so:

Code:
{* <!--[if IE ]> <script type="text/javascript" src="{$SkinDir}/iepositioning_fix.js"></script> <![endif]--> *}

I think this may only apply to IE7 or earlier (or even IE6 or earlier), but that's just a guess.

(Sorry about all the bold text - as soon as I paste in "/customer/meta.tpl" from my browser, everything is stuck on bold, with no way to turn it off!)

__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #5  
Old 10-23-2010, 03:14 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Z-index problem

The situation where I have seen javascript fixes to css to overcome IE z-index bugs is associated with a lightbox or a jquery dialog/message box, or some kind of pop up like function. IE would not honor the z-index settting, so the message/popup/shadowbox would appear under a page element. Consequently - the fix might be there to move your title tag under a shadowbox or some other jquery dialog box.

So - it you have a jquery dialog, or some other javascript shadow box type functionality on the site - you might want to check that it still works on IE7.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 -8. The time now is 04:26 AM.

   

 
X-Cart forums © 2001-2020