Hi Mike,
What I've done so far works, but is probably too ugly to use in real
life. I put:
<script src="supersleight.plugin.js"></script>
in MarkupPreHead.
I have Eric Shulman's InlineScriptPlugin installed. In the tiddler
where I want the graphic to display, I put:
<html>
<img src="transparent.png">
</html>
[img[transparent.png]]
//<script>
jQuery('#tiddlerTestTransparency').supersleight({shim: '/img/
transparent.gif'});
;
</script>
The jQuery script has to be at the *bottom* of the tiddler, because
its re-applying supersleight to the current tiddler. There is probably
a more intelligent way to hook the script, so that it deploys whenever
a tiddler is displayed.
Anyways, it works but ... it puts a ugly little mark on the image --
just like it would for an image it couldn't find. There's also a
slight framing box, but maybe some CSS would get rid of that. Try and
you'll see.
-- Mark
On Aug 21, 3:59 am, MikeS <[email protected]> wrote:
> Per this:
>
> http://homepage.ntlworld.com/bobosola/
>
> and this:
>
> http://24ways.org/2007/supersleight-transparent-png-in-ie6
>
> it is a problem. I just found out myself when I put my first PNG
> image in my TW.
>
> So are you saying you were to install the plugin?
>
> On Aug 20, 4:09 pm, "Mark S." <[email protected]> wrote:
>
> > Can you give an example of what you want to do?
>
> > I went through all the motions, and thought it was great because a
> > transparent PNG displayed fine (showing the background color I had
> > set). But it still displayed fine, after I turned off the plugin. So,
> > now I'm puzzled. I'm using IE 6.0.2900.2180...
>
> > Are you sure transparent PNG's don't display in IE 6 ?
>
> > -- Mark
>
> > On Aug 20, 8:54 am, MikeS <[email protected]> wrote:
>
> > > I read about this jQuery plugin here:
>
> > >http://allinthehead.com/retro/338/supersleight-jquery-plugin
>
> > > I've heard that TW uses the jQuery engine (or something).
>
> > > Anyone know how I would import this?
>
> > > I need it so transparent PNGs display correctly in IE6. While I use
> > > Firefox, most of the audience that will see my TW uses IE6 (corporate
> > > environment).
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---