Author Topic: Add to cart popup in IE6 is in wrong place  (Read 6436 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Add to cart popup in IE6 is in wrong place
« 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 ]
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33


jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Re: Add to cart popup in IE6 is in wrong place
« Reply #2 on: October 14, 2007, 23:47:42 pm »
Can anyone with IE6 confirm this?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

hammo

  • Beginner
  • *
  • Posts: 9
Re: Add to cart popup in IE6 is in wrong place
« Reply #3 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?


hammo

  • Beginner
  • *
  • Posts: 9
Re: Add to cart popup in IE6 is in wrong place
« Reply #4 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

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

I don't understand what this line is actually doing to cause the problem.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Re: Add to cart popup in IE6 is in wrong place
« Reply #5 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!
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33