<html:form
method="post"
action="album_photo.CRACKWILLOW"
target="whereOwhere"
onsubmit="window.open(this.action,this.target, 'directories=0,status=0,menubar=0,scrollbar=2,toolbar=0,resizable=0,copyhistory=0,width=10000,height=10000');return false">
<table> <tr> <td> <html:image .... alt='ALBUM' property='open.method'/> </td> </tr> </table> </html:form>
You should consider moving your scripts out to a separate method. It would even be better to move them to a separate .js file and include that on the page.....it's that whole 'reuse' thing.
-- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED]
----- Original Message ----- From: "Dakota Jack" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, April 08, 2005 3:01 AM
Subject: Popups and Struts Actions
I am using the following code and do not want the menubar, etc. on my popup. But the menubar and everything else is still showing up. You javascript mavens out there, what is wrong?
<html:form method="post" action="album_photo.CRACKWILLOW" target="whereOwhere"
onsubmit="window.open('',this.target,directories=0,status=0,menubar=0,scrollbar=2,toolbar=0,resizable=0,copyhistory=0,width=10000,height=10000);return true;"> <table> <tr> <td> <html:image .... alt='ALBUM' property='open.method'/> </td> </tr> </table> </html:form> -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]