<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>SDAC Inc &#124; Chicagoland Web Development &#187; SDAC Blog</title> <atom:link href="http://www.sandboxdev.com/tag/blog/feed/" rel="self" type="application/rss+xml" /><link>http://www.sandboxdev.com</link> <description>Just another Sandbox Development and Consulting Inc. Sites site</description> <lastBuildDate>Wed, 25 Jan 2012 07:57:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Terms of Use Javascript</title><link>http://www.sandboxdev.com/2007/01/31/terms-of-use-javascript/</link> <comments>http://www.sandboxdev.com/2007/01/31/terms-of-use-javascript/#comments</comments> <pubDate>Wed, 31 Jan 2007 23:37:55 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[SDAC Blog]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/blog/2007/01/31/terms-of-use-javascript.php</guid> <description><![CDATA[Need: A script that a client could easily call within a URL to force the users to agree to their terms of use before downloading a file. Solution:Either put the following code in the header, or in a .js file to include: Then, call this code in your HTML code by using:]]></description> <content:encoded><![CDATA[<p><strong>Need:</strong> A script that a client could easily call within a URL to force the users to agree to their terms of use before downloading a file.<br
/> <br
/> <strong>Solution:</strong>Either put the following code in the header, or in a .js file to include:<br
/> <code><pre class="brush: jscript; title: Custom Code; notranslate">
function terms(){
	question = confirm(&quot;Terms of Use text here&quot;)
 if (question !=&quot;0&quot;){
		document.URL()
	}
  }
</pre><p></code></p><p>Then, call this code in your HTML code by using:<br
/> <code><pre class="brush: xml; title: Custom Code; notranslate">
&lt;a href=&quot;http://www.sandboxdev.com&quot; /&gt;Download Link&lt;/a&gt;
</pre><p></code></p> <script type="text/javascript">sdac_post_slideshows.push({fx: 'fade', timeout: 0, speed: 1000, pause: 0,})</script>]]></content:encoded> <wfw:commentRss>http://www.sandboxdev.com/2007/01/31/terms-of-use-javascript/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
