• 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: Open page in a new window and set the size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open page in a new window and set the size


  • Subject: Re: Open page in a new window and set the size
  • From: Christian Brunschen <email@hidden>
  • Date: Tue, 14 Feb 2006 22:32:01 +0000


On 14 Feb 2006, at 22:21, John Huss wrote:

I have the _javascript_ that I need to open a new window and set its size, but how do I get a URL from the WOComponent that I want navigate to?
window.open(url,'name','height=400,width=200');
You'll want to use a WOActionURL. 

Sample code, typed directly into email and not verified:

In Component.html:

   window.open('<WEBOBJECT NAME="FooActionURL"></WEBOBJECT>', 'name', 'height=400,width=200');

In Component.wod:

FooActionURL : WOActionURL {
  action = "">
}
John
Best Wishes

// Christian Brunschen

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Open page in a new window and set the size (From: "John Huss" <email@hidden>)

  • Prev by Date: Open page in a new window and set the size
  • Next by Date: Re: Open page in a new window and set the size
  • Previous by thread: Open page in a new window and set the size
  • Next by thread: Re: Open page in a new window and set the size
  • Index(es):
    • Date
    • Thread