2019-11-22 17:57:53 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2019-11-22 19:23:59 +00:00
|
|
|
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/head.js"></script>
|
2019-11-22 17:57:53 +00:00
|
|
|
<meta name="google-signin-client_id" content="758810519655-gh6tgimuegfmc3op76vupr4kqnqc7uds.apps.googleusercontent.com">
|
|
|
|
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
2019-11-22 19:23:59 +00:00
|
|
|
<script type="text/javascript" src="/old-sites/c2015/login/signIn.js"></script>
|
2019-11-22 17:57:53 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-11-22 19:23:59 +00:00
|
|
|
<script type="text/javascript" src="/old-sites/c2015/depPage/setup/header.js"></script>
|
2019-11-22 17:57:53 +00:00
|
|
|
<div class="desc">/ My Projects / Web Development / JSURL</div>
|
|
|
|
<div class="content">
|
|
|
|
<h2>Retrive Variables from URLs</h2>
|
|
|
|
<p>
|
|
|
|
This library for JavaScript will, upon being loaded, scan the URL for variables in the following format: <br/><br/>
|
|
|
|
|
|
|
|
http://www.example.com/index.html<b>?foo=bar</b>&<b>id=123</b>
|
|
|
|
<br/><br/>
|
|
|
|
And will define them in the same section of the document as they were called (eg, call the script in the head, the variables load there.
|
|
|
|
The Variables are each in their own respective script tags directly in the HTML code to allow for universal use.
|
|
|
|
</p>
|
|
|
|
<h4>To use, simply call the following file:</h4>
|
|
|
|
<p>
|
2019-11-22 19:23:59 +00:00
|
|
|
<a href="/old-sites/c2015/lib/jsurl/getvars.js">http://lib.glmills.gq/jsurl/gervars.js</a>
|
2019-11-22 17:57:53 +00:00
|
|
|
</p>
|
|
|
|
<h4>Or to test the mechanic, visit:</h4>
|
2019-11-22 19:23:59 +00:00
|
|
|
<a href="/old-sites/c2015/lib/jsurl/">http://lib.glmills.gq/jsurl/</a>
|
2019-11-22 17:57:53 +00:00
|
|
|
</div>
|
|
|
|
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
|
|
|
</body>
|
|
|
|
</html>
|