We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7455
    • 2,204 Posts
    Quote from: ZAP at Apr 29, 2006, 05:27 PM

    Quote from: sottwell at Apr 28, 2006, 05:54 PM

    Wouldn’t the plugin work if you’re using a document as a css file?
    The Dean Edwards code seems to both replace PNG background images with the M$ filter code and also dynamically add the filter code to PNG image tags in your HTML. But the background replacement code will only work if the external CSS file is in the same directory as your index file. If it’s not then the path to the image will not be written correctly if you use relative paths (so use full paths or put your CSS file in the root to make it work).

    external css files are not parsed by modx zo the plugin wil not parse it ider it wil not work unles you make it a document or put the css in the head of the template (only the image parts are needed) than it works fine.
      follow me on twitter: @dimmy01
      • 14779
      • 256 Posts
      I’m a little unsure of what I am doing here, so please bear with me.

      In my template, I reference two PNG images with transparency. I call the css externally via a chunk. here is a partial code listing of my template:

      <title>[(site_name)] - [*pagetitle*]</title>

      {{fphstylesheet}}

      </head>

      <body><table width="99%" height="625" border="0">
      <tr>
      <th height="247" colspan="3" scope="col"><img src="[(base_url)]assets/images/FPH Banner+Border.png" width="613" height="245" border="0" align="left" usemap="#Map2"></th>
      </tr>

      Why does the transparency plugin not work with this?

      -Josh
        PM me to find out how you can get a FREE ipad 2!
        • 33372
        • 1,611 Posts
        I’m really not that familiar with this plug-in in particular, but in general imagemaps require special scripting.

        One method that works can be found here:
        http://homepage.ntlworld.com/bobosola/imagemap.htm

        Try that method if you can’t get the plug-in to work for you.
          "Things are not what they appear to be; nor are they otherwise." - Buddha

          "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

          Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
          • 14779
          • 256 Posts
          That solution solved the transparency problem for me, Thanks!
          -Josh
            PM me to find out how you can get a FREE ipad 2!
            • 33372
            • 1,611 Posts
            Quote from: joshlfisher at May 08, 2006, 06:52 PM

            That solution solved the transparency problem for me, Thanks!
            -Josh
            Cool beans. Glad that did the trick. Can’t wait until IE7 is the only IE we need to care about (not that it’s not going to cause us grief for other reasons...).
              "Things are not what they appear to be; nor are they otherwise." - Buddha

              "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

              Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
              • 4273
              • 356 Posts

              Cool beans. Glad that did the trick. Can’t wait until IE7 is the only IE we need to care about (not that it’s not going to cause us grief for other reasons...).

              I hear many people saying IE 7 is a piece of crap like previous IE versions that came before it, hope that it made at least some improvement or better yet put it to rest and let the other browsers take its place grin
                SMF Bookmark Mod - check it out
                http://mods.simplemachines.org/index.php?mod=350
                • 33372
                • 1,611 Posts
                Well I really don’t like it much myself. I actually like IE6 better. But in theory it will improve before the final release.

                It seems to break a lot of my sites, which is damned annoying because it’s supposed to be more standards-compliant (and these sites work fine in Firefox, Opera, etc. as well as IE6). Plus I don’t like that it has no menu bar (although I gather they’ve added one that you can show or hide in the last release), and tabbed browsing is a big yawn to me. Between that and all the ActiveX trouble lately I’d say that IE is looking less and less attractive from my perspective (and I still use IE6 for regular browsing).

                Yet somehow the conventional wisdon is that IE7 will be a Firefox-killer... So mebbe I’m just insane. It’s been implied before.
                  "Things are not what they appear to be; nor are they otherwise." - Buddha

                  "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                  Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • IE7 will be a great improvement in making MS an almost pleasant browser to build sites for as so many required hacks will no longer be required. The fact it won’t support generated content will be a bummer though.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 18219
                    • 826 Posts
                    I have small Pb of use of the images to format png with IE.

                    The images present a small red cross. I do not understand where that can come. I installed the file pngfix which functions correctly with the blackround-images. On the other hand, those inserted with FCKEditor generate a small red cross.

                    Have-You an idea for corrected that?
                    I have tested this plugin: when it is activated the page becomes very black. I do not have any idea of the origin of this problem.

                    Perhaps what that comes from the snippet MaxiGallery? I do not know.
                      Marc
                      I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
                      • 4273
                      • 356 Posts
                      does an image path have to be defined in the plugin ?

                      I notice when this plugin is enabled, if i have an image inside the template <img src it shows up invisible i’m assuming replaced by spacer.png or should the images be in the assests/images instead of template/default/images

                      by the way the new MODX repository blows, hard to find things, the original one is better because it shows everything on the same page JMHO
                        SMF Bookmark Mod - check it out
                        http://mods.simplemachines.org/index.php?mod=350