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