Message # 1 | 7:44 AM
When you click on the "Link it" the user will get an AJAX-Window appear, with 3 simple codes. Normal Link (URL Address), Link as BB-Code and Link as HTML-Code.

1. Go to your Control Panel.
2. Now go to Design Customization -> Site News (this script works for other modules too) -> Page with entry full text and its comments.
3. Now add the following code (inside the address below) after the '$MESSAGE$' tag:

Code
<br>   
    <center><form><a href="javascript://" onclick="new _uWnd('myName','Link it',500,200,{min:1,shadow:1,header:1,max:1,resize:0,icon:'/icon/16/link1.png'},'<strong>Link:</strong><textarea onclick=\'select(this)\' name=\'dest_text\' cols=\'80\' rows=\'1\' style=\'\'>$ENTRY_URL$</textarea><br><strong>BB-Code:</strong><textarea onclick=\'select(this)\' name=\'textarea2\' cols=\'80\' rows=\'1\' style=\'\'>[url=$ENTRY_URL$]$ENTRY_TITLE$[/url]</textarea><br><strong>HTML-Code:</strong><textarea onclick=\'select(this)\' name=\'textarea2\' cols=\'80\' rows=\'1\' style=\'\'><a href=\'$ENTRY_URL$\'>$ENTRY_TITLE$</a></textarea><br><br><small>This script was created by http://www.xayaanibrahim.tk<;/small>');"><input value="Link it" onclick="confirmClose()" type="button"></a></form></center>


If you want to change the link name , Change the words in RED.
Code
<input value="[color=red]Link it[/color]" onclick="confirmClose()" type="button">


Best Regards.

My Skype : xayan123 | My Twitter : @Officialxayaan
uID : - Zayaan Ibrahim | Need a professional design? Check out my Portfolio
Post edited by Xayaan - Sunday, 2013-04-21, 7:32 AM