The easiest way to do this would be to add the jquery plugin to your
MarkupPrehead tiddler.
eg.
<script type='text/javascript' src='supersleight.js'></script>
Then you'd need to make sure everytime your page is refreshed the
function is called
try something like this:
var oldrestart = restart;
restart = function(){
jQuery('body').supersleight();
oldrestart();
};
Might work.
If I remember correctly the way supersleight works is you put a
transparent gif in the same folder as the page.
like this one: http://www.jonrobson.me.uk/x.gif
Note if you targetting users in in IE6 environment, my recommendation
would be to try to resort to using gifs where-ever possible, possibly
using conditional if css statements. Javascript is not really the
right way to do these sort of things in my opinion, but the code above
should do the trick for you.
Jon
On Aug 21, 12:59 pm, 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
-~----------~----~----~----~------~----~------~--~---