Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
- Subject: Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
- From: "Sumner Trammell" <email@hidden>
- Date: Wed, 30 Jul 2008 17:06:27 -0400
Thanks Rob.
-s
On Wed, Jul 30, 2008 at 3:35 PM, Rob Napier <email@hidden> wrote:
> There are likely several ways, but one way is to raise the window's level.
> When you create the window, use [window setLevel:NSFloatingWindowLevel] for
> those windows you want to float.
>
> -Rob
>
> --
> Rob Napier -- Software and Security Consulting -- http://robnapier.net
>
>
>
> On Jul 28, 2008, at 1:58 PM, Sumner Trammell wrote:
>
>> Hi, I've used WebKit to write a small Single-Site Browser that takes
>> you straight to a special section of the company intranet. It works
>> great, but there is one particular link on the page that creates a
>> popup window using JavaScript. I want this popup to always stay on
>> top. In other words, I don't want the main window to ever hide the
>> popup. I'm not sure how to do this. How would you tell WebKit to keep
>> all popup windows on top/in front?
>>
>> Thanks,
>> -s
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden