<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<P>I'm a old fusion developer, if you ouldn't tell my the email address.&nbsp; I have</P>
<P>a Javascript that will call a cold fusion page so I can pass dynamic variables</P>
<P>to the path of the cfm page.&nbsp; However, I was just going to use the write doc</P>
<P>Javascript, but what I have requires the Javascript on their site to all a function.</P>
<P>I want it to be a straight reference to a .js file instead.</P>
<P>&nbsp;</P>
<P>Does anyone know of any scripts out there that would give me a base to start</P>
<P>from?</P>
<P>&nbsp;</P>
<P>Thanks.&nbsp;</P>
<P>&nbsp;</P>
<P>D<BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from Paul Novitski &lt;paul@juniperwebcraft.com&gt;: -------------- <BR><BR><BR>&gt; At 9/23/2006 11:51 AM, coldfusion.developer@att.net wrote: <BR>&gt; &gt;I'm a newbie to Javasript and was looking for an example of how to use <BR>&gt; &gt;JavaScript to share your HTML with other Web sites. So I would want <BR>&gt; &gt;to give them a link to a javascript on my web site that they would copy <BR>&gt; &gt;and paste on their web site. I don't want these users to be able to edit <BR>&gt; &gt;the ode that this scrit displays on this web site. Much like the the way <BR>&gt; &gt;that google's ad sense works. <BR>&gt; ... <BR>&gt; &gt;The other question is, I will be dynamically generating and passing <BR>&gt; &gt;parameters <BR>&gt; &gt;into this javacode that will be just for this user. <BR>&gt; <BR>&gt; <BR>&gt; From your description, it sounds to me as though Ja
 vaScri
pt by <BR>&gt; itself might not be the right choice, but instead a combination of <BR>&gt; JavaScript and a server-side scripting language such as PHP. <BR>&gt; <BR>&gt; You can't give JavaScript to someone but prevent them from editing <BR>&gt; it. You can go to a great deal of effort to obfuscate the script, <BR>&gt; but unobfuscating it is child's play and your time will be better <BR>&gt; spent on other aspects of your work. A server-side script, in <BR>&gt; contrast, can provide results to the user while remaining completely <BR>&gt; inaccessible to them as script. <BR>&gt; <BR>&gt; Using PHP, you can give someone a simple url such as <BR>&gt; http://example.com/clientcontent/?id=1123456890 which will resolve to <BR>&gt; anything you want -- an image, text, or HTML markup. An iframe or <BR>&gt; XMLHttpRequest on the client's website can then incorporate that <BR>&gt; content into their page. You might try googling XMLHttpRequest and <BR>&gt; Ajax to see JavaScript's role
  in su
ch a collaboration. <BR>&gt; <BR>&gt; Regards, <BR>&gt; Paul <BR>&gt; <BR>&gt; _______________________________________________ <BR>&gt; Javascript mailing list <BR>&gt; Javascript@LaTech.edu <BR>&gt; https://lists.LaTech.edu/mailman/listinfo/javascript </BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>