• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to include javascripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to include javascripts


  • Subject: How to include javascripts
  • From: "Sigurður E. Vilhelmsson" <email@hidden>
  • Date: Thu, 9 Aug 2007 14:19:11 +0000

Hi all,

How does one go about including a javascript in a page?  Specifically,
I am trying to incorporate TinyMCE (or FCKEditor) in a form.

I have the following in my html:

<script language="_javascript_" type="text/_javascript_"
src="/jscripts/tiny_mce/tiny_mce.js"></script>
	<script language="_javascript_" type="text/_javascript_">
			tinyMCE.init({
			mode : "textareas"
			});
	</script>
<webobject name="Form">
Stutt lýsing: <webobject name = "ShortDescription"></webobject>

and the follwing in my wod:

ShortDescription: WOText {
	id = "myTextArea";
	name = "myTextArea";
	value = courseDescription.shortDescription;
	cols = 70;
	rows = 10;
	mce_editable = "true";
}

The questions I have are the following:
With the above src reference, where exactly in my filesystem do I
place the jscripts folder ?

Do I import the jscripts folder into my project or is the reference to
it enough?

Will the editor work in DirectConnect mode, or only after I deploy?

Any other hints, tips or links to documentation appreciated.

Best regards,
Sigurdur
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to include javascripts
      • From: "Daniele Corti" <email@hidden>
  • Prev by Date: Re: WOFileUpload + Safari 3 Beta
  • Next by Date: Re: Flex integration with WO
  • Previous by thread: Re: Flex integration with WO
  • Next by thread: Re: How to include javascripts
  • Index(es):
    • Date
    • Thread