Code Directory
 Visual Basic & VB.NET
New Code
Rapid PHP 2018 15.5
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
PostgreSQL Data Access Components 4.4
Database Workbench Pro 5.6.4
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
Flat File Database Manager 1.1
Spylog 2.0 (awt Counter/tracke) Freeware 2.0
LDAP-Express I.40
YASLI-Yet another simple LDAP Interface 0.1
Frood LDAP Browser 1.5.1
ActiveRBAC 1.2
Merge multiple (potentially infinite) sorted inputs into a single sorted output
A Practical Comparison of ADO and ADO.NET - Part II
A Practical Comparison of XSLT and ASP.NET
A Quick Comparison of ADO and ADO.NET - Part I
An introduction to XML, XSL, and ASP.NET
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PNG Behave! 7.x-1.9
File ID: 101852

PNG Behave! 7.x-1.9
Download PNG Behave! 7.x-1.9http://drupal.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
PNG Behave! 7.x-1.9 Description
Description: Corrects PNG alpha transparency in IE 5.5 and 6 using css behaviors instead of crawling the DOM.

* Works with any elements.
* Works with backgrounds tiled, repeated, and stretched WITHOUT need for parent element confusion.
* Works with dynamically created elements that match the css selector string or directly call the behavior.
* Works on style AND class changes in runtime WITHOUT needing to call the script again.
* Works with auto height/width WITHOUT skewing. Issue:#342115: Padding causes elements to stretch
* Works in sub-directory drupal installations. Issue:#341710: Drupal installed in sub directory breaks PNG Behave!
* As of version 1.3, padding may be applied to auto-size AND defined-size images without skewing or losing layout. Issue:#342582: Version 1.2 breaks defined sizes on PNG images, special thanks to Angus (here)
* Version 1.4 introduces IE6's BackgroundImageCache for faster repeat loading, and a few other speed based tweaks.
* Version 1.5 introduces textareas for class selector lists #343681: CSS class/Selector input field is too short..., and...
* New! Exclude option for specifically ignoring classes.
* Detects IE 5.5 and 6 ONLY. Only IE 5.5 and 6 will use the behaviors to correct PNGs.
* Never worry about re-fixing a png again.

NEW! PNG Behave! for Drupal 5 by Steve Wickham (wickwood) of Wickwood Marketing
is now an officially supported module branch. See releases below...

Share your Selector Strings and help us work toward a more automated system.

1. Upload to your modules directory (likely /sites/all/modules)
2. Activate module (admin/build/modules)
3. Set elements and classes to process (admin/settings/pngbehave)


Use a comma-separated list of CSS classes/selectors to make BEHAVE!.

To include all img, ul, and li elements

* img, ul, li

or a specific class:
* .star

or combination
* img, .star, ul, li, ul ul, etc...

RECOMMENDED SELECTORS: img, ul, li, span .

For Developers

* Apply the behavior myclass {behavior:url(/sites/all/modules/pngbehave/} to specifically Include in the fix.
* Apply the behavior myclass {behavior: none} to specifically Exclude from the fix.


* Provide a way to create multiple classes. (could be useful for next idea)
* Provide checkboxes to enable class selectors known to work with certain modules. (many modules make high use of 'div' so having a way to automatically integrate their custom classes would be nice. i.e.: Fivestar Ratings)
* Considering a completely different Selector UI, suggestions welcome.
* More documentation and help.
* Collect links for this description to wiki terms and drupal nodes discussing the issue and providing other solutions.


Supported by Tomadoh and Wickwood Marketing
HEAD and 6.x branches maintained by Chris Paul (mrjeeves)
5.x branch maintained by Steve Wickham (wickwood)

The PNG Behave! module was developed using:

Pieces of the PNG Fix project,

as well as the behavior and tiling scripts from:

IE5.5+ PNG Alpha Fix v2.0 Alpha
(c) 2004-2008 Angus Turnbull
Heavily Modified by Chris Paul (mrjeeves).

IE5.5+ PNG Alpha Fix v2.0 Alpha: Background Tiling Support
(c) 2008 Angus Turnbull

License: Freeware

Related: Works, Elements, behavior, Classes, Class, Module, behave, Alpha, specifically, Version, Modules, angus, selectors, drupal, introduces, steve, skewing

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0

More Similar Code

This is a simple PNG writing function, intended to be as small as possible.
It only supports RGBA 32bit PNGs and the input should be a buffer of rgba bytes.

Tested for python 2 and 3.

If the effect you are shooting for is a solid transparent fill color, using an alpha-transparent PNG to fill the background is easier than using CSS Opacity. (It wond-deOaot make the children elements transparent as well). Here is a pack of PNGs...

png.js attempts to replace GIF images that have a class name of png (ie. img src="image.gif" alt="" class="png" /) with PNG images where supported.

In the case of IE:win32, the necessary filters are applied...

Any to Icon converts BMP, JPEG, GIF, PNG, PCX, PSD, TGA, TIFF, WMF, WBMP, XPM, XBM and CUR formats into Windows icons. You can add files and folders from Windows Explorer or other file shells using drag and drop. You also can paste bitmaps from...

Convert PSD,BMP, GIF, JPG, PNG, ICO, TIF image files to PDF file. Royalty free distribution of the OCX file.

printing plots with wide lines as png does not look pretty.
These are the commands that I use now after some discussion at answers.

see discussion at:

The script can be used to create image buttons that behave like standard buttons in a browser.

If you move the mouse over the image button and press it, the image button will switch to pressed state. If you move the mouse in and out...

Includes a jQuery PNG Fix to correctly handle PNG transparency in Windows Internet Explorer 5.5 and 6. Make sure to read the documention and be bold! Transparent PNGs on IE result in killed kittens, so this module tries to help that.

This is an OmniMark library that decodes PNG images into chunks, and outputs a representation of the image as a markup event stream.

This program makes PNG and/or GIF graphics from DVI files. It produces high-quality images while its internals are tuned for speed. It supports PK, VF, PostScript and TrueType fonts, color, PostScript inclusion, bitmap inclusion, and has CJK support

User Review for PNG Behave!
- required fields

Please enter text on the image