I suggest you first call WOCompnent and put inside it an onload _javascript_ function for resizing.

see this...

regards
amedeo

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="WebObjects 5.2">
<title>Apell - Products</title>
<script type="text/_javascript_"><!--
function resizeMyWindow()
{
window.resizeTo(popUpImage.width+50,popUpImage.height+150);
window.scrollbars.visible=false;
window.locationbar.visible=false;
window.toolbar.visible=false;
}
//-->
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF">

</a></BODY>
</HTML>



amedeo

On 14/feb/06, at 23: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');
John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to