File: _function.html

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (20 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
 <title>Function Redirect</title>
 <script language="JavaScript" type="text/javascript">
     function loadPage()
     {
         if (location.hash.length > 0) {
             funcname = location.hash.substr(1);
             funcpage = "function." + funcname.replace(/_/g, "-") + ".html";
             path = location.href.substring(0, location.href.lastIndexOf("/"));
             location.replace(path + '/' + funcpage);
         }
     }
 </script>
</head>
<body onload="loadPage();">
</body>
</html>