I’ve finally updated my IE7 library.
IE7 was in alpha for a long time. The last version was very stable but I always intended to issue a serious update. The release of the real IE7 browser threw me off course a little and then I got bogged down with base2.
I’ve made some important changes to the script which I’ll now outline.
- The IE7 project is now hosted on googlecode (I got fed up with SourceForge).
- IE7 is no longer modular. Instead I’ve merged the scripts into two: IE7.js and IE8.js
- IE7.js includes only fixes that are included in the real MSIE7 browser.
- All other enhancements are moved to IE8.js.
- IE7 is now much smaller (11KB gzipped).
- IE7 is now much faster (it uses the selector engine from base2.DOM)
- There are no dependencies on other files (except
blank.gif) - You can hotlink IE7/IE8.js directly from Google’s servers (usage instructions below)
Some fixes are removed completely:
- the
:rootselector - support for XML files
- support for CSS namespaces
- the fix for base64 encoded images
Usage
You can link directly to the files on google:
http://ie7-js.googlecode.com/svn/version/
To upgrade MSIE5-6 to MSIE7 include the following in the <head> of your page:
<!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]-->
To upgrade MSIE5-7 with advanced CSS features missing from MSIE7 use the following:
<!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script> <![endif]-->
You do not need to include IE7.js if you are using IE8.js.
Demo
http://ie7-js.googlecode.com/svn/test/index.html
Links
The new home of the IE7 project is:
http://code.google.com/p/ie7-js/
And I’ve created a Google Group for discussion and questions:
Comment: #1.
Comment: #2.
Nice man, thanks a lot!
Comment: #3.
excellent idea with the “hotlinking thing” from a google server that reduce some traffic and i think google servers are one of the most avaible servers on the net. anyway: great job!
Comment: #4.
Good job, but are you sure that Google allows direct links? No one wants its sites broken after a policy change…
Comment: #5.
Comment: #6.
Very nice work Dean! Kudos!
Comment: #7.
I’d be really interested to hear why you got fed up with Sourceforge. I host a project with them and am starting to think that wasn’t a smart move on my part.
Comment: #8.
Do the google links also work with the https protocol ?
Seems not : it wants a username and password.
Comment: #9.
@David - I have permission from Google to source my code from their servers.
From a Google employee:
Comment: #10.
Lots of little things really. The occasional email failure, no emails for ages then suddenly they all come at once. This made me look unresponsive on the mailing list. But mostly I just hated the SourceForge interface. It is horribly complicated and slow. I much prefer googlecode.
Comment: #11.
Comment: #12.
Thanks a lot Dean!
Comment: #13.
Comment: #14.
This is so brilliant. It appears that IE8.js is a superset of IE7.js, so my first instinct is to always include IE8.js and not worry about IE7.js ? Would you recommend so? In other words, under which circumstances should I include IE7.js and not IE8.js?
Comment: #15.
@Kevin - IE8.js adds lots of fixes that are not in MSIE7. Some of these fixes are not included in other browsers either (e.g.
:nth-child()). So if you are happy with MSIE7 as a base line then you should use IE7.js. Because you are using conditional comments then MSIE7 does not bother to download the IE7.js script. This will result in faster page loads for all browsers other than MSIE5/6.Comment: #16.
This is great, thx!
I used the last alpha version in my last project and I’m glad to see version 2 beta out now!
Comment: #17.
This is really quite fantastic. Great work.
Unfortunately I doubt I’ll be able to use it on the majority of my sites. On larger pages this just slows down the page load to a crawl (IE6) and I’m experiencing a good 2-4 second delay where the browser just locks up.
Comment: #18.
@Andrew - can you please post a link to one of the larger pages that is slowing down so noticeably? It might be something I can fix.
Comment: #19.
Comment: #20.
Comment: #21.
I just had a look to your test pages and it is amazing! IE works really like a standard-compliant browser! billion thx for this great work, I think it’ll help me a lot and saves much time, I’m so happy!
Comment: #22.
Comment: #23.
Comment: #24.
Nice work Dean! I have though a small remark/question.
The first-child pseudo class works pretty well when the css declarations is in a style block inside the page. When I put the css declarations in an external css file, the fix is not applied. (IE6 XP SP2).
Is this the proper behavior?
Comment: #25.
Comment: #26.
Comment: #27.
Comment: #28.
Comment: #29.
I have tried to use the IE7 script on my site but can’t seem to get it to work :-/ If anyone can see what I’m doing wrong i would be very grateful
http://kimmathiasen.dk/new/?page_id=
Comment: #30.
This is nice, though I’ve found some bugs here and there. but what troubles me is that it’s no use for AJAX based site/apps, because the DOM is built in a later time and theres no “rebind” for the IE fix..
Comment: #31.
Comment: #32.
Comment: #33.
@vsync - The last version of IE7 had a
document.recalc()method which allowed the page’s style rules to be refreshed. I will re-include this file before the project goes live.Comment: #34.
Comment: #35.
Comment: #36.
Comment: #37.
Dean, just tried emailing you about my previous comment and the slowness/freezing. Your script is throwing the following error upon attempting to send the email.
Warning: mail() [function.mail]: SMTP server response: 551 User not local. We don’t relay in C:\dean.edwards.name\www\contact\index.html on line 19
Please reply to me at the email address I’ve used with this comment if that email doesnt get to you.
Thanks!
Comment: #38.
Comment: #39.
Comment: #40.
That is great,but the version is so strange. haha。 why take so long time to update it!
Comment: #41.
Comment: #42.
Another great release. Thanks and congrats!
Comment: #43.
Comment: #44.
Comment: #45.
Comment: #46.
it is not transmitted, when appointing transmission PNG to the background of input-tags.
Comment: #47.
First of all great work. Kudos indeed. I am having an issue with clientWidth in IE6 and was wondering if any light could be shed on the subject. Has anyone else had this issue and is there a solution?
the clientWidth issue is in IE7.js. If I use IE8.js the error is no longer there however it does error if body{background-attachment:fixed;} If the fixed body line is removed from my css, no errors reported.
All good things…..
Cheers
Comment: #48.
Comment: #49.
This script has single-handedly relieved web coders around the world of the constant suffering associated with the BANE of browsers we’ve come to know and DESPISE, internet exploiter. For ages we were told of a prophecy, a being, more than a man, would descend on us all bringing with him an answer to our disillusionment and hopelessness. Today we know this prophet as Dean Edwards, we know his answer as IE7. In the world of web developers, you are truly, truly a God. I bow to you my lord, what is your bidding?
Comment: #50.
Comment: #51.
Truly remarkable work Dean! Now IE7 seems to almost work like an browser that is standards-compliant. Currently I’m also experimentig with IE8.js in one of projects for my studies, but so far no new critical remarks for it.
Comment: #52.
Comment: #53.
Comment: #54.
Comment: #55.
Nice work! Does it play nice with other js libraries? Like jquery for instance.
thanks,
Comment: #56.
Comment: #57.
@Shaggy -
<!>element. This takes advantage of a bug in MSIE5/6/7 where comments are included in.getElementsByTagName("*")queries. Comments reveal themselves as elements with atagNameof “!”.element.classNameorelement.runtimeStyle. This should not affect other libraries, so long as those libraries obey the rules of unobtrusive JavaScript.Comment: #58.
ok, I’m using IE7 trying to use a png background to draw a shadow down the left side of my container div. In IE7 and Firefox it works great, but in IE6 the png image does not repeat. It appears at the top of the div, but it doesn’t repeat, any ideas? Also if using a png as a button background it does not register as a hot spot when rolled over.
Comment: #59.
Dean, regarding comment 59, I’m encountering an error when included with Prototype. The script debugger reports the error is in the evaluated selector function:
var _selectorFunction=function(e0,s){IE7._indexed++;var r=[],p={},reg=[],d=document;var e1=IE7._byId(d,'mf-folder-nav');if(e1&&e0==d||e0.contains(e1)){r[r.length]=e1;if(s)return e1;}return s?null:r}specifically, e0.contains() is not a method. Tracing back to cssQuery, e0 is suppose to be the context element or the document. I did a check and it indeeds is the document. Since document.contains doesn’t exist, the solution is to not call it which I think is what you tried to do. However that expression will always call it. So I modified the cssParser class (line 669) to do this instead:
It seems to work fine now. I don’t know if that disabled any fixes but the one bug I was trying to fix is the multiple classes bug for IE6 and this solved it.
Thanks for the great work.
Comment: #60.
@Chuck - the PNG fix does not support tiled (repeated) images using
background-repeat. Nor does it support positioned images usingbackground-position.Comment: #61.
@Tuan - this has already been reported. It is fixed in the next release.
Comment: #62.
I wonder why nobody has said anything about this yet, but in the given example codes for linking to googlecode the version number is incorrectly 1.0 when it should be 2.0 -took a little while to notice the typo.
Comment: #63.
@Vessa - I wonder how no one else noticed too.
Fixed now.
Comment: #64.
This script is great, I finally don’t have to worry about CSS hacks and improper rendering. It even fixes some CSS2 features missing from IE7!
I tried the old version once but couldn’t get it to work. I noticed there was a new one and decided to try it. It renders a CSS-heavy website I was working on perfectly and doesn’t cause any lag or problems. Too bad something like this can’t fix the missing support for XHTML served as XML.. It’s still a great fix for the CSS hack filled nightmare that was IE6!
I’m surprised something as buggy as IE6 can be made to render pages so well. I only needed to make a few changes which were easily done.
Comment: #65.
this script didn’t work, maybe a known bug ? i’m using ie6 (from multiple ie) and windows xp sp2
Comment: #66.
Nice, nice job! One thing: position:fixed seems to give a position:absolute behavior in IE6, meaning it scrolls along with the rest of the page. Am I doing anything wrong?
Comment: #67.
Cool, but not only does it not support tiling background images (as you know) but it also breaks IE’s ability to do this using other methods.
Comment: #68.
@thoeger - the fixed positioning solution should work. If you provide an example of broken behaviour then I will try to fix it.
@Bouki - IE7.js fixes lots of different things. You will have to be more specific about what doesn’t work. The software is still in beta so there is time to fix bugs.
Comment: #69.
@dean;
Yeah, try and look at http://www.fys.ku.dk/~thoeger/Paradoxsite/, and the link ‘koret’ (danish for ‘the choir’) on that site. Use IE6. I might have missed out something but the code validates and It’s pretty simple, so I can’t see what is up…
Comment: #70.
@thoeger - I can’t see anything wrong on at that page. Can you be more specific what the problem is.
Comment: #71.
@dean: The fixed elements still scroll with the rest of the page.
Comment: #72.
Comment: #73.
Note also that if you want transparent png images, you either need to rename them to include -trans.png or put
IE7_PNG_SUFFIX = “.png”;
in between the script tags (so, after SCRIPT and before /SCRIPT)
This will apply the transparency code to all png files, which is useful if you only use PNG for transparent images.
Comment: #74.
Comment: #75.
Hi Dean, I’m sure impressed by the examples but can’t seem to get this to work with my aspx files. see http://www.artsinvest.net transparencies don’t seem to work and the layout is still all broken even though I linked to the js files in the header of the master pages, any ideas how I can get this working?
Cheers,
R T
Comment: #76.
Comment: #77.
Great Job. Your script many times saved my life. Keep Developing.
Regards From poland
Comment: #78.
I am trying to implement your javascript and it looks great in FF and IE7, but in IE6 it justifies my entire #wrapper to the right when it should be centered. I’ve been scouring my css for hours and cannot find an error or fix it. I’m even passing in an IE6 specific stylesheet with no avail. It goes away when I unlink your .js code
#wrapper { margin: 10px auto; width: 760px; border: 7px solid #ffffff; background-color: #ffffff; text-align: left; text-align:center; }
I’m appreciative of any help you can provide! Cheers!
M
Comment: #79.
Please post support questions here:
http://groups.google.com/group/ie7-js
Thank you!
Comment: #80.
Comment: #81.
Comment: #82.
I tested ie7.js for png’s trasparence. It fine works with IE6.0, IE 5.5, but doesn’t work with IE 5.01. Why? Does ie8.js resolve this problem?
Comment: #83.
Comment: #84.
@Supercammello - the PNG fix relies on Microsoft CSS filters which were only introduced with MSIE5.5.
Comment: #85.
Hi, My app is under https and when trying it with your IE7 javascript it didn’t work. I tried under http and it worked. I also tried to download and unzipped the library to reference them directly (I was worry about being a problem of not coming from same domain security) but still didn’t work. Do you know anyone who was able to make your IE7 javascript work under https? Pehraps it simply does not work under https. Thanks, great work by the way. cooked-bean
Comment: #86.
Dean you’re the man.
. Is there a donate button on your site ?
Comment: #87.
Cole: yes there is, see: http://dean.edwards.name/donate/
Comment: #88.
Comment: #89.
Dean, I just wanted to tell you that your work is very great ! I’m using IE7 since version 0.9, and it gets really better over the time.
Thanx for your efforts !
Comment: #90.
Comment: #91.
LOVE your work! I’ve been using the libraries for a while.
Comment: #92.
I’m using your IE8 but I still have problems, which I’m beginning to grasp at straws.
I always get an error on my site when using IE7 - line 74, char 4, code 0 - no matter what is on that line.
In 2 of the exact same builds of IE& - I have only one that throws an “operation aborted” error.
Anyone have any ideas??? I really really appreciate any help I can get.
Comment: #93.
excellent dean, more i cannot say. you understand your “job” and have many outstandig knowledge, its allways interesting to read about your work. keep it up!
Comment: #94.
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!A LOT !!!!with pseudo classes!:))))
Comment: #95.
Comment: #96.
This certainly makes supporting IE6 less painful.
Be aware that using AlphaImageLoader to make PNGs be transparent can deadlock IE 6. I described this in more detail at http://blogs.cozi.com/tech/2008/03/transparent-png.html
Comment: #97.
Thanks again for your hard work on this project.
I attempted to make a post before with regards to style sheet switching and Ie7/8 (I’m not certain if my post in Purgatory or just didn’t go through). I have gotten closer, realizing that I needed to make a couple of changes to my code. I added the following to my function: IE7.CSS.init(); IE7.HTML.init(); IE7.HTML.apply(); IE7.CSS.apply(); IE7.recalc();
I now have a working version in IE and Firefox: http://markschamel.com/deanEdwards/ie8.b.html
My function is here: http://markschamel.com/deanEdwards/scripts/methods2.js
I have two questions: (1) Do I need all of the code I added? (2) I’m still struggling to make this work with stylesheets which import other stylesheets, any pointers?
Comment: #98.
div png background; form in div; form is disable
Comment: #99.
Comment: #100.
the “:nth-child()” does not work in FF…and the “outline” does not work with ie8.js in IE6…the png background image hack does not work with “a:link,a:visited{}” but “a{}”…so strange…
Comment: #101.
Comment: #102.
What are your plans now that IE8 is in beta?
Comment: #103.
Comment: #104.
Comment: #105.
HI! i am Jun! I come from CHINA!
please look the webpage code !
http://www.xhtml-css.cn/why-not.html http://www.xhtml-css.cn/why-ok.html
if delete img that IE6 IE7 FF3.0 all is ok!
but join img ,IE6 is can not identify all :hover!
why?
EMAIL:moo_lee@yahoo.cn
Thanks!^_^
i looking for your email is very trouble!!
EMAIL:moo_lee@yahoo.cn
Thanks!^_^
i looking for your email is very trouble!!
Comment: #106.
Great to hear that your excellent work will continue on this front!
Btw, your code view (used in this post to denote how to link straight from google’s servers) is a bit wanting… Specifically, two formatting choices break the ability to actually copy and paste from the page:
1. Quote marks are turned into “smart quotes”
2. The final double dash that closes the comment is turned into an em dash.
I was able to sort out why adding IE7.js to my site broke it. Others may falsely blame the javascript itself rather than simply double checking the code that includes the javascript.
Thanks for all your hard work with this project!
Comment: #107.
Dean, Could you put some an explicit licencing statement in the source code, or at least in the Subversion repository? The lone reference to http://www.opensource.org/licenses/mit-license.php is a little vague.
Comment: #108.
@Dwayne
Will do.
Comment: #109.
Thanks a lot! I was having problems with background-image for a div working on IE6.
Comment: #110.
Have you seen this? Apparently he has found a way to do transparent PNG tiling for IE 6 and below. Any possibility of this getting into your script?
http://www.twinhelix.com/css/iepngfix/
Comment: #111.
Great work, thank you! Especially for the .png fix, for the first time I have a fair degree of confidence that IE will get it right and am going to include them in my site design.
It should be a big embarrassment to Microsoft that their team can’t get such a tremendous improvement in web graphics to display correctly. But after this long, apparently not. So I’ll assume they’re up to their old tricks of stifling promising non-ms tech whilst trying to figure out how to (re)invent and cash in on “IEBlend technology, now you can use your non-rectangular graphics against any background!” Either that or human resources is hiring too many relatives.
I don’t hate MS, but when I think of the countless hours that developers have spent on this inane display problem… bah. They are holding the world back from seeing next level website graphics and what can be done with them. If they don’t fix it soon, maybe a movement could gain momentum, to use .png’s as-is and state on the first line of the page “If you see gray around the image borders, you are using a non-standards compliant browser. Please upgrade to Firefox.” I know this would be limited to mainly non-commercial sites but maybe we’d get a proper solution out of it from MS.
One .png solution I can’t remember seeing is to stick the .png in a flash. Then you’d just have to learn the IE flash hacks. (grin) An advantage is that file size can be considerably reduced compared to the plain .png file. Another is you can put a mask on a .jpg to make it smoothly non-rectangular. A disadvantage for most visitors would be that they’d have to take a screenshot to save the image.
Once again, thank you Dean for this hard work!
Comment: #112.
I just tested it again, you’re right, my bad. Before a few days ago it’s been a while since I tried IE and .png images and thought I read, and had tested, that it wasn’t fixed yet. I just felt my soapbox shake a bit under my feet…
IE7 users are about 41% of my visitors so I’m still glad for the fix. The person my stats page reports as using IE2 will have to tough it out though.
Comment: #113.
Dean looking at 35. I tried doing a document.recalc after I loaded an image with AJAX but it remains gray. I have no problem using your JS on a static html page it works great.
I also did a 2 second settimeout after the image is called that doesn’t work either. Is there something I have to do besides call. document.recalc(); ?
Thanks in advance.
Comment: #114.
Hey Dean, I just wanted to let you know that your fix saved me that incredibly huge amount of time that I usually had to spend on fixing the layout for the IE
I’m just a ‘little’ ..nerved.. that I haven’t found it earlier, though I must confess that I was sceptical - as I’m ever - using Javascript to fix CSS problems. But hey.. its working - so what.
Never the less - best wishes, greetings and a lot of thanks
Flitze
Comment: #115.
Just found out about this script and used it on a site I’m developing where some custom Google Map elements wouldn’t display correctly in IE6. Wow, you just saved me an incredible amount of time!
I can’t wait to use this to implement advanced CSS in future sites. Thanks upon thanks for the great work.
Comment: #116.
Comment: #117.
Hi Dean, and thanks a lot for your very good job. I still have a problem with position:fixed in IE6. My page has a header which is fixed, but I cannot succeed to post the body below the header. The top of the body disappears behind the header.
My body style has a position : absolute, with top equal to the header height. I’ve also tried to use “scrollTo()” with an anchor at the top of the body, but no success
Any hint ? Thanks in advance. Phil.
Comment: #118.
Hi Dean, is it possible make your script more “manual”?
So something like that can be used:
....... var css=new IE7CSS("CSS/styles.css"); css.apply($$("[class=Header]")); .......I assume it can be much faster and don’t break existing pages
($$ - from MooTools)
Comment: #119.
Anyone get this to work with an AJAX call for an Image? I tried using document.recalc(); after the image had been downloaded and it still appears with a gray background. It works fine in a non-AJAX call.
Comment: #120.
Comment: #121.
It may be a bug. After using IE8 library (or IE7 library), some links have no responses under Internet Explorer 6.
test pages using IE8 library: http://lungzenoopen.googlepages.com/links.html
test pages using IE7 library: http://lungzenoopen.googlepages.com/links_ie7.html
How to let these links work? I don’t want modify HTML code. Can use javascript to fix it?
Comment: #122.
Does this script not work for background images of tables in IE6?
I have a background image that has some shadowing around the edges that is not being displayed correctly using this script? I named the files with a -trans.png ending to no avail.
Any ideas?
Comment: #123.
Many, man many thanks!!! this script saves me a lot of time man, cheers!!!
Comment: #124.
Comment: #125.
The image is in a DIV that gets updated with the AJAX return html. That points to the image.
Comment: #126.
The comments function did not work O.o
Comment: #127.
Comment: #128.
Comment: #129.
Hey Dean.
Where could I find the old version of IE7.js?
I want to take a look at the changes from version 0.9
Comment: #130.
Comment: #131.
I have no problems with IE7, fantastic!!
but the link directly to the files on google is a little bit slow.
for me y. k.
cheers!
Comment: #132.
I think this has to be a great alternative to ad hoc hacks. BUT it has messed up my drop-down menus because only the link is being highlighted (not the list item box), so the menus collapse when trying to mouse to the next level. This is ‘normal’ IE6 behaviour, but I use the Suckerfish script, which enables IE6 to highlight the list item boxes. I’d hoped IE7.js would do the same, but in fact it does the opposite and over-rides the Suckerfish script.
IE7.js has the same effect on the menus both with and without Suckerfish
My menus are based on ‘More Eric Meyer on CSS’, Project 6, but use the Suckerfish script to work in IE6 instead of csshover.htc.
Is there a solution to this, please ?
Tim Dawson
Comment: #133.
Hi dean,
First of all great work. I have a problem when I use your script inside a frame (ugly, I know). I get a permission denied on ‘if(/ie7_off/.test(top.location.search)||k<5)’.
Any thoughts on a quick fix?
Thanks, Ronald Moolenaar
Comment: #134.
I get ‘Object required’ when executing ‘c.runtimeStyle[h]=c.parentElement.currentStyle[h]‘.
Is there a non minified/obfuscated available to allow for debugging of your script Dean?
Thanks
Comment: #135.
I tried a lot and am not getting the hover effect to work. In particular, nothing seems to work. Why?
http://www.drobiarnia.com/glasses/test.html
Comment: #136.
Ok, now I found out that in IE6 it wouldn’t work with the class selectors like:
div.story:hover { atributes }
but it would work with id like:
div { }
#story:hover { atributes }
feature?
Comment: #137.
Thank you so much for the work you have done on this. You have provided a much need service to the world of mixed standards.
Comment: #138.
Comment: #139.
Comment: #140.
Comment: #141.
Comment: #142.
Comment: #143.
good work! you are gunesii
Comment: #144.
Comment: #145.
Dean, thanks for a great work!!! Very-very-VERY usefull!!! Cheers!
Comment: #146.
freaking wonderful! thanks!
Comment: #147.
Comment: #148.
Awesome job! Your work is very much appreciated.
Comment: #149.
Awesooome !!!
Good job !!
Im from Brazil and this script was very helpfull !!
Thank you very much.. In a few days i will donate some….
Comment: #150.
you are gnarls my man. thanks from va beach!
Comment: #151.
Hi, anyone knows it IE7 works for wordpress distro?
thanks in advance!
Comment: #152.
I’m using transparent pngs but IE6 doesn’t display correctly How can I configure it? should I specify the blank.gif path ?
Thanks
Comment: #153.
To use transparent png images, you can choose to include -trans.png or put IE7_PNG_SUFFIX = “.png”; in between the script tags.
Comment: #154.
Just curious: Why did you remove the base64 support?
Comment: #155.
Have you seen these two pages. They have been able to implement background .png that can tile. This would be an awesome addition to your scripts.
http://www.dillerdesign.com/experiment/DD_belatedPNG/ and http://www.twinhelix.com/css/iepngfix/
also
The first guy has implemented rounded corners as well for elements. http://www.dillerdesign.com/experiment/DD_roundies/
Comment: #156.
Comment: #157.
Comment: #158.
Great idea! Thank you so much!
Comment: #159.
I’m Italian. Sorry for my english, but with the IE7/IE8.js I have any problem… doesn’t works on IE6 and I see error message in the bottom-left of the web-page.
Comment: #160.
Comment: #161.
Comment: #162.
It seems this does not fix the ie whitespace bug.
http://www.456bereastreet.com/archive/200610/closing_the_gap_between_list_items_in_ie/
Will it ?
I tried this js with ie6. But it still shows the problem.
Comment: #163.
very cool script. can you integrate http://www.dillerdesign.com/experiment/DD_belatedPNG/ for the png problems?
Comment: #164.
Got an error in IE7:
Line: 3 char: 13516 Error: ’style’ is null or not an object Code:0 Url: myurl
This was on a drupal site. I have since disabled the script and all works well. Upon looking at the file in Komodo, I get a number of “strict warnings”. Anyone else getting this?
Comment: #165.
Comment: #166.
Comment: #167.
Dean, are you still maintaining these comments? Do you have a commented version of IE7.js available? I have an existing style sheet that I can’t apply this too, but I would like to add multiple CSS selector support to my existing project.
Comment: #168.
Any thoughts about porting this to Jquery?
Comment: #169.
Adam, the source versions are here:
http://ie7-js.googlecode.com/svn/version/2.0(beta3)/src/
I’m not sure what you mean by “porting” to jQuery.
Comment: #170.
Hi Dean!
Are you still working on this script? Last release was last year and in bugtracker lots of bugs, it is very disappointing that work on so great thing is stopped : (
Comment: #171.
Comment: #172.
It helps in IE6! Thank you.
Comment: #173.
THANK YOU!
Comment: #174.
Your test pages don’t work. I’m using IE8 on XP SP3.
Comment: #175.
Hey guys,
These seem like exciting fixes, but it’s a bit of a moot point for me because I don’t have any way to test my pages in IE6.
How do you guys do it? I have found a couple of rendering websites, but they mainly just feed you screen shots, so there’s no way to navigate it. And I’m not really sure if Dean’s script will work on their rendering engine.
Scott
Comment: #176.
Comment: #177.
Scott @ #175:
Try Multiple IE - http://civicactions.com/blog/2009/may/18/multiple_ies_including_ie8
It’s no longer supported, but I’ve never had any problems with it.
Comment: #178.
Comment: #179.
I love this JavaScript-File! It saves both, time and money. thanks!
Comment: #180.
scott @175 - try this: http://www.xenocode.com/browsers/
dean, an absolutely fantastic contribution! limitless kudos….
Comment: #181.
Comment: #182.
Comment: #183.
Comment: #184.
I already try this js, and it’s running well. But, a few of my image that I already give -trans.png still not show up. Is there any rules about the image?
screenshot 1 : running on firefox http://agungprasetyo.net/wp-content/uploads/2009/09/png-sip.jpg
screenshot 2 : running on IE 6 http://agungprasetyo.net/wp-content/uploads/2009/09/png-error.jpg
please…. help me. Thanks
Comment: #185.
Comment: #186.
Comment: #187.
Comment: #188.
Dean, Using the multiple IEs / IE6eolas standalone, I get an error. I realize that this is a non-standard browser, but it is one widely used by people testing web sites. Is there a potential patch to IE8.js that would work around this?
Line: 619 Error: Syntax error eval(format(_FN, reg) + cssParser.unescape(fn) + “return s?null:r}”);
I used the uncompressed version, so as to get a line number: http://ie7-js.googlecode.com/svn/version/2.0(beta3)/src/IE8.js
note that the Version string of the IE6 standalone is not what one would expect: 7.0.5730.11.xpsp.080413-2111
a true installation (IE6 on Windows XP) does not exhibit the error. Its version string is more like expected: 6.0.2900.2180.xpsp_sp2_rtm.040803-2158
In addition, the IE6 conditional comment will not execute in the IE6 standalone.
<!–[if lt IE 7]>
// does not execute
< ![endif]–>
<!–[if lt IE 8]>
// executes
< ![endif]–>
Would anything short of a registry hack fix this?
Thanks,
Monte
Comment: #189.
Comment: #190.
Comment: #191.
The best way to test in IE6 and 7 is to use one of the Windows XP images thoughtfully provided FREE by MS. Yes you have to download a new one every few months, but it’s free
Comment: #192.
Comment: #193.
good to know and have. but could be a problem for sites that are planned to be on for a long time (see post 4)
but really good job anyway.
Comment: #194.
Comment: #195.
Wow, You are the guy who microsoft needs in the IE programming team ha ha ha.. Good Job, this will save my soul because the label “button” is crazy with IE and send also all the html inside it.. Thanks a lot!
Comment: #196.
Comment: #197.
hey very nice script. I am loving it. I think you should develop one script for IE to firefox. D-;