Ticket #25 (closed defect: worksforme)
Doulbing Xinha controls
| Reported by: | Reg Brehaut <reg@…> | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | 0.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In many instances, though not all, my page (containing several Xinha controls) places two Xinhas for each textarea. Here's my code:
just before <form>:
33: <script type="text/javascript" src="../htmlarea/htmlarea.js"></script> 34: <script type="text/javascript" src="../htmlarea/dialog.js"></script> 35: <script type="text/javascript" src="../htmlarea/lang/en.js"></script>
just after </form>:
414: <script type="text/javascript">
415: HTMLArea.init();
416: HTMLArea.onload = function()
417: {
418: var ed_fullpage_longtext1 = new HTMLArea("fullpage_longtext1");
419: ed_fullpage_longtext1.config.toolbar= [
420: ['copy','cut','paste','separator','undo','redo', 'separator','removeformat','killword', 'separator','htmlmode','showhelp']
421: ];
422: ed_fullpage_longtext1.config.width='600';
423: ed_fullpage_longtext1.config.pageStyle='body { background-color: whitesmoke; color: black; font-family: verdana; font-size: 1em;' ;
424: ed_fullpage_longtext1.generate();
425: var ed_fullpage_longtext2 = new HTMLArea("fullpage_longtext2");
426: ed_fullpage_longtext2.config.toolbar= [
427: ['copy','cut','paste','separator','undo','redo', 'separator','removeformat','killword', 'separator','htmlmode','showhelp']
428: ];
429: ed_fullpage_longtext2.config.width='600';
430: ed_fullpage_longtext2.config.pageStyle='body { background-color: whitesmoke; color: black; font-family: verdana; font-size: 1em;' ;
431: ed_fullpage_longtext2.generate();
432: var ed_fullpage_longtext20 = new HTMLArea("fullpage_longtext20");
433: ed_fullpage_longtext20.config.toolbar= [
434: ['copy','cut','paste','separator','undo','redo', 'separator','removeformat','killword', 'separator','htmlmode','showhelp']
435: ];
436: ed_fullpage_longtext20.config.width='600';
437: ed_fullpage_longtext20.config.pageStyle='body { background-color: whitesmoke; color: black; font-family: verdana; font-size: 1em;' ;
438: ed_fullpage_longtext20.generate();
439: }
440: </script>
Usually, clicking on the browser's Refresh button causes it to display correctly.
I'll attach a couple of screen captures
Is this a bug, a problem with IE6, or something I'm doing wrong?
Thanks
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
