Code Directory
 Visual Basic & VB.NET
New Code
.Net VCL for Delphi
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
Issue Manager App 1.0
Hotel Management - Full Board Version 6.55
Ticket Booking System 1.0
i-Net School Management Script 1.0.4
Skincare Management System 1.4
MCU 8051 IDE 1.4.7
CPP-2-HTML CSS Source Code Tagger 1.02
Clustering results measurement 1.0
MLM Forced Matrix Plan Software 1.0.2
GNU Common C 2.3.2
College Management System Script 1.0.4
Online Vacation Rental Booking Website Script 4.3.0
Simple Hill-Climbing 1.0
.Net VCL for Delphi
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Top Rated
Paste phpSoftPro 1.4.1
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
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
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
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