Tuesday, July 23, 2019
  • Home
  •             

Transparent Images in IE7

April 5th, 2006 by Patrick S

Remember back in the day where you could easily have transparent signatures abd images on your page. Firefox still supports this feature but Internet Explorer didn’t…UNTIL NOW.

Now you can put transparent images on your page without any hassle at all with a small snippet of code 😀

 Check out my demo page HERE

If used inline, the code runs after any existing onLoad code has completed. If used as an include file, the DEFER keyword ensures it is run when the DOM has loaded, but before the images are rendered. It converts each PNG image into a span with the PNG's width and height attributes. The IE 5.5+ AlphaImageLoader filter is then applied to fill each new span with the original image. It is this filter which allows PNG transparency to work correctly - see KB 294714 for more details. Alt attributes are converted to titles for mouse hover text. Any existing in-line CSS declarations plus title, ID & class attributes are transferred to the new spans.Each new span has the declaration display:inline-block added - this enables the fix to work with "Standards mode" IE6 Doctypes. Finally, each replaced PNG is checked to see if it has the (deprecated) align="left" or align="right" attribute. If so, an appropriate CSS float declaration is added in-line in order to replicate the original alignment. Also, if the original image was used within an anchor as a link, then a hand cursor is applied to the new span in order to replicate the original link image cursor.

For more info check out this

Demo

Posted in Internet Explorer | Comments Off on Transparent Images in IE7

Useful sites to diagnose memory leaks in IE7

April 4th, 2006 by Patrick Elliott

(Reposted from Dave Massy’s Weblog)

Memory Loss
Some useful stuff if you find yourself losing memory in IE.

On www.Ajaxian.com about diagnosing leaks on IE.
http://ajaxian.com/archives/screencast-on-diagnosing-memory-leaks-in-ie

There’s also the article on MSDN at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ie_leak_patterns.asp

There has been some work in IE7 on the circular reference issues as well that will help in this regard.

Posted in Internet Explorer, Windows Vista | Comments Off on Useful sites to diagnose memory leaks in IE7

Microsoft Launches IE7 Bug Database

March 27th, 2006 by Patrick S

Microsoft Corp. has launched a public bug database for Internet Explorer 7, which is currently in beta.

Access to the Internet Explorer Feedback site requires a Passport account and signup is through Microsoft Connect. The new site is similar to Bugzilla, a bug-reporting site set up for Firefox by Mozilla Corp.

“The intent of this work is to give everyone a better place to give IE7 feedback and to prepare the ground for future versions of IE,” Microsoft said in its IE blog.

The IE public database, launched on Friday, is not for reporting security issues, Microsoft said. Those problems should be reported through the Microsoft Security Response Center.

Source: Information week

Posted in Internet Explorer | Comments Off on Microsoft Launches IE7 Bug Database

Next Entries »