internet-explorer-9

Open programs from HTA application

萝らか妹 提交于 2021-02-19 06:00:19
问题 I'm trying to create a HTA application, that can open programs(exe, bat etc..) locally on the computer. This will be used on a Kiosk PC, where the users don't have access to the desktop etc. But have some problems, with finding a script that works.. Right now I'm using this script: <script type="text/javascript"> function runApp(which) { WshShell = new ActiveXObject("WScript.Shell"); WshShell.Run (which,1,true); } </script> And this is how my links looks: <a href="javascript:window.location

ASP.NET session lost after redirect but only with IE

我们两清 提交于 2021-02-07 19:38:18
问题 Everything in italics is the original post, edits below are non-italicized I am writing in C# using ASP.NET 4.0. I am authenticating user credentials via SQL lookup and if valid I am storing the username in a session variable then redirecting the user back to the main page. Pretty simple. if (!db.isValidLogin(userName, passWord)) { //invalid login, show it! //just some code to tell the user invalid credentials } else { //show login successful! //update some items on the screen Session[

IE9, IE8, SVG, VML and doctypes

杀马特。学长 韩版系。学妹 提交于 2021-02-07 06:29:27
问题 I'm working on drawing shapes in my ASP.NET web app. In IE9 and other browsers, I'm doing it with SVG, and it's working great. In IE8 and below, I'm using VML. I'm finding that IE8 does not display the VML at all when it's in IE8 Standards mode (not using compatibility view). My doctype is set to <!DOCTYPE html> . If I take the doctype away entirely, IE8 goes to quirks mode and works fine, but IE9 then goes to its quirks mode (instead of IE9 Standards) and doesn't display the SVG. This is

How do I check if a file has been selected in a <input type=“file”> element?

南笙酒味 提交于 2020-12-29 05:51:57
问题 I have multiple checkboxes and a file upload input. I would like to re-enable a button if one or more checkbox's are checked AND if the input value is not null. Here is a link to bootply Here my html <div class="upload-block"> <input type="checkbox"> <input type="checkbox"> <input type="checkbox"> <input type="file" id="InputFile"> <button id="upload-btn" type="button blue-button" class="btn blue-button" disabled>Submit</button> </div> Here is my javascript starting point: Updated via Karl

How to prevent IE9 from rendering intranet sites in compatibility mode

和自甴很熟 提交于 2020-04-19 05:49:29
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

How to prevent IE9 from rendering intranet sites in compatibility mode

别等时光非礼了梦想. 提交于 2020-04-19 05:49:13
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

How to prevent IE9 from rendering intranet sites in compatibility mode

一世执手 提交于 2020-04-19 05:47:55
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

IE9 exibits 4px offset compared to IE8

余生长醉 提交于 2020-02-07 07:12:44
问题 This happens to be the top padding plus the bottom padding on the element id f3c. I have attached two pics - one of IE8 and one of IE9. I tried to capture the relevant information from the debugger. Basically I have a link inside a fieldset, inside a form. The fieldset is so the page validates. I'm using relative positioning for the link (top:9px). Not sure why IE9 would add in in 4px from IE8's calculation unless for some reason it is counting the (padding-top:2px and padding-bottom:2px).

IE9 always runs in IE7 Compatibility mode

梦想的初衷 提交于 2020-02-05 08:43:44
问题 I have a simple page in asp.net vs2008, when run in IE 9, the compatibility view button is visible, when clicked, the web page always run in IE7 compatibility mode. Why the page does not does run in IE8, when compatibility view button is clicked? Do we even have IE8 compatibility view? Here is the html code: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:/

How to write CSS3 rounded corners for IE9?

孤人 提交于 2020-02-03 10:02:31
问题 I used to write rounded corners using CSS3 for google Chrome and Safari like this: -webkit-border-bottom-left-radius: 5px 5px; -webkit-border-bottom-right-radius: 5px 5px; -webkit-border-top-left-radius: 5px 5px; -webkit-border-top-right-radius: 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; And for FireFox: -moz-border-radius: 5px 5px 5px 5px; How to write it for IE9? 回答1: No vendor prefix needed (this is also supported by Opera): border-radius: 5px; And you can condense your WebKit- and