I've fixed the line of code. But the information from HTMLCode won't show up in the iframe field. How do I get it to display? However, the HTML source showed that it showed up. But it is not displaying in the iframe field.
Here's my ASP Code:
vbCrLf & " <iframe width=""260"" height=""165"" id=""colourPalette"" src=""RTE_colour_palette.asp"" style=""visibility:hidden; position: absolute; left: 0px; top: 0px;"" frameborder=""0"" scrolling=""no"">" & HTMLCode & "</iframe>" & _
vbCrLf & " <script language=""javascript"">")
'Randomise the system timer
Randomize Timer
Response.Write(vbCrLf & " //Create an iframe and turn on the design mode for it" & _
vbCrLf & " document.write ('<iframe id=""message"" src=""RTE_textbox.asp?noCache=" & CInt(RND * 2000) & """ width=""100%"" height=""250px"" onMouseOver=""hideColourPallete()"">" & HTMLCode & "</iframe>')")
Here's the HTML Source:
<td height="61" width="86%" valign="top">
<iframe width="260" height="165" id="colourPalette" src="RTE_colour_palette.asp" style="visibility:hidden; position: absolute; left: 0px; top: 0px;" frameborder="0" scrolling="no"></iframe>
<script language="javascript">
//Create an iframe and turn on the design mode for it
document.write ('<iframe id="message" src="RTE_textbox.asp?noCache=1262" width="100%" height="250px" onMouseOver="hideColourPallete()">How are you doing today?</iframe>')
frames.message.document.designMode = 'On';