First, scroll bar:
Overflow, the following property values are available:
Visible default value. The content is not trimmed and is rendered outside the element box.
Hidden content is trimmed, and the rest is not visible.
Scroll content is trimmed, but the browser displays scroll bars to see the rest of the content.
Auto If the content is trimmed, the browser displays a scroll bar to view the rest of the content.
Inherit specifies that the value of the overflow property should be inherited from the parent element.
Instance:
<style type = "Text/css" > #Themedetail {width:100%;height:200px;overflow:auto;} #marketThemeDetail {Overflow:hidden;} </style>
<div id= "Marketthemedetail" class= "Easyui-dialog" style= "height:360px;width:60%" title= "View Details" closed= "true" > <table style= "border-collapse:separate; border-spacing:0px 5px; " > <tr><td> topic Title: </td><td> <p id= "Themetitle" ></p> </td> </tr>< Tr><td> participants: </td><td> <p id= "themegroups" ></p> </td></tr><tr> <td> keywords: </td><td> <p id= "Themekeywords" ></p> </td></tr><tr><td valign= "Top" > Theme content: </td><td><div id= "Themedetail" ></div></td></tr><tr ></TR><TR></TR><TR><TD valign= "Top" > Accessories: </td><td><div id= " Attachments "></div></td></tr> </table></div>
:
Second, JS multi-parameter method invocation:
Instance:
function Downloadfiles (url,downloadname) {window.location.href = ' <%=basepath%>market/markettheme/ Download.action?url= ' + URL + ' &downloadname= ' + downloadname;}
</pre><pre name= "Code" class= "JavaScript" >for (var i = 0;i<json.data.attachments.length;i++) {<span Style= "White-space:pre" ></span>url + = ' <a href= ' javascript:void (0); "style=" text-decoration:underline; Color:blue; "onclick=" downloadfiles (\ ' +json.data.attachments[i].url+ ' \ ', \ ' +json.data.attachments[i].attname+ ') \ ') "> ' +json.data.attachments[i].attname+ ' </a> ';}
<strong>onclick= "Downloadfiles (\ ' +json.data.attachments[i].url+ ' \ ', \ ' +json.data.attachments[i].attname + ' \ ') ' </strong>
Front End Stage Summary: Scroll bar, JS multi-parameter method