Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Including WW RTE from inside script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedIncluding WW RTE from inside script

 Post Reply Post Reply Page  <12
Author
hakonf View Drop Down
Newbie
Newbie


Joined: 18 October 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote hakonf Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2009 at 3:42pm
Shorthands appreciated; I may be confusing the issue. The position where I want to #include is in the middle of a Subroutine which is defined in a file, let us call the file i.asp. Th file i.asp has a structure like this:
 
<script runat=Server>
Sub xxx
...
</script>
<-- #include file=... -->
<script>
...
End Sub
Sub xyz
...
End Sub
</script>
 
If I insert the two tags in red, I cannot create the necessary connection between the upper and lower parts of the code, except perhaps by splitting the Sub in two and arranging for some sort of transfer of parameters between them.
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 October 2009 at 3:54pm
All I can say is to try rewriting your code not to use the sub and use some other method instead.
Back to Top
kimboy View Drop Down
Newbie
Newbie


Joined: 15 July 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote kimboy Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 10:16am
Thanks very much indeed, that was very useful. This command puts the menu in the right position, without error messages.
 
The effect is limited: Some buttons open dialog boxes, but drop-down lists do not drop down, and I cannot achieve any formatting effects in the textarea box. Furthermore, the format of the tools is a bit off: buttons are taller that the toolbar on which they reside; hence four rows of buttons need five bars. If there are obvious reasons for this I would be glad to learn about them; if not, I will engage in some more debugging before returning to the group for some more advice.
Back to Top
 Post Reply Post Reply Page  <12

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.