VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: jenkinhill on October 14, 2007, 20:41:17 PM

Title: Add to cart popup in IE6 is in wrong place
Post by: jenkinhill on October 14, 2007, 20:41:17 PM
In IE6 the popup information window, added to cart, is mostly above the top of the browser window, with just the lower 1cm or so showing. No problem in IE7 and FireFox.

Database Version: 4.1.20
PHP Version: 4.4.2
Web Server: Apache
VirtueMart 1.1: Ver. 998 13 October
Joomla! Version: Joomla! 1.0.13 Stable [ Sunglow ]
Title: Re: Add to cart popup in IE6 is in wrong place
Post by: aravot on October 14, 2007, 23:27:03 PM
Don't have IE6 here.
Title: Re: Add to cart popup in IE6 is in wrong place
Post by: jenkinhill on October 14, 2007, 23:47:42 PM
Can anyone with IE6 confirm this?
Title: Re: Add to cart popup in IE6 is in wrong place
Post by: hammo on October 25, 2007, 22:04:40 PM
Yes, I have IE 6.0 and I can confirm that the popup box partially appears at the top the screen.

However, after further investigation I found this happened only on certain templates. So my question is what determines where the popup box appears?

Title: Re: Add to cart popup in IE6 is in wrong place
Post by: hammo on October 25, 2007, 22:18:41 PM
After reading this thread

http://forum.virtuemart.net/index.php?topic=32241.0

I removed the following  line from the template and the popup box appears OK in the centre of the page

echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';


I don't understand what this line is actually doing to cause the problem.
Title: Re: Add to cart popup in IE6 is in wrong place
Post by: jenkinhill on October 26, 2007, 12:19:20 PM
That line causes IE6 to go into quirks mode so it makes its own interpretation of how the page should look. VM1.1 displays best where the browser is running in standards complaint mode - as you say, then the popup is correctly positioned.

Good spot!