Solved

Multiple instance of a  Wysiwyg editor in one page

Posted on 2003-12-10
6
316 Views
Last Modified: 2013-12-16
Greetings all,

i tried a lot but can't figure out how is it possible to have 2 or more instance of a wysiwyg editor in one page. I have written a correct code with only 1 wysiwyg editor, then i changed only variable name so it will be different from an editor to another ... but still not wrking ... any idea, or solution from the web ?

Thanks for any help ... :)

<html>
...
<form >
...
<!-- WYSIWYG Editor 1-->
<html>
....
</html>
<!-- /WYSIWYG Editor 1-->
...
<!-- WYSIWYG Editor 2-->
<html>
...
</html>
<!-- /WYSIWYG Editor 2-->

</form >
0
Comment
Question by:Hatemben
  • 2
  • 2
  • 2
6 Comments
 

Expert Comment

by:jdewerth
ID: 9934040
you didn't mention language but I'm assuming VB

try this page it gives all types of info on multiple inststances
0
 

Expert Comment

by:jdewerth
ID: 9934042
0
 
LVL 2

Author Comment

by:Hatemben
ID: 9934169
It's not problem of language, u can check any WYSIWYG editor for ie, it's all written in JS. i've read that webpage, but don't see in what that could be usefull ...

Thanks anyway :)
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 2

Accepted Solution

by:
Shattuc earned 200 total points
ID: 11746383
Once you close the <html>tag, the browser doesn't go hunting for another one to open. that is the only problem with your code.
Browser opens, finds <html> processes everything from that point forward.
and If I remember correctly, you can forget to close the <html> tag, and it still doesn't care. but once you close it, it stops processing after that.

instead of using multiple instances of <html>
use a <table> instead.

so like this

<html>
<head><title>multiple wisiwyg</title>
</head>
<body>
<table>
<tr>
<td>wysiwyg 1 code</td>
<td>wysiwyg 1 code</td>
</tr>
</table>
</body>
</html>

you can just keep pasting the html for the wysiwyg editor in every <td> you make.

with this layout you could put in as many as you wanted till you ran out of memory and windows threw a BSOD at you (Blue Screen Of Death).

0
 
LVL 2

Expert Comment

by:Shattuc
ID: 11746392
and you don't need to change the code name, it will load one as many times as you want, provided you open and close all your tags properly, remember, Nesting, not overlapping.
0
 
LVL 2

Author Comment

by:Hatemben
ID: 11782379
It should be different names coz i'm using id as reference for each menu, anyway i think this thread have to be closed. I'll just give pts to Shattuc.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Question to locate the problem 18 108
Grunt No Clean Targets 6 157
Animated .jpg? 13 79
JavaScript and Regular Expressions - How to implement date validation? 7 62
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question