internet-explorer-7

JQuery Problem: Script (Sometimes) Fails On (Some Versions Of) IE7

I'm using an image cross-fading method via jQuery on a website. For confidentiality reasons, I can't post the site's entire code, but here's the Javascript for the cross-fader (based on this reference): <script type="text/javascript"> $(function () { if ($.browser.msie && $.browser.version < 7) return; ...

CSS to display unordered list horizontally in IE 6 and 7

I've created a template for WebSVN (see it in action here) and have worked hard to make it use web standards and validate. It looks great in most browsers, but as I feared, IE 6 and IE 7 can't quite hack it. In my case, the problem is that they refuse to render the unordered list for my navigation horizontally — they both display each <l...

Background not showing for jQuery tabs in IE6 and IE7

Hi everyone! I'm using jQuery to create some tabs on a site i'm working on. I'm find that although the tabs work fine in both IE6 and IE7, the background image i'm using is not showing. I changed the image to a colour but the tab background is still showing as transparent. http://development.dekken.co.uk/cervello/ Anyone got any ide...

Is there such a thing as too many $(document).ready handlers (IE)?

My dev environment is LAMP-based (Drupal); there are several JS (jQuery) files that are served up to provide various bits of functionality. Until recently, things worked fine (well, IE6 was hideous but at least it worked). However, recently, one of my JS files has started to refuse to execute at all in IE6 and IE7. If the file contain...

How to get the screen coordinate of web-page elements in BHO

Hi all, I am writing a BHO object for IE. I want the screen position of the top-left of the web-page. How can i get this position? The topleft of the first element in DOM returns (0,0). The webBrowser.Left or Top returns the position of the browser but not the top-left of the page. I am using IWebBrowser2. Thanks a million, -anony. ...

asp:button disappears in IE7, but stays in IE8. Why?

I have the following html which is display correctly in IE8. Below is the html and the css for grey_btn_75. Any idea why this would be happening? <div style="float: left; width: 70px; margin-right: 25px; padding-top: 60px; margin-left: 25px"> <asp:Button ID="btnAddAll" runat="server" Text="Add All" OnClick="btn...

IE 7 Word-wrap bug

Hello, I have a problem with my html page. I have text that is word-wrapping in a defined width box. It looks great in of course Firefox and IE8. However, when checking its backwards compatibility I found that the word-wrapping causes a random spacing issue where one line of text seems as if it has a margin-top specified on it. Anyon...

jquery validation rules and a weird IE7 error

I have the following validation: phone1: { required: { depends: "#pri_noPhone:not(:checked)" }, number: true, minlength:3, }, If a checkbox is checked (yes, contact me via phone) then go validate the phone1, phone2 and phone3. In FF and Firebug, there are no errors. However, IE7 throws an error saying: a...

Can I use JavaScript to set the 'name' attribute?

According to SitePoint (and my own experiments), the IE implementation of "setAttribute()" is buggy and unreliable. Also according to SitePoint, the name attribute is read-only. Is there another way I can set the name attributes on elements? I need this for use with radio buttons. If possible, I'd like a solution without jQuery, as I...

Why is IE7 rejecting session cookies from a page in a frame?

I am building a website that is loaded into a frameset by other sites (where the domain names are different for the parent site). This works fine in all browsers (including IE6), except for IE7. It is not registering the session at all and simply does not work. Site is implemented using LAMP, MySQL 5, and PHP 5 - yeah, probably not re...

Prevent zoom in CDHTMLDialog (BHO on IE)

I have a CDHTMLDialog running in IE that has a fixed size that I chose, and runs in a fixed window to match this size. My problem is that the user can zoom on it (by ctrl-mousewheel) causing my html to be larger or smaller than the window which looks awkward and adds annoying scrollbars. Also, the user might use ctrl-+ or ctrl-- to cha...

Not able to open my application in two different tabs in a single browser window

I found that IE7 maintains same session for multiple tabs in a single browser window and thus doesn't support different sessions for different tabs in a single browser window. My client needs that the application should work perfectly in two different tabs in a single browser window. i think this is because of session and cookie problem....

Windows regions and transparency

I have a CDHTMLDialog in a BHO that I want to be partially transparent, in the sense that the transparent area changes according to the logic of the dialog. I got it to become transparent visually (using SetLayeredWindowAttributes), but it is critical to make this region truly transparent, because otherwise when I click on the transparen...

Is there a YSlow-like tool for IE7?

I love YSlow for Firebug/Firefox, but I've hit a situation where I want to profile an HTTPS site, that doesn't physically work outside of IE6/7 (e.g. no IE8, no Firefox, no Chrome) Fixing the site to work in all browsers is officially Step #1, but to do some analysis and benchmark the existing site (which will help in reporting overall ...

Why can't I clear:left these labels in IE7?

I'm trying to get this css layout to work with IE7 and I'm a bit stuck. Any thoughts on how I can get the form to look like it does in FF and Chrome without changing the page structure? I know there are some IE specific CSS hacks out there, but I'm not totally sure how to apply them. In FF and Chrome the form correctly displays the form...

Bizarre float bug in IE7

On the webpage I'm working on here, I have a main div, and within the main div, and image div. Roughly speaking, the important HTML is: <div id="wrapper"> <div id="main"> <div class="images"> <p>Content</p> <div class="clear"></div> </div> <p>Text...</p> <div class="clear"></div> </d...

IE7 spacing within a UL

Can someone please explain why IE7 insists on putting a space between the table and the ul in this example? It doesn't seem to happen in IE8 or FF. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <body> <ul style="background-color: Blue;"> <...

simile exhibit ie7 bug

'm using to Exhibit to, pretty simply, display some data on historical events and book publication dates: http://f1shw1ck.com/timeline3/exhibit.html Everything works fine, and I have been able to get the timeline running as wanted, until I try to take control of the timeline with a timelineConfig script. After I add this, my timeline co...

Why doesn't IE7 think these two strings are equal?

I have an event handler that will remove an element from a list of the corresponding checkbox is unchecked. In the handler for the click event for the checkbox, first I copy the value of the label for that checkbox: var label = $(this).next().html(); Then, I iterate over the list items and compare each of them to that label: $("#so...

Getting uniform layout in both IE7 & IE8 with form elements

It would seem that IE7 puts an extra 1px of spacing above and beneath form elements. IE8, FF3.5, Chrome 2 & Opera 9.5 correctly renders these elements without the spacing. What I want though, is for the display to be the same in IE7, so is there some kind of workaround to get IE7 to correctly render the elements? It doesn't appear to m...