internet-explorer

IE div shorter than 20 px?

I can't seem to get my <div> height in IE (7) to be shorter than 20px: <div style="background: green; height: 1px;"> </div> Using the above code (both with and without html and body tags) the height of the div cannot seem to drop below a certain value (I think it is 20px). Any ideas? ...

Why is my JavaScript Twitter feed not working in Internet Explorer?

We're rolling out a redesign of helpcurenow.org, and we've implemented a Twitter feed in the footer. (I'm the design & front end guy, my coworker is the scripting & backend guy). All is well with the Twitter feed in all major browsers except internet explorer, version 8 and later. However we have no clue why IE is not pulling the feed...

Does anyone know of a good script to force file downloads and yet protect download links on a PHP server?

I tried using a free script that I found on the Internet but it is giving me problems with Windows users (even though they are using IE 8, so it's not an option for me to ask them to upgrade their browsers.) Here's the requirements: I have a bunch of Microsoft Word and pdf files that need to be protected so that only authorized users c...

How can I append and execute a script inside an iframe in a cross browser way (specifically IE!)?

Background: I need to load ad scripts after the DOM has loaded. Because many of the scripts use document.write() and other potentially bad functions to run after the DOM has loaded, I want to load the scripts inside an iframe. So when the ad needs to be shown, an event is triggered which does the following: var iframe = documen...

IE display problem

Hi, I have a page, and I just added pagination to it, but there's a prob in IE 7 & 8. When I add pagination code echo "<div class='pagination'>"; echo $pagination->GetPageLinks(); echo "</div>"; it breaks somehow layout in IE, I have looked all over it and I couldn't find what's wrong there. oh, and its css div.pagination {...

Programmatically adding a site to the Allowed Sites of the IE Pop-up Blocker (VB.NET)

A few more details. I need to programmatically (Winforms, VB.NET) check if a site is in the Allowed Sites list of the IE Pop-Up Blocker (IE 7 and 8 and Windows XP, Vista and 7) and if not, add it. The application is fully trusted and I don't want to disable the Pop-Up blocker entirely. To clarify some things, this is for a web-automati...

How to inspect elements inside Iframe using IE Developer toolbar in IE7

I have a web application, which uses Iframe. When I try to inspect element in IE developer toolbar, the Iframe node gets highlighted and it stops there. I can see an expand icon near the Iframe node. But when I double-click it, nothing happens. After getting annoyed after many trial and errors, I tried testing it by creating a sample i...

Site works perfect in Mozilla but not in IE. Is my js file not compatible with IE

I'm working on a site written in PHP/MySQL. We have a form to reserve time on a calendar and it works great in Mozilla and stores the reservation to our database, but in IE you fill out the form and when you click the "Reserve" button to submit it and nothing happens. All I can think of is that my javascript is not working with IE. I hav...

IE attachEvent on object tag causes memory corruption

I've an ActiveX Control within an embedded IE7/8 HTML page that has the following event [id(1)] HRESULT MessageReceived([in] BSTR id, [in] BSTR json). On Windows the event is registered with OCX.attachEvent("MessageReceived", onMessageReceivedFunc). Following code fires the event in the HTML page. HRESULT Fire_MessageReceived(BSTR id,...

How to change security configutarion in IE8 for Intranet pages, such that Javascript can close a Window without asking?

I am developing a system that uses a little Internet page as a front-end for the whole program. Since I need to use ActiveX (sigh), the page must work on Internet Explorer. However, after some actions have been done the page needs to close itself. Using window.close() on Javascript it works, but before closing it prompts the user if it ...

Why Internet Explorer can not display an image on the site?

I have a site that is managed with Joomla. I want to display an image in one of my articles but that image can not be viewed in Internet Explorer but other browsers can display it, although the path is ok. I miss something? Link: http://ascorbrasov.ro/images/stories/necula_ctin2.jpg Html: <img src="/images/stories/constantin_necul...

Launch application from a browser

Hello, Is it possible to launch an application from a browser? I am not talking about opening a file from a browser (like open a PDF with Adobe Reader), but rather opening a new (blank) instance of an application that is installed on the user's machine. Hypothetical situation: User browses a website that lists computers that can be man...

Interacting with Internet Explorer's blacklist

I have a list of 100,000 domains and I need to identify which ones are blocked by IE for phishing, malware, etc. Are there any applications that interact with IE or solutions that can help me solve this problem? ...

Jquery selectors by CSS class in IE is really slow--workarounds?

I have a web app where I have several elements with class="classA". I want to select and apply a function to all of them. I am doing the obvious thing, which is $(".classA").each(function () { ... }). This works just fine in Chrome/Safari/Firefox but is really slow in IE. It turns out IE has serious performance issues when selecting thin...

Error when using axis with xpath query in IE

Hi, When using XPath expression "descendant::div" with selectNodes in IE i am getting an error "Expected token 'eof' found ':'". Is there something i am missing here, please help me get around this issue. Best Regards, Keshav ...

jQuery text attribute selector

I am trying to use the text attribute as a selector, but I can't quite grasp the behaviour, would really appreciate if someone could explain. For example given <span class="span_class"><a class="a_class">text</a></span>, $('a.a_class').text() gives "text" as expected. However $('a.a_class[text]') wouldn't match any elements, and neither ...

jQuery - IE removing half the content

Hi, I really need help with this one! this works perfectly in firefox and apart from google chrome not getting the textarea content perfect there too. What the below code does is simply when a user see's a post that they want to comment on, they simply enter data into the textarea next to the post nd click submit. Once submitted it adds...

Coda Slider error-slider not working in IE

hello, I have a coda slider on my Wordpress site. It works great in FF but I am getting the IE errors below. The slider appears but you can't click and navigate it to change images. This is a relatively new occurrence. No major changes. I disabled WP-Supercache plugin to see if that was contributing. Any advice on clearing this error is ...

jQuery .animate() not animating backgroundPosition in IE

I'm trying to animate a background image to move down a set amount of pixels but remain in the center of the page. Upon another click of an element I need it to move back to the top, but still remain in the center. Below is the current code: $(document).ready(function() { $('#email_campaigns').click(function(){ ...

JQuery behaves strange with different IE8 security settings

Good day! I'm not sure if I hit the bug, so please confirm that I'm not mad. I use IE 8.0.7600.16385 on 3 different machines. Here is simple page (I tested with both JQuery 1.4.2 and 1.3.2). It just displays alert if hidden link is visible. It displays 'false' in all browsers I have and in my IE8 when security zone is set to 'Trusted ...