Ticket #7138: 7138_2.patch

File 7138_2.patch, 906 bytes (added by Garry Yao, 8 years ago)
  • _samples/api.html

     
    2525        document.getElementById( 'eMessage' ).innerHTML = '<p>Instance <code>' + ev.editor.name + '<\/code> loaded.<\/p>';
    2626
    2727        // Show this sample buttons.
    28         document.getElementById( 'eButtons' ).style.visibility = '';
     28         document.getElementById( 'eButtons' ).style.display = 'block';
    2929});
    3030
    3131function InsertHTML()
     
    160160
    161161                <div id="eMessage">
    162162                </div>
    163                 <div id="eButtons" style="visibility: hidden">
     163                <div id="eButtons" style="display: none">
    164164                        <input onclick="InsertHTML();" type="button" value="Insert HTML" />
    165165                        <input onclick="SetContents();" type="button" value="Set Editor Contents" />
    166166                        <input onclick="GetContents();" type="button" value="Get Editor Contents (XHTML)" />
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy