Hi Guys! Im new here.
What i want to do: On an event (for example onchange) i want that the editor-save-buoon gets highlighted (either background turns red or new image).
I have not found a Method like
This works fine! And the Background changes Red. - But the only problem is right now - i can´t klick dthe save button now.
Even if i don´t cange anything:
- Can somebody help me with this?
- Is there a function with that i can change these properties directly?
- Will this feature (button highlight change) be implemented in the new FCKeditor 3? - if yes ill wait for that.
Thanks a lot!
What i want to do: On an event (for example onchange) i want that the editor-save-buoon gets highlighted (either background turns red or new image).
I have not found a Method like
oEditor.EditorWindow.parent.FCKToolbarItems.LoadedItems['Save'].Disable();(just for the other properties) - so i tried to change the properties directly with the DOM:
var iframe = document.getElementById('txt_neu_kurztext___Frame'); var element = iframe.contentWindow.document.getElementById('xToolbar').childNodes[0].childNodes[0].childNodes[0].childNodes[2]; //alert(element.innerHTML); element.innerHTML = '<DIV class=TB_Button_On_Red title=Speichern><DIV class=TB_Button_Image><IMG style="TOP: -32px" src="/_test/module/inhalt/fckeditor_2_6_2/editor/skins/office2003/fck_strip.gif" unselectable="on"></DIV></DIV>';
This works fine! And the Background changes Red. - But the only problem is right now - i can´t klick dthe save button now.
Even if i don´t cange anything:
var iframe = document.getElementById('txt_neu_kurztext___Frame'); var element = iframe.contentWindow.document.getElementById('xToolbar').childNodes[0].childNodes[0].childNodes[0].childNodes[2]; element.innerHTML = element.innerHTML;- The button can not be klicked anymore.
- Can somebody help me with this?
- Is there a function with that i can change these properties directly?
- Will this feature (button highlight change) be implemented in the new FCKeditor 3? - if yes ill wait for that.
Thanks a lot!