Unable to emulate as IE7 in IE10 browser - windows

I used the following line to emulate IE10 as IE7 in Windows 8 professional machine.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
If I use this piece of code in a sample html, it worked fine and emulated as IE7. I observed value 7 using alert box to print : "document.documentMode".
But, if I use the same code in my project, it emulates as IE10 only. The value 10 has displayed in alert box.
There are no more meta tags except this. This code is working fine with IE7, IE8, IE9 which are emulated as IE7 only.
Can any one tell me in which case it would fail to emulate.

I often have to test projects in IE 7–10 and have found the emulation meta tags to be very inconsistent.
I recommend downloading a free VM for each version of IE (7, 8, 9, and 10) from Microsoft's new modern.IE website. You can simply open each VM in Parallels, VMware, or VirtualBox and you'll immediately be in a clean version of Windows 7 with the appropriate version of IE installed for you.
Download VMs for any version of IE you require here: http://www.modern.ie/en-us/virtualization-tools#downloads
Bonus: They even give you a simple cURL command to download each VM. In your case, you can download a VM of Windows Vista with IE 7 installed with the following command:
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VMWare_Fusion/IE7_Vista/IE7.Vista.For.MacVMware.part0{1.sfx,2.rar,3.rar,4.rar}"

Related

Download Safari 8 for Windows

I'm trying to find Safari 8 for Windows as I am programming a website and I want to see if it all works properly in the Safari browser.
I got Windows 8 and the Application Server and the database both run locally on my PC right now.
Is there a way to test the website on Safari 8 without having a Mac or iPhone?
Thanks!
Latest version of Safari for Windows was 5.1.7, then they discontinued the Windows version.
But if you want to test how your website renders under Safari, you can use online emulators like Browserstack.

mediaelement.js in Safari in Windows XP SP3

I'm testing mediaelement.js with various OS (Win XP and 7 so far) and browser combinations (Chrome, FF, IE8, Opera) before using it on my own website. Those combinations seem great but after hours of effort I can't get Safari to work well enough under Windows XP SP3 to do a true test of whether mediaelement.js works in Safari under Windows XP (Safari normally doesn't respond when visiting web pages with or without mediaelement).
Forum posters say that one shouldn't bother to try to make Safari and XP work together but my users worldwide use many combinations of OS and browser so I need to know whether to warn them off from trying to use my mediaelement-based pages with Safari and XP.
Can someone please confirm or deny that Safari on a Windows XP PC can play the video on http://mediaelementjs.com ? I would be most grateful.
I also tried this running an XP VM with all the latest updates. It worked with Safari 5.1.5 and I also upgraded it to 5.1.7 and both played the video without a hitch.
I found an old Win XP PC in the attic, installed Safari 5.1.7 and it handled the video on http://mediaelementjs.com fine.
I've been having this issue too. It's only on Safari on Windows. So far, I've had issues with Safari telling me that certain MediaElement functions don't exist:
TypeError: 'undefined' is not a function (evaluating 'this.pluginApi.loadMedia()')
It's obviously an issue with the Flash fallback and it occurs after calling .load(). It seems like a bug in MediaElementJS because that is an internal function.
I started setting the source like this:
var player = $('#wp_mep_1')[0].player.media;
player.src = 'video_url.mp4';
and then for Safari, or the Flash fallback, I had to manually change the flashvars after clicking to get the video to update:
$j('#me_flash_0').attr('flashvars','id=me_flash_0&isvideo=true&autoplay=false&
preload=none&width=480&startvolume=0.8&timerrate=250&flashstreamer=&height=270&
file='+video_urls[slider_position]+'.mp4');

Testing both in IE 8 and IE 9?

I need to test the styling of my web in both IE8 and IE9.
If I install IE9 then it will upgrade into IE8, So is there any way to install both IE8 and IE9 ?
Use a Virtual PC for testing on older IE.
Microsoft built a set of VHDs with different variations of OS/IE which do not requires activation. But these images will expires after a few months and you will need to download a new set.
http://www.microsoft.com/en-us/download/details.aspx?id=11575
Try IETester is a great tool for web developers. You can check Browser Compatibility for Internet Explorer Versions from 5.5 to 10
Thanks for your help, Right now I got a way to test in IE 7, 8 and 9. after installing IE 9, When we press F12 for developer tool, there's a option for Document mode. There you can have all IE 7, 8 and 9 to test your website.

Developer tools, browser mode - setting IE7 and IE8 simulateneously for different windows

Is it possible to have two windows of IE8, one in IE8 browser mode and another one in IE7? When I work with IE, I don't want all my windows to be affected when I change the mode to test a specific page in IE7.
You can use IETester.
IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8, IE7 IE 6 and IE5.5 on Windows 7, Vista and XP, as well as the installed IE in the same process.
I didn't try it but you should be able to do it with maxthon (using the split view) and a plugin.

Why do some PDFs hang when downloading in IE when served by Lighttpd

We have a number of PDFs hosted using Lighttpd but when they are downloaded in IE (7.0.5730.13), the file download hangs at the end and does not complete. For example
http://static.vouchercodes.co.uk/printable/87-burger-king-voucher.pdf
http://static.vouchercodes.co.uk/printable/10-gbk.pdf
This works fine in Firefox (3.0.5) both on OSX 10.5 and Windows XP but not on IE 7.
A screenshot of the hung download can be seen at http://www.mytton.net/so-pdf-q.png
This is not localised to one machine and has been replicated on other IE7 Windows PCs. The problem affects only the PDFs on the vouchercodes.co.uk site as other sites with PDFs work fine.
It has also been replicated with other versions of IE7/IE6 but not consistently.
I believe this is a progressive download issue of the acrobat plugin under IE.
Your lighttpd server is answering a HTTP/1.1 206 Partial Content which sometimes leads to a strange stalling of the downloading progress within the acrobat client
Some leads to workaround the issue :
Do not use the "Save As Optimised for Fast Web View" option when creating the pdf file
Uncheck the "Allow Background Download of Entire File" preferences of the Acrobat Reader
Disable byteserving capacity of the server (but this is obviously not recommended)
The problem is related to byteserving. See the Byteserving section of http://httpd.apache.org/docs/1.3/misc/known_client_problems.html
The Adobe Acrobat Reader plugin makes
extensive use of byteranges and prior
to version 3.01 supports only the
multipart/x-byterange response.
Unfortunately there is no clue that it
is the plugin making the request. If
the plugin is used with Navigator, the
above workaround works fine. But if
the plugin is used with MSIE 3 (on
Windows) the workaround won't work
because MSIE 3 doesn't give the
Range-Request clue that Navigator
does. To workaround this, Apache
special cases "MSIE 3" in the
User-Agent and serves
multipart/x-byteranges. Note that the
necessity for this with MSIE 3 is
actually due to the Acrobat plugin,
not due to the browser.
This is also an issue in Lighttpd and is documented at http://redmine.lighttpd.net/issues/show/171 with a workaround (tested and works) at note 8.

Resources