Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Menus and colorpicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedMenus and colorpicker

 Post Reply Post Reply
Author
Kocken View Drop Down
Newbie
Newbie
Avatar

Joined: 15 February 2005
Location: Sweden
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kocken Quote  Post ReplyReply Direct Link To This Post Topic: Menus and colorpicker
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Kocken View Drop Down
Newbie
Newbie
Avatar

Joined: 15 February 2005
Location: Sweden
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kocken Quote  Post ReplyReply Direct Link To This Post 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
Available FREE: 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 or e-mail 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" 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="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"" 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"" 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>
  <
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Kocken View Drop Down
Newbie
Newbie
Avatar

Joined: 15 February 2005
Location: Sweden
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kocken Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2005 at 1:08pm
Are RTE using layers?
 
Perhaps if i change my z-orders it will help
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
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.