[JSMentors] Re: UTF-8 to Unicode conversion in ajax response

2011-05-18 Thread Clothears
On May 17, 11:14 pm, Poetro wrote: > What HTTP headers does your server side script sends to the client? > Does it send the right Content-type header along with a charset? Does now :-) and that did the trick. All resolved with a single header. Thanks and also to Laurie. tim -- To view archi

Re: [JSMentors] Detect that window is maximized

2011-05-18 Thread Diego Perini
On Wed, May 18, 2011 at 4:23 PM, Poetro wrote: > 2011/5/18 Konstantin Breu : >> Hi, >> >> I am searching for a cross browser implementation which checks whether the >> current window is maximized? And an implementation which opens a popup >> maximized (!=fullscreen in IE). Does anyone have hints f

[JSMentors] Re: UTF-8 to Unicode conversion in ajax response

2011-05-18 Thread Clothears
On May 18, 10:42 am, Laurie Harper wrote: > On 2011-05-18, at 4:43 AM, Clothears wrote: > > > On May 17, 11:14 pm, Poetro wrote: > > >> What HTTP headers does your server side script sends to the client? > >> Does it send the right Content-type header along with a charset? > > > At present, none

Re: [JSMentors] How to implement support for inline styles on XML elements?

2011-05-18 Thread Steve Esson
On Mon, May 16, 2011 at 4:18 PM, Jarek Foksa wrote: > All browsers are ignoring inline styles if they were applied to > elements that belong to custom XML namespace. For example, in the code > below "left: 0px" and "left: 50px" styles won't be applied to tab > elements: > >    http://my-custom-nam

Re: [JSMentors] Detect that window is maximized

2011-05-18 Thread Poetro
2011/5/18 Konstantin Breu : > Hi, > > I am searching for a cross browser implementation which checks whether the > current window is maximized? And an implementation which opens a popup > maximized (!=fullscreen in IE). Does anyone have hints for that? > > The usecase: my App opens an application i

Re: [JSMentors] How to implement support for inline styles on XML elements?

2011-05-18 Thread Zach Smith
I would parse the xml with javascript and create a xhtml DOM equivalent, then hide the original xml. So you would parse your wigets xml and create the following DOM structure Tab 1 Tab 2 then, if something changes in one, add the change to the other. Or, another option would be to use xsl

Re: [JSMentors] Re: UTF-8 to Unicode conversion in ajax response

2011-05-18 Thread Laurie Harper
On 2011-05-18, at 4:43 AM, Clothears wrote: > On May 17, 11:14 pm, Poetro wrote: > >> What HTTP headers does your server side script sends to the client? >> Does it send the right Content-type header along with a charset? > > At present, none, as this is an ajax response rather than a web page.

[JSMentors] Re: UTF-8 to Unicode conversion in ajax response

2011-05-18 Thread Clothears
On May 17, 11:14 pm, Poetro wrote: > What HTTP headers does your server side script sends to the client? > Does it send the right Content-type header along with a charset? At present, none, as this is an ajax response rather than a web page. Can I or should I be sending headers as part of an aj