Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki.
Dear team , i am new to dnn i want to apply png fix for my dnn website i have included below lines in my skin file but it is not working so help me to fix this. <script type="text/javascript"> $(document).ready(function(){ $(document).pngFix(); }); </script> <dnn:DnnJsInclude runat="server" FilePath="jquery-1.5.min.js"PathNameAlias="SkinPath" /> <dnn:DnnJsInclude runat="server" FilePath="pngfix.js" PathNameAlias="SkinPath" />
I haven't applied a png fix in some time but one thing I don't see is a proper file path for jquery and or the pngfix js. If you want to utilize jQuery, you need to point to the CDN scripts or the ones that ship w/ dnn under Resources\Shared\scripts (you should actually register jQuery properly using core methods but that is beyond the scope of the question). You also will need to include and point to the pngfix js file you want to load.
You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.