• 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: Rob Napier <email@hidden>
  • Date: Wed, 30 Jul 2008 15:35:17 -0400

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


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

  • Prev by Date: Re: Checking for hackintosh
  • Next by Date: Re: Checking for hackintosh
  • Previous by thread: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
  • Next by thread: Re: How would you tell WebKit to keep all JavaScript popup windows on top/in front?
  • Index(es):
    • Date
    • Thread