DREHSCHEIBE-Online 
DREHSCHEIBE-Online

Anzeige

HIER KLICKEN!

 04 - Historisches Forum 

  Neu bei Drehscheibe Online? Hier registrieren! Zum Ausprobieren und Üben bitte das function create_inline_link(id,fn) { fn = unescape(fn); var attlink = '[attachment ' + id + ' ' + fn + ']'; var area = document.getElementById("phorum_textarea"); if (area) { if( document.getElementsByClassName("wysibb-text-editor") ) { area.focus(); $("#phorum_textarea").insertAtCursor(attlink+'\n',true); } else if (area.createTextRange) /* MSIE */ { area.focus(area.caretPos); area.caretPos = document.selection.createRange().duplicate(); curtxt = area.caretPos.text; area.caretPos.text = attlink + curtxt; } else /* Other browsers */ { var pos = area.selectionStart; area.value = area.value.substring(0,pos) + attlink + area.value.substring(pos); area.focus(); area.selectionStart = pos + attlink.length; area.selectionEnd = area.selectionStart; } } else { alert('There seems to be a technical problem. The textarea ' + 'cannot be found in the page. ' + 'The textarea should have id="phorum_textarea" in the ' + 'definition for this feature to be able to find it. ' + 'If you are not the owner of this forum, then please ' + 'alert the forum owner about this.'); } }