From: rf on
"nobody(a)nowhere.net" <mygarbage2000(a)hotmail.com> wrote in
news:jq1t14hdsbdvu0u7vrq7i0t01ci2p2pkir(a)4ax.com:

> On Mon, 05 May 2008 03:02:08 GMT, rf <rf(a)x.invalid> wrote:
>
>>"nobody(a)nowhere.net" <mygarbage2000(a)hotmail.com> wrote in
>>news:b5ns149b7vd57oiis2agn7gu45pq6qmuh1(a)4ax.com:
>>
>>> On Sat, 03 May 2008 02:02:11 GMT, "nobody(a)nowhere.net"
>>> <mygarbage2000(a)hotmail.com> wrote:
>>>
>>> OK guys here's the hack that seems to differ between XP and classic
>>> style on XP box. Tested with both IE and FF.
>>
>>Seamonkey gets it wrong.
>>Safari gets it wrong.

> These browsers extremely rearly, if ever, are used in corporate
> environment

How do you know?

> have a Mac to test it on Safari and have no plans to buy one - all
> places where I've ever worked were Microsoft shops.

All places *you* have ever worked. I'll bet the advertising corporations
have a few macks lying round.

>>I wonder how many other browsers get it wrong.

> The spec calls for full functionality in IE and core functionality in
> Firefox. No other browser mentioned.

Where in your original post did you say this. The only mention I see
about browsers is "Would prefer cross browser compatility" and I have
shown your solution the be not cross browser compatible.

>>What you persue will fail if I simply change my colour scheme. Your
>>"dialog" will *not* look like the rest of the stuff on my desktop.
> Corporate users rearly even know how to customize the desktop;

How do you know that? I have known since Windows 3.1 how to do that and I
was a corporate user at that time.

> Anyway, if somebody has a
> preference for some crazy mix of pink and green - that's none of my
> business, they'll get a standard XP or Classic popup.

So why bother to distinguish between classic or not? Give them a dialog
that looks like the site, not the underlying operating system. Every time
I see something that looks like my operating system I instantly dismiss
it as advertising.

--
Richard
Killing all google groups posts
The Usenet Improvement Project: http://improve-usenet.org
From: Jorge on
On May 5, 6:25 am, "nob...(a)nowhere.net" <mygarbage2...(a)hotmail.com>
wrote:
> Besides, I don't
> have a Mac to test it on Safari and have no plans to buy one

Safari is a free download for Windows XP and Vista: http://apple.com/safari

--Jorge.
From: Andreas M. on
Am 03.05.2008 04:02 nobody(a)nowhere.net wrote

> I need to pop up a modal JS-based dialog (for some reason can't use
> popup window, much less so showModalDialog()), and I'd like to imitate
> the system popup titlebar according to user's desktop settings
> (classic, XP, Vista).

Not sure, whether this helps you.

There is at least two Javascript frameworks/toolkits, that do something
similare. The one has native WinXP and Vista skins, so I would assume
the company behind it found some way to do this.

http://www.activewidgets.com/
(but it has a price...)

The other one seems to be the Dojo toolkit (http://dojotoolkit.org)

--
Bye,
Andreas M.
From: Andreas M. on
Am 03.05.2008 04:02 nobody(a)nowhere.net wrote

> I need to pop up a modal JS-based dialog (for some reason can't use
> popup window, much less so showModalDialog()), and I'd like to imitate
> the system popup titlebar according to user's desktop settings
> (classic, XP, Vista). No big deal to make it work, but how do I know

Also, I think for questions like these the following groups may be more
helpful. I am pretty sure, somewhere, deep in the MS API, there may be
some special functions, that can help you. If I remember correctly,
there is access to the Windows Themeing via ActiveX.

microsoft.public.inetexplorer.scripting
microsoft.public.scripting.jscript
microsoft.public.scripting.hosting
microsoft.public.dotnet.languages.jscript
microsoft.public.scripting.wsh

--
Bye,
Andreas M.
From: Gregor Kofler on
Andreas M. meinte:
> Am 03.05.2008 04:02 nobody(a)nowhere.net wrote
>
>> I need to pop up a modal JS-based dialog (for some reason can't use
>> popup window, much less so showModalDialog()), and I'd like to imitate
>> the system popup titlebar according to user's desktop settings
>> (classic, XP, Vista).
>
> Not sure, whether this helps you.
>
> There is at least two Javascript frameworks/toolkits, that do something
> similare. The one has native WinXP and Vista skins, so I would assume
> the company behind it found some way to do this.

Sigh. No they don't. They can't detect my desktop design settings.
They've "build" elements mimicking form elements, but unfortunately,
these don't match my "Win 2000" settings. Even worse: Since they don't
use standard elements, their fake form elements are quite off.

Gregor



--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur f�r den alpinen Raum