What is a good free iPage web hosting site?

Click Here To View All Answers...

My 1st question is: What is a good free iPage web hosting site? Hoping for any comment. Another question on my mind: I've created an in-browser WYSIWYG editor for a content management tool with help from this tutorial:.


My question is: How can I hard-code some text into that editor box? it works fine for just adding records but I'm finding it difficult to write the code back into the box to allow the user to edit it..

I'm using ASP but that's not important really - I just need to be able to know how to insert code for the user to then edit (For some reason I'm finding this fairly difficult to explain)..

The bit I need to edit is this:.

I hope it make sense....



Comments (6)

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..

Comment #1

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...

Comment #2

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..

Comment #3

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..

Comment #4

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....

Comment #5

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..


Comment #6

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:..

Comment #7

This question was taken from a support group/message board and re-posted here so others can learn from it.