Print Page | Close Window

Menus and colorpicker

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=13882
Printed Date: 29 March 2026 at 7:00pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Menus and colorpicker
Posted By: Kocken
Subject: Menus and colorpicker
Date Posted: 18 February 2005 at 10:06am
Hi all
 
I installed RTE 3.0 beta 2 at http://www.kocken.com/sendmail_form.asp
 
It works fine except for the menus that don´t show up at the right place.
 
Did some adjustment to the RTE_popup_image_preview.asp to make the OK and Cancel buttons appere. This is beacuse of i translated the RTE to Swedish an the <TD> got bigger (line 291,319and 386).
 
Please take a look and let me know if you have any ideas.
 
TIA
BjörnSmile


-------------
Regards. Björn



Replies:
Posted By: WebWiz-Bruce
Date Posted: 18 February 2005 at 10:16am
It could be that your own javascript or page layout is coursing the menu boxes to not appear in the correct places.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Kocken
Date Posted: 18 February 2005 at 10:48am
Perhaps
 
I had no luck installing with the Install_doc so i copied the RTE/default.asp and added my own menus and layout.
 
My sendmail_form.asp looks like this.
As you see i use layers to positioning the different components.
Maby this is the problem.
 
/Björn
 
<html>
<head>
<title>Skicka brev med RTE</title>
<!--#include file="RTE_configuration/browser_page_encoding_inc.asp" -->
<!--//
/* *******************************************************
Application: Web Wiz Rich Text Editor
Author: Bruce Corkhill
Info: http://www.richtexteditor.org - http://www.richtexteditor.org
Available FREE: http://www.richtexteditor.org - http://www.richtexteditor.org
Copyright: Bruce Corkhill ©2002-2005
******************************************************* */
//-->
<meta name="description" content="Web Wiz Rich Text Editor, free WYSIWYG Eeditor for replacement of HTML text areas.">
<link href="scripts/kocken.css" rel="stylesheet" type="text/css">
<script>
<!--
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" bgproperties="fixed" text="#000000" OnLoad="initialiseWebWizRTE();">
 
 <SCRIPT language=JavaScript>
  /*
   Milonic DHTML Website Navigation Menu - Version 3.4
   Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
   Please visit http://www.milonic.co.uk/menu - http://www.milonic.co.uk/menu or e-mail mailto:menu3@milonic.com - menu3@milonic.com for more information.
  
   The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
   Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
   All Copyright notices MUST remain in place at ALL times and, please keep us informed of your
   intentions to use the menu and send us your URL.
  */
</SCRIPT> 
<SCRIPT language=JavaScript src="scripts/menu_array_left.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="scripts/mmenu.js" type=text/javascript></SCRIPT>
<div id="Logo" style="position:absolute; top:20; left:25; width:400; height:100px; z-index:0">
  <a href=" http://www.kocken.com - http://www.kocken.com " target="_top"><img align="TOP"
    src="images/logo_kocken.gif" alt="Hem" border="0" width="401" height="112"></a>
<!--#include file="activeusers.asp"-->
</div>
<DIV ID="Genomskinligt" STYLE="position:absolute; top:157px; left:25px; width:801; height:900px; z-index:2
padding:10px; background:silver;
filter:
 progid:DXImageTransform.Microsoft.BasicImage(grayscale=0, xray=0, mirror=0, invert=0, opacity=0.50, rotation=0)
 progid:DXImageTransform.Microsoft.Shadow(color='#666666', Direction=135, Strength=16)">
</DIV>
<DIV ID="Text" style="position:absolute; top:200px; left:135px; width:650px; height:776px; z-index:3">
  <div align="center">
    <h1><font color="#FF0000" face="Times New Roman, Times, serif"><strong>Skicka
      brev till Kocken</strong></font></h1>
  </div>
  <form name="Skicka" method="post" action="sendmail_send.asp">
  <P>
    Ditt namn:<BR>
            <input name="FromName" type="Text" value="Kalle" size="25" maxlength="50" onFocus="clearText(this)">
          <P> Din E-mail Adress:<br>
            <input name="FromAddress" type="Text" value=" mailto:kalle@kocken.com - kalle@kocken.com " size="25" maxlength="50" onFocus="clearText(this)">
<P>
    Subject:<br>
            <input name="Subject" type="Text" value="Testar" size="25" maxlength="50" onFocus="clearText(this)">
<P>
    Meddelande:<BR>
     
  <table width="660"  border="0" cellpadding="1" cellspacing="1" bgcolor="#669966">
  <tr>
    <td align="left" bgcolor="E6E7F2">    
     
     
<%
'----------------------------------------------------------------------------------------------
'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 = "Skicka"
'ID tag name of HTML textarea being replaced
strTextAreaName = "BodyText"
'----------------------------------------------------------------------------------------------
%>
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
            <textarea name="BodyText" cols="108" rows="32" id="BodyText">
    Tjenare Kalle
        </textarea>
 
        <input type="submit" name="Submit" value="Skicka">
            <input name="reset" type="Reset" value="&Aring;terst&auml;ll">
<BR>        
<%
'***** START WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******
If blnAbout Then
 Response.Write("<br /><span class=""text"" style=""font-size:10px"">Powered by <a href="" http://www.richtexteditor.org - http://www.richtexteditor.org "" target=""_blank"" style=""font-size:10px"">Web Wiz Rich Text Editor</a> version " & strRTEversion)
 Response.Write("<br />Copyright &copy;2002-2005 <a href="" http://www.webwiz.net - http://www.webwiz.net "" target=""_blank"" style=""font-size:10px"">Web Wiz Guide</a></span>")
End If
'***** END WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******
%>
       
      </form>
     
   </td>
  <

-------------
Regards. Björn


Posted By: WebWiz-Bruce
Date Posted: 18 February 2005 at 12:32pm
I imagine it is the layers effecting the positioning of the colour picker and drop downs as it probably prevents the javascript from accurately judging the position of the buttons.

I would suggest keeping away from layers unless you really have to and use tables for positioning.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Kocken
Date Posted: 18 February 2005 at 1:08pm
Are RTE using layers?
 
Perhaps if i change my z-orders it will help


-------------
Regards. Björn


Posted By: WebWiz-Bruce
Date Posted: 19 February 2005 at 5:43am
The RTE isn't using layers, but the colour picker and drop downs use iframes, when the button is clicked on javascript detects what part of the screen the button is clicked on and displays the iframe just under this button.

The layers you use probally prevent the javascript from detecting what area in relation to the users screen the button element is within.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net