Here i put my code but width and height ,scrollbars,location are all not working. <td align="left"> <a href=window.open("ViewProjectSummary.do?projectId=<bean:write name="collection" property="projectId" />", "previewwin","width=700,height=460, scrollbars=yes,resizable=yes,location=no");> <bean:write name="collection" property="projectName"/> </a> </td> Thanks on advance. regs., senthil
it *should* work without the onClick event but with the javascript: keyword before the link: <a href="javascript:window.open('ViewProjectSummary.do?projectId=<bean:write name="collection" property="projectId" />','previewwin','width=700,height=460, scrollbars=yes,resizable=yes,location=no');"> ... </a> just look at the quotes: ' opposed to " -- i think that's the reason why it didnt work art senthil Kumar wrote: >Here i put my code but width and height ,scrollbars,location >are all not working. > > > ><td align="left"> > > <a href=window.open("ViewProjectSummary.do?projectId=<bean:write >name="collection" property="projectId" />", >"previewwin","width=700,height=460, >scrollbars=yes,resizable=yes,location=no");> > > <bean:write name="collection" property="projectName"/> > </a> > </td> > > >Thanks on advance. > > >regs., >senthil > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org
This code is saying that the URL the link points to is a string of Javscript. That won't work. You'll need to handle the onClick event of the link and execute that script in response to it. It MIGHT work if you put javascript: in front of it, but I've never tried that and I suspect it won't work anyway. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com senthil Kumar wrote: > Here i put my code but width and height ,scrollbars,location > are all not working. > > > > <td align="left"> > > <a href=window.open("ViewProjectSummary.do?projectId=<bean:write name="collection" property="projectId" />", "previewwin","width=700,height=460, scrollbars=yes,resizable=yes,location=no");> > > <bean:write name="collection" property="projectName"/> > </a> > </td> > > > Thanks on advance. > > > regs., > senthil > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org