The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
replacing content area (id) through external javascript
Hello People,
I am in the midst of implementing a dual language editing capability for the reply / new thread edit textareas. a simple demo of wat i wanna achieve is here http://arunn.cjb.net/ta/index.php I just wanna impleent this in Vbulletin. i implement by adding a button near the "Preview post" which opens the dual editor as a popup. The mission is to get the contents of the textarea >> Code:
{$editorid}_textarea Code:
{$editorid}_textarea Code:
<input onclick="win = window.open('','MyEditor','toolbar=0,menubar=0,location=0,width=550,height=500');win.document.write('<script language=\'javascript\'>var id=\'{$editorid}_textarea\';</script><script src=\'http://arunn.cjb.net/ta/tamilpop.js\' language=javascript></script>');win.focus();" type="button" value="View Tamil Editor" /> Please Help me out. Thanks for helping. Also, if there is a way to replace the text box with my dual language editor, while retaining the other features.. plz let me know.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|