internet-explorer

OffsetLeft and OffsetTop issue in IE

Facing offsetLeft and offsetTop problem in IE while trying to create one tooltip which will create each time when we click on different events on calendar.. the following is the code which will work good for firefox but creating problem for IE. can tell me the solution for this.. var ttip = __createElement("div","ttipbox","ttipbox"); //...

javascript error while reading xml file in ie

I am facing problem for reading xml file using javascript. It works fine in other browser but in it its throw the following error. Microsoft JScript runtime error: 'null' is null or not an object My code snippet is as below. GDownloadUrl("<?php echo $cfg->webroot;?>/G-map/map_xml/<?php echo $_SESSION['xml_file_name'];?>", fun...

Blurry text after scrolling in IE6

Hi all, i've got an issue with text in IE, when the page loads the text looks neat and crisp, but when i double-click on some white space of the page the text looks like this: Is there a known solution for this problem? Thanks ...

Why does layout change in IE when UL is alone in a TD vs having an extra empty DIV?

I'm adding css-based tab navigation to a site that is still using table-based layout. When I place my tab list inside a td, there is a visual "gap" that you can see. If I put an empty div with width: 100% in the td, then my tab list displays correctly. (It also works fine outside the table.) Why does the div make the tabs lay out correc...

Internet explorer - how do you escape single quotes

In internet explorer how do I escape single quotes. &apos; works for firefox etc but internet explorer doesn't like it. For instance <input type="text" value='Single quotes `&apos;` Here' /> works in firefox but not in IE ...

Menu overlay positioning issue with IE

I've got a flyout menu on a site that I'm building. I'm using a UL nested within the LI. In Firefox it's working beautifully but IE breaks it. (The Pants & Shorts link is the only one with a flyout so far) Here's the site (a work-in-progress so it's not quite all there): http://epalla.com/bogeypro/featured/covert-cooler.html If I set...

How can I use literal DOM markup as a Prototype Template?

Prototype's Template class allows you to easily substitute values into a string template. Instead of declaring the Template source-string in my code, I want to extract the source-string from the DOM. For example, in my markup I have an element: <div id="template1"> <img src="#{src}" title="#{title}" /> </div> I want to create the ...

Embed IE6 with MFC

Hi guys, I'm looking to use the "Microsoft Web Browser" ActiveX control in an MFC app, but we need it to be IE6 in order to support legacy stuff and all that not-so-fun stuff. The systems that it will be deployed upon, however, may have IE7 or IE8 installed. I'm not much of a COM/ActiveX guy, although I know my way around C++ and MFC. ...

Is there any onDocumentChange event?

Is there any event in Internet Explorer, that is fired whenever DOM is changed? For example: document.attachEvent("ondocumentchange", function () { alert("you've just changed DOM!"); }); And when I execute: document.appendChild(document.createElement("img")); Window with text "you've just changed DOM!" appears. I try to emulat...

Website won't display on IE, but source code is viewable.

My website doesn't seem to display any element or content when viewed on IE even though source code is viewable, but on firefox and chrome it loads fine. What is up??? http://uber-upload.com I don't remember ever trying to load my website with IE, so i can't confirm if it ever has worked with IE. Please help me debug =/. WADAFA!??! Tha...

jquery cycle breaks fade functions for everything else in IE8/IE7

JQUERY 1.3.2 CYCLE PLUGIN (http://malsup.com/jquery/cycle/) IE8 IE7 (aka compatible view in IE8) I have a website with 2 tabs. The first tab contains a slideshow that uses cycle, the second tab contains text. When you click a tab, the current content div fades out and the correct content div fades in. This is the expected behavior and ...

IE HTML Escaping

I have a little problem that's driving me mad. I have the following example code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <script> function Test() { document.getElementById("test").innerHTML = "<input type='text' value='ab&apos;cef'>" } </script> <...

How to take screen shots from various browsers on a local machine for web development?

I'm looking for a program that has similar functionality to this. It's basically a service that takes snap shots or screen shots of a web page. I need one that runs local for my development behind a corporate firewall. Ideally, it would take screenshots at set intervals to a folder that I specify. Anyone familiar with such a product? Al...

Problem running my project in IE 6.0 and 7.0

I am using AJAX for my project. And the entire porject is working fine on all browsers except for internet explorer 6.0 and 7.0 too It is working fine on IE 8.0. Anyone has a suggestion, what i should be doing?? Regards Zeeshan ...

Hidden Input Elements in Firefox

I'm having troubles with fckeditor in Firefox. When the user goes to a page, the html (encoded) is stored in a hidden input element. I call the predefined fckeditor javascript event to populate my editor with the html from the hidden ContentBody element. function FCKeditor_OnComplete( editorInstance ) { edi...

What could cause the same browser on different PCs to render the same HTML differently?

I'm stumped. A client and I are both running Firefox 3.0.12 on XP machines. We view the same page in the same browser on different machines and have different results. Note: All IE browsers are consistent on both of machines, and my FF 3.5.1 is consistent with my FF 3.0.12. (He does not have FF 3.5.x installed to compare with). There is...

Detect Pdf reader in MsIE

I use an IFrame to view a Pdf document when a link within that IFrame is clicked. However, on machines without the reader, the link will prompt for download. Is there a way, that the same link can prompt the user to download a reader when it detects no reader instead? I thought I have seen this somewhere. Thanks! ...

Obscure browser bugs to look out for

What are browser bugs that are obscure in the sense that they are hard to find or only occur under certain conditions, but can seriously bite you? Please also provide fixes or workarounds where available. Things like the IE6 float margin or PNG bugs are well known by now, please concentrate on rarer problems. This is a community wiki, ...

IE6+, how to change User-Agent for Ajax requests too?

Hi, all! I want to make own browser application with own value of User-Agent. Browser based on CHtmlView. MFC. But exist strange problem with User-Agent from Ajax requests... I did: User-Agent value is used as argument to Navigate(). A Navigate() requests use right User-Agent. Overload of OnAmbientProperty() method of CHtmlView cla...

gmail type filechooser for firefox

I have a simple requirement: One browse button opens multiple file choosers. When file is chosen, its filename gets added to an order list. This works just fine in IE, because i can programatically click on hidden file inputs, but firefox does not let the click event open the file choose dialog. Question: What options do i have? ...