We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13284
    • 95 Posts
    Greetings All,

    Here is the info:

    I’m using the Animetor Template at: http://modxcms.com/Animetor-Template-942.html
    Test Website is at: http://www.tapanime.com/cms/

    When the site is viewed with IE the buttons on the right come up with a X on them and in FireFox they don’t. I just copied my code from my current site to put them on there so I’m kind of curious why this is happening and how to fix it.

    In my Template Varible Right I have this:
    <center>
    Store Affliates<BR>
    <BR>
    <a href="http://affiliates.jlist.com/click/602/63" target="_blank" onmouseover="window.status='Click for J-List, a wonderful place 2000 items from Japan'; return true;" onmouseout="window.status=''; return true;" title="Click for J-List, a wonderful place 2000 items from Japan">
    <img src="http://affiliates.jlist.com/media/602/63" width="100" height="50" alt="Click for J-List, a wonderful place 2000 items from Japan" border="0"></a>
    <BR>
    <A HREF="http://www.rightstuf.com/catalog/browse/link/t=toc,c=right-stuf,a=anime-powerhouse" value="Right Stuf" onMouseOver="window.status='Right Stuf';return true" target="_newwindow"><IMG WIDTH=100 HEIGHT=31 ALT="Right Stuf" BORDER=0 GALLERYIMG="no" SRC="/cms/rightcatalog.png"></A><BR>
    <BR>
    TAP Supports<BR>
    <BR>
    <A HREF="http://faren.org/" value="Faren" onMouseOver="window.status='Faren';return true" target="_newwindow"><IMG WIDTH=88 HEIGHT=31 ALT="Faren" BORDER=0 GALLERYIMG="no" SRC="/cms/farenblock.png"></A><BR>
    <A HREF="http://www.eva-r.com" value="EVA-R" onMouseOver="window.status='EVA-R';return true" target="_newwindow"><IMG WIDTH=88 HEIGHT=31 ALT="EVA-R" BORDER=0 GALLERYIMG="no" SRC="/cms/eva-r.png"></A><BR>
    <BR>
    The Anime Union<BR>
    <BR>
    <A HREF="http://www.gravitoncity.com" value="Graviton City" onMouseOver="window.status='Graviton City';return true" target="_newwindow"><IMG WIDTH=88 HEIGHT=30 ALT="Graviton City" BORDER=0 GALLERYIMG="no" SRC="/cms/gravbut.png"></A><BR>
    <BR>
    Fan Artist<BR>
    <BR>
    <A HREF="http://animefanartist.gravitoncity.com/gallery2/v/jamesb/" value="James Bender" onMouseOver="window.status='James Bender';return true" target="_newwindow"><IMG WIDTH=88 HEIGHT=31 ALT="James Bender" BORDER=0 GALLERYIMG="no" SRC="/cms/james.png"></A>
    <BR>
    </center>
    


    Thanks to anyone who look or can help.
      • 25663 MODX Staff
      • 12,272 Posts
      I’m guessing you’ve got an IE .png compatibility hack issue. If so, make sure you’ve got the transparent .gif file in the right spot.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 28556
        • 4 Posts
        Not an expert on this, but first question: what version of IE?

        Could the images be transparent PNG files? I believe that can choke some browsers.
          • 13284
          • 95 Posts
          Thanks for the reply guys,

          I think your both right, I’ve changed the code and uploaded the original gif graphic and it looks fine so it has to do with something in the PNG format i’m missing.

          This is in IE6 by the way but I’ll play with it and choose what I need too.

          Thanks a bunch for the help.
            • 25663 MODX Staff
            • 12,272 Posts
            In your site, you’re using sleight.js to make transparent .png files work in IE. A good solution in many cases. In that file, the last line is:
            	img.src = "x.gif";

            That means in the same directory as the .js file, it’s expecting to see a 1px transparent .gif called "x.gif". I bet that’s missing.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 13284
              • 95 Posts
              Yes that is correct,

              the js was just part of the basic install for Modx I guess ^_^ any way to turn that js part for the png images?
                • 25663 MODX Staff
                • 12,272 Posts
                Quote from: Izumi at Sep 17, 2006, 03:39 PM

                any way to turn that js part for the png images?

                Any way to turn the .js into what? If you want it to work, just add a 1px transparent file there named x.gif. If you don’t want it, just remove that line from the header in your template.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 13284
                  • 95 Posts
                  Sorry didn’t mean turn into, meant turn off.

                  Anyway yea took that out of the template everything is just perfect now.

                  Thanks a ton ryan.
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Actually, you’d need to put that x.gif file in your site root, or change the path in the last line of code of the .js file to reflect the actual location. Sorry for any confusion!
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me