<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>
Replace the aboveCodeCopy to the appropriate location of the template on the software information page to get the buttons and links for copying 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.