Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some research and get back to you if I bump into an anything. You should email the people at iPage as they probably know..
Can you post more of the code, or a link? It's hard to understand from just a few lines. Where is the code that you want to insert coming from?.
The correct syntax to work in ie and netscape is.
I think the code you have will fail in netscape. I'm not sure on the difference between innerHTML and innerText, whether they're different syntax for the same thing, or the former includes tags and the latter doesn't. I'll check it out...
Not bothered about netscape - it's not going to be set loose to the public - just specific people. You should be able to find the source code from that link I gave on my first post..
Right, so you need to develop a code saying if a certain condition is true (don't know what the condition is), then take text or code from a certain place (you haven't said where) and use the syntax we've talked about to assign that code to iText and then make the iView's inside (not sure if you want this to be HTML (includes tags inside the frame) or just text - in your first post you say 'code', so i'd guess the former)..
If you post more information about the above, and anything else, I can help more, right some code for you. Again, key point is where is this 'code' that you want in the frame coming from - another file? How are planning of getting it? you could use ssi..
As I say, more info needed..
Sorry - I'll try and explain what I'm doing a bit clearer..
I have a bit on a iPage website that someone wants to be able to update themselves but they don't have any knowledge of html so I've created a little content management tool for them which updates the database which the page on the iPage website reads from..
Now because they know nothing of html I've found this WYSIWYG editor code that's built into IE. It works fine insofar as they can enter their content and post it into the database. However, they need to be able to go back and edit this and this is where I am stuck. I don't have a problem with getting the code from the database and into the page - it's just with knowing where to stick this data so it populates that WYSIWYG editor..
Hopefully this makes more sense....
Okay, that sounds good - can you show me the code you use to get the data from the database to the page? Then we just assign that to a variable, and then then assign the variable to the frame, as we've talked about..
I'm just using a standard recordset which brings in the data I require which is assigned to a variable already..
For example, before I came up with this idea, I was using a standard textarea form box:..