Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bugs - Can be better
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedBugs - Can be better

 Post Reply Post Reply
Author
faca5 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 July 2003
Location: Slovenia
Status: Offline
Points: 187
Post Options Post Options   Thanks (0) Thanks(0)   Quote faca5 Quote  Post ReplyReply Direct Link To This Post Topic: Bugs - Can be better
    Posted: 01 September 2006 at 1:55pm
Now:

     <form name="myForm" method="post" action="display_form_submission.asp">
     
     
     
<%
'----------------------------------------------------------------------------------------------
'The following onload event needs to be placed into the body tag for the web page you
'are placing the RTE into to initialise the Javascript for the Web Wiz Rich Text Editor (RTE):-
'OnLoad="initialiseWebWizRTE();"

'The following needs to be placed on the line above the textarea that you wish to be
'replaced with the Web Wiz Rich Text Editor (RTE).
'----------------------------------------------------------------------------------------------

Dim strFormName
Dim strTextAreaName
'Edit the intilised variables below to put in the name of your textrea's ID and the name
'of the form the textarea is within
'Name of the HTML form the textarea is within
strFormName = "myForm"
'ID tag name of HTML textarea being replaced
strTextAreaName = "myTextarea"
'----------------------------------------------------------------------------------------------
%>
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
        <textarea name="textarea" cols="80" rows="15" id="myTextarea">
 
Can be better:
      
<%
'----------------------------------------------------------------------------------------------
'The following onload event needs to be placed into the body tag for the web page you
'are placing the RTE into to initialise the Javascript for the Web Wiz Rich Text Editor (RTE):-
'OnLoad="initialiseWebWizRTE();"

'The following needs to be placed on the line above the textarea that you wish to be
'replaced with the Web Wiz Rich Text Editor (RTE).
'----------------------------------------------------------------------------------------------

Dim strFormName
Dim strTextAreaName
'Edit the intilised variables below to put in the name of your textrea's ID and the name
'of the form the textarea is within
'Name of the HTML form the textarea is within
strFormName = "myForm"
'ID tag name of HTML textarea being replaced
strTextAreaName = "myTextarea"
'----------------------------------------------------------------------------------------------
%>

     <form name="<%= strFormName %>" method="post" action="display_form_submission.asp">
     
     
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
        <textarea name="textarea" cols="80" rows="15" id="<%= strTextAreaName %>">
 
If you now change attribut strFormName and Dim strTextAreaName, you will get error on javascript. You need to use global attribut.
Back to Top
faca5 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 July 2003
Location: Slovenia
Status: Offline
Points: 187
Post Options Post Options   Thanks (0) Thanks(0)   Quote faca5 Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2006 at 2:12pm
I can't open and edit normaly .asp files.
 
Create file test.asp:

<html>
<head>
<title>Web Wiz Rich Text Editor</title>
<body>
Test1
<%= Response.Write("Test2") %>
</body>
</html>

Then click on "Toggle HTML View" and you will get:
Test1 Test2
 
But This is not correct HTML code. Meybe you need to use open file... Because when you open now will run all commands. It is ok when display in advance view - but in toggle html view - it is not better.
 
Meybe you can do something about that because this editor can be better and more power ful.
 
Ok.
 
Second one. When you open file and click to the button "Submit Form" will display like preview. This is all OK. But when you go back (Internet Explorer - Back), it will erase all text. This work if you don't open any file.


Edited by faca5 - 01 September 2006 at 2:13pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.