/[suikacvs]/webroot/www/url/urlresolution.en.html
Suika

Diff of /webroot/www/url/urlresolution.en.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sat Jul 5 14:00:29 2008 UTC revision 1.2 by wakaba, Sat Jul 5 14:13:35 2008 UTC
# Line 68  var { Line 68  var {
68      var output = document.getElementsByTagName ('output')[0];      var output = document.getElementsByTagName ('output')[0];
69      output.innerHTML = '';      output.innerHTML = '';
70      if (typeof (resultURL) == 'undefined') {      if (typeof (resultURL) == 'undefined') {
71        output.innerHTML = '(undefined)';        output.innerHTML = '(<code>undefined</code>)';
72      } else if (resultURL === null) {      } else if (resultURL === null) {
73        output.innerHTML = '(null)';        output.innerHTML = '(<code>null</code>)';
74      } else if (resultURL === '') {      } else if (resultURL === '') {
75        output.innerHTML = '(empty string - URL resolution failed?)';        output.innerHTML = '(empty string - URL resolution failed?)';
76      } else {      } else {
# Line 100  var { Line 100  var {
100    
101  <dl>  <dl>
102  <dt><label for=resolved-url>Resolved URL</label>:  <dt><label for=resolved-url>Resolved URL</label>:
103    <dd><textarea id=resolved-url oninput="update()" onkeypress="update()"></textarea>    <dd><textarea id=resolved-url oninput="update()" onchange="update()" onkeypress="update()"></textarea>
104  <dt><label for=base-url>Base URL</label>:  <dt><label for=base-url>Base URL</label>:
105    <dd><textarea id=base-url oninput="update()" onkeypress="update()"></textarea>    <dd><textarea id=base-url oninput="update()" onchange="update()" onkeypress="update()"></textarea>
106  </dl>  </dl>
107  <hr>  <hr>
108  <dl>  <dl>
109  <dt>Result (Using <code>HTMLAnchorElement.href</code>):  <dt>Result (Using <code>base href</code> and
110    <code>HTMLAnchorElement.href</code>):
111    <dd><output></output>    <dd><output></output>
112  </dl>  </dl>
113    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24