<A href = "java script: void (0)" onclick = "copyinfo ()"> click to copy the UBB tag </a>
<Input type = "button" onclick = "copyinfo ()" value = "click to copy the UBB tag"/>
<Script language = "javascript">
Function copyinfo (){
Var obj = document. getElementById ("ubbinfo ");
If (obj! = Null ){
Var txt = document. body. createTextRange ();
Txt. moveToElementText (obj );
Txt.exe cCommand ("Copy ");
Alert ('Software information has been copied. paste it directly. ');
}
Else {
Alert ('Copy error, please contact the administrator! ');
}
}
</Script>
<Div id = "ubbinfo" style = "display: none;">
Modify the information of the software you want to copy: <br>
[Size = 3] [B] {SoftTitle} [/B] [/size] <br/>
Software size: {SoftSize} <br/>
Software language: {SoftLanguage} <br/>
[B]: [/B] <br/>
[Url = {SoftURL}] {SoftURL} [/url] <br/>
Ui preview: <br/>
[Img] {SoftImageURL} [/img] <br/>
Details: <br/>
{SoftIntro Length = "200" ClearHtml = "True "}
</Div>
Copy the above Code to the appropriate location of the Software Information Page Template to get the buttons and links for copying the software information. You can choose either of them. The content contained in the div is not displayed on the page. you can modify the software information. after modifying the template, You need to regenerate the page.