[jQuery] Re: IE6 Stylesheet Woes

2007-10-09 Thread Andy Kent
.pnghttp://www.jdempster.com/public/jss/ie7.pnghttp://www.jdempster.com/public/jss/ff2.png > > I did test it in more but these will do for now. Can any one else check > their IE? > > /James > > On 10/8/07, Andy Kent <[EMAIL PROTECTED]> wrote: > > > > > This has t

[jQuery] Re: JSS - New Plug-in

2007-10-09 Thread Andy Kent
Ok, I'm pleased to say I have updated the plugin and we are now at 0.3 This brings a whole bunch of tweaks but mainly it (hopefully) fixes the IE issues that people where having. Ta, Andy. On 9 Oct, 08:56, "R. Rajesh Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > On O

[jQuery] Re: IE6 Stylesheet Woes

2007-10-08 Thread Andy Kent
l showed the same > results. > > Test it out. Hopefully it can > help.http://www.jdempster.com/public/jss/js_css.html > > On Oct 8, 11:29 am, Andy Kent <[EMAIL PROTECTED]> wrote: > > > Unfortunately after some experimentation this method still appears to > >

[jQuery] Re: JSS - New Plug-in

2007-10-08 Thread Andy Kent
p it in a closure: > > (function($) { > // plugin code here, use $ as much as you like > > })(jQuery); > > On Oct 7, 12:39 am, Andy Kent <[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > > This is a plug-in that was thrown together in a few spare hours aft

[jQuery] Re: IE6 Stylesheet Woes

2007-10-08 Thread Andy Kent
Unfortunately after some experimentation this method still appears to yield 'UNKNOWN' in place of selectors that are not understood by IE. Poo. On 8 Oct, 11:15, Andy Kent <[EMAIL PROTECTED]> wrote: > Thanks Mike, that's a huge help and sounds like it will solve my >

[jQuery] Re: IE6 Stylesheet Woes

2007-10-08 Thread Andy Kent
); > return style; > } > > function changeStyle( style, css ) { > if( style.styleSheet ) > style.styleSheet.cssText = css; > else > style.replaceChild( document.createTextNode(css), > style.firstChild ); > return style; > } > &

[jQuery] IE6 Stylesheet Woes

2007-10-08 Thread Andy Kent
I'm working on fixing my JSS plugin for IE, it appears that IE has really problems with showing you the source of stylesheets that are between style tags. $('style').text() -> returns null $('style').html() -> returns the source but it is modified, e.g. all non-supported selectors are changed to

[jQuery] Re: JSS - New Plug-in

2007-10-07 Thread Andy Kent
> It would be good to see this detect and use Brandon Aaron's Live > Query(http://brandonaaron.net/docs/livequery/) for new elements > added after $.jss.apply() is called. Yep, this is on the plan, but it actually involves a slightly different approach. Rather than using .css() to apply the style

[jQuery] Re: JSS - New Plug-in

2007-10-07 Thread Andy Kent
ething. > > Thanks for creating this :) It looks like it has a lot of promise :) > > > > Andy Kent wrote: > > > Hi Guys, > > > This is a plug-in that was thrown together in a few spare hours after > > chatting with some people at FOWA last week, I hadn&

[jQuery] Re: JSS - New Plug-in

2007-10-07 Thread Andy Kent
et it completely. > > > Andrea > > > On 6 oct, 18:51, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > > > > This looks interesting. > > > Would it fix this problem here?http://www.commadot.com/jquery/cssAND.php > > > > Glen > > >

[jQuery] JSS - New Plug-in

2007-10-06 Thread Andy Kent
Hi Guys, This is a plug-in that was thrown together in a few spare hours after chatting with some people at FOWA last week, I hadn't had much sleep at the time so it's still a bit rough round the edges. In a nutshell though it gives you full support for all jQuery selectors from within your CSS