Solved

Multiple instance of a  Wysiwyg editor in one page

Posted on 2003-12-10
6
314 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now