Ticket #304 (closed defect: fixed)
skin partially loaded if skin.css loaded before htmlarea.js
| Reported by: | mokhet | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | skin |
| Cc: |
Description
If the file skin.css (skin style) is loaded before htmlarea.js, it is partially apply.
- If the line 04 is anywhere before line 09, only partial skin is used
- If the line 04 is anywhere after line 09, skin is complete
#01: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
#02: <html>
#03: <head>
#04: <link rel="StyleSheet" href="/xinha/skins/blue-look/skin.css" type="text/css">
#05: <script type="text/javascript">
#06: _editor_url = "/xinha/";
#07: _editor_lang = "fr";
#08: </script>
#09: <script type="text/javascript" src="/xinha/htmlarea.js"></script>
#10: <script type="text/javascript">
#11: function xinha_init()
#12: {
#13: var xinha_config = new HTMLArea.Config();
#14: var xinha_editors = HTMLArea.makeEditors(['p_ed0'], xinha_config, null);
#15: HTMLArea.startEditors(xinha_editors);
#16: }
#17: window.onload = xinha_init;
#18: </script>
#19: </head>
#20: <body>
#21: <form>
#22: <textarea id="p_ed0" name="AIERP-article-art_contenu" cols="80" rows="20"></textarea>
#23: </form>
#24: </body>
#25: </html>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
