Web Wiz - Green Windows Web Hosting

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

Forum LockedSearch and stumped

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

Joined: 28 July 2004
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuey Quote  Post ReplyReply Direct Link To This Post Topic: Search and stumped
    Posted: 19 September 2005 at 12:15pm
I keep getting errors on the page they're Javascript related.
 
I have the RTE folder and in there I have created a sub folder called incs
 
In the main RTE folder I have put my application file.  I design my forms in HTML and use ASP includes to pull them in based on functions/case select arguments
 
so Basically
 
i get I call an include (with a form)
and then within that I have an include to the RTE
 
when I turn on Debugging I get a javascript error here
 
    var textArea = document.getElementById(textAreaName);
-> var textAreaWidth = parseInt(textArea.offsetWidth);
    var textAreaHeight = parseInt(textArea.offsetHeight);
 
now in order to get round similar problems and the fact that RTE likes to live in its own folder and nowhere else I have previosuly copied another version into the includes folder and nothing!
 
this leaves me to assume that the problem is with my page and not with the rte
 
I have use another editor before hand and basically I had to put a prompt pause in the jscript to allow the page to load before the javascript kicked in.
 
Anythoughts or suggestions
 
 
 
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: 20 September 2005 at 6:11am
Looks to me the line above the error line:-

var textArea = document.getElementById(textAreaName);

Isn't getting details of the textarea passed to it.

Try making sure that the include file has the name of the textarea entred correctly and if this fails try changing the name of the textarea
Back to Top
stuey View Drop Down
Newbie
Newbie
Avatar

Joined: 28 July 2004
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuey Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2005 at 3:25am
too late I am afraid, I have migrated ( temporarily ) to the whizzywig editor, its not as cool as yours but it worked in time for me to go live with the project.
 
I've used your editor in other projects without problems and will probably continue to do so:)
 
stuart
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.