This my servlet page.My coding is pw.println("<html><body>">; pw.println("<img src='file:///c:/jsdk2.0/examples/image.gif'>"); pw.prinltn("</body></html>"); My question is when I click this image I should get a new window with no toolbars. If I give <a href> to this image I will get a html page with tollbars. <img onclick > is not applicable in Netscape. Any other Solution for this.
posted 16 years ago
Hi Kumar! U can try out the below code.It opens a new window in both the browsers. <a href="" onClick= "window.open('','','height=230,width=400,left=75,top=10');return false;"><img align="absBottom" border="0" src="test.gif" width="75" height="24"></a> Hope this is what u want. Good Luck Preethi
[This message has been edited by Preethi Suryam (edited December 14, 2000).]