• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How would you tell WebKit to keep all JavaScript popup windows on top/in front? (From: "Sumner Trammell" <email@hidden>)
 >Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front? (From: Rob Napier <email@hidden>)

  • Prev by Date: Problem binding NSTextView's attributedString
  • Next by Date: Triggering a notification?
  • Previous by thread: Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
  • Next by thread: Storing values in dictionary with their address as the key
  • Index(es):
    • Date
    • Thread