internet-explorer

Removing the zoom option for the current page in IE

Hi, I implemented an ActiveX control that gets loaded when a tiff file is detected. I want to remove the IE Zoom option for the current page, the zooming will be handled by the activex itself. From IServiceProvider I can get a pointer to IWebBrowser2, but the only thing I can do there is to query the status of the zoom command. Any h...

How can you prevent Internet Explorer from caching HTML without using random query-strings

We are currently using random query-strings to prevent Internet Explorer from caching HTML on postbacks, but we are in the process of implementing URL re-writing and it would be nice if we could remove these random parameters. What's the best pratice in this situation? ...

WM_KEYDOWN processed by the ActiveX parent - how to disable it

Hi, I implemented an IE plugin (ActiveX) that has some inputbox controls on it. Each time when I press TAB or Backspace, the container (main IE window) will also process those events. Is there any way to stop propagating the WM_KEYDOWN to the parent window? Thanks, Cristian ...

In IE 6/7/8: HTML inserted into <p></p> (with jQuery) not conforming to set width of the <p></p>.

So I've got this markup: <div id="text-container"> <p></p> </div> with this style (redundant, I know): #text-container {display:block: width:220px; height:280px;} #text-container p {display:block; width:220px; height:60px;} and this bit of jQuery plugging simple content into the paragraph: $("#text-container p").text(data); Wo...

IE leaks memory for dynamically generated javascript

Recently I have to execute script retrieved thru Ajax from web server periodically. I do it by first creating a Script tag and assign the text attribute to run the script. Then, I dispose the script tag just to find out that memory keep increasing on every creation in IE 7. The following HTML illustrate the problem: <html> <body> <span ...

What's the best way to emulate a firebug workflow for css in IE6?

So I do quite a lot of CSS development, and I work with Firefox / Firebug A LOT. I generally know how to debug for IE6/IE7 (as far as techniques) and if I have the source, I can easily just edit the actual files and run a local server on a linux machine and test it in IE, going back and forth until it's fixed. I find myself lately being...

trusted site required with activex

Our web application has an activex dll that runs in IE. It is given a strong name and a custom permission set based on that strong name. The assembly is decorated like this: [assembly: AllowPartiallyTrustedCallers] and the class of the activex control needs this to run in the browser: [PrintingPermission(SecurityAction.Assert, Unr...

Do IE Conditional Comments work inline?

Should this work? <!--[if IE]> <link rel="stylesheet" type="text/css" href="/minify/css?f=ie8.css<!--[if lte IE 7]>,ie7.css<![endif]--><!--[if lte IE 6]>,ie6.css<![endif]-->" /> <![endif]--> Apparently nested comments don't work, so what about this? <link rel="stylesheet" type="text/css" href="/minify/css?f=someotherfile.css<!--[if I...

nothing showing in input box in IE if we type anything?

see Name and Email input boxes in header see here ...

Flex 4 app behind proxy server w/auth fails to call webservice when launched from IE (firefox ok)

I have Flex 4 app which is deployed in internet. Just as an intro, when i'm behind our corporate proxy server, IE and firefox asks for username and password when accessing external websites. WHEN BEHIND PROXY In IE (i tested only in 8) Flex app starts fine, but it fails to invoke webservice - CallResponded result or fault event doesn...

jQuery Carousel function issues

Hi there, Ive been writing a simple jquery function that turns a div with a list of images into a carousel. Here is the markup.. <div id="carousel"> <ul> <li><img src="images/music1.jpg" /></li> <li><img src="images/music2.jpg" /></li> <li><img src="images/music3.jpg" /></li> </ul> </div> and in my carousel.js file i hav...

Set textarea selection in Internet Explorer

I'm looking for a way to set a selection in a textarea in Internet Explorer. In other browsers, this works just fine: textarea.selectionStart = start; textarea.selectionEnd = end; In IE, I assume I have to use createRange and adjust the selection somehow, but I cannot figure out how. Extra bonus points for a link to a proper document...

A few IE6 quirks that I am unable to solve..

I have been working on a site for a client and I am about to wrap it up.. but unfortunately IE6 is being a pain in the buttocks. My main problems are on this page: http://seaport.bythepixel.com/#storage The list items dont have bullets The spacing below the floated items are not being cleared correctly. I applied "clear:both" to my...

jquery .png crossfade script fails on IE7/IE8

Im trying to get two alpha-24 transparent .png files to crossfade into each other. I started this adventure by modifying a pretty decent little script (thanks to jqueryfordesigners.com): // wrap as a jQuery plugin and pass jQuery in to our anoymous function (function ($) { $.fn.cross = function (options) { retur...

Get HWND of containing IE window from toolbar

Hello, I'm developing a toolbar for IE, and I need my toolbar to be able to get the HWND of the containing IE window. It needs to be accurate so that multiple tabs in the same window will all return the same HWND, but different from another IE window. What would be the best way about this? I should be able to do this: MessageBox.Show(P...

IE Background image with transparency

Why would this simple line of code work perfectly in firefox e.t.c but in IE it creates some weird fade issue. #content { background:url(images/bg-trans.png) repeat; padding:25px 21px; width:918px; overflow:hidden; } Its like the transparency is started in a corner but then it gradually fades out...very annoying!!! ...

Debugging in IE

I've got this weird bug. The progress bar in IE's bottom-window status bar keeps incrementing very slowly after an Ajax POST. At least that's where I think the problem is. How can I tell what the hell IE is doing that's causing the progress bar to keep going? In FireFox, I would just look at the Console tab in FireBug and see what's up....

IE javascript html encoding weirdness

Put this in your location bar in IE javascript:location.href='http://www.google.com/search?q=something&amp;lt=bar' Watch in horror as it helpfully thinks &lt actually means &lt; and makes it a <. WTF is going on here? Other browsers don't do this. How do I prevent IE from doing this? ...

A workaround to fix an IE bug with respect to the clone() method in jquery 1.3.2

Hi everyone....!! I am using the Jquery pagination plugin http://plugins.jquery.com/project/pagination to paginate the rows in a table. I also use a little tip provided in another SO question here to correct a bug in the original example... The code is working fine in FireFox and Chrome but not in IE6+... Here is my javascript t...

Response.Redirect with a fragment identifier causes unexpected refresh when later using location.hash

Hi All, I was hoping someone can assist in describing a workaround solution to the following issue I am running into on my ASP.NET website on IE. In the following I will describe the bug and clarify the requirements of the needed solution. Repro Steps: User visits A.aspx A.aspx uses Response.Redirect to bring the user to B.aspx#house...