Pngfix module isn't working. Followed online documentation and help, but can't fix.

TripleAre - March 26, 2009 - 17:17
Project:PNG Fix
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I can't get the pngfix module to work no matter what CSS classes I enter into it's interface (../admin/settings/pngfix)

It has been enabled in the module section.

Here's what I'm working with -

Page code =

<div class="freeTrial">
<a href="trial" title="Try it Free!" class="pngfix"><img src="trialpic.png" alt="Try it Free!" /></a>
</div>

Pngfix attempted entries =
.freeTrial, div.freeTrial, .freeTrial a.pngfix, div.freeTrial a.pngfix, .freeTrial a img, div.freeTrial a img, .freeTrial img, div.freeTrial img

That page code is wrapped in another div called 'mainWrap', and I've tried using that. I also changed the freeTrial class to an id, and nothing is working.

The affected pages give me this error -

<script type="text/javascript">
<!--//--><![CDATA[//><!--
$(document).ready(function(){ $('.freeTrial, div.freeTrial, .freeTrial a.pngfix, div.freeTrial a.pngfix, .freeTrial a img, div.freeTrial a img, .freeTrial img, div.freeTrial img').pngFix(); });
//--><!]]>
</script>

What am I missing? Please help.
TripleAre

#1

jbergeron - April 10, 2009 - 18:44

I've never gotten this module to work

#2

madlee - June 2, 2009 - 15:30

What version of Jquery are you using?

 
 

Drupal is a registered trademark of Dries Buytaert.