elsewhere home of a .NET geek

  Home  |   Contact  |   Syndication    |   Login
  21 Posts | 1 Stories | 52 Comments | 35 Trackbacks

News

This blog has random information about Managed Code and Design Pattern. Every day, while i code, the thoughts come in mind are the one you would be reading here.

If you're seeking me for asking any questions, please use the contact page of this site.

Twitter












Article Categories

Archives

Post Categories

April 2006 Entries

I was wanted to apply the transparent filter to the background images in a webpage. I used sleight.js to solve the Internet Explorer behaviour in making the PNG files transparent. But, this script lacked in processing the background images (like the images set for "background" attributes). I tried to sort it out. Check the below self-documented JS script that loops thru the background images and applies the filter<script> // ************* // FIX : for the background images of th TD tag // ***************...

The problem that IE has while making the PNG transparent using filter CSS can be solved by using the Sleight.js but this script doesn't seems to be work for the background images (I mean, if the PNG images are loading as "background-image" style tag) Basically, the Sleight.js works like as follows, Make the all images (img, input:image) int the document invisible Loop thru each and every PNG files Apply the filter option to the PNG file thru an Image object Make the all images (img, input:image)...

I was facing an strange error (Grrrrr!! I can't say it is an error!!) while testing an page with IE and FF. The deal is i have an IFRAME sitting a Page and i have to read the values of the textboxes present in the IFRAME from the page. The following code worked fine in IE but not in FF var _email = document.frames[0].document... I got pissed off for a while to identify the proper code, the solution is as below which worked in both IE and FF,var iFrame = parent.frames[0];...