<% 
String lj=request.getParameter("lj");
if(lj==null)
out.println("var iframecode='<iframe id=jshtml style=\"width:100%;height:3100\" src=content-3.htm frameborder=NO scrolling=no border=0 framespacing=0></iframe>'");
else     
out.println("var iframecode='<iframe id=jshtml style=\"width:100%;height:3100\" src="+lj+" frameborder=NO scrolling=no border=0 framespacing=0> </iframe>'");
%>  请问如何修改上述代码!可以使不同的页面自动适应它的高度!
多谢了!