-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathframes.html
More file actions
28 lines (28 loc) · 1008 Bytes
/
frames.html
File metadata and controls
28 lines (28 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>MapServer - Itasca Application</title>
<script language="javascript">
function load_map_frame() {
var program;
var query = location.search.substring(1);
var pairs = query.split("&");
for(var i = 0; i < pairs.length; i++) {
var pos = pairs[i].indexOf('=');
if (pos == -1) continue;
var name = pairs[i].substring(0,pos);
if(name == 'program') {
program = pairs[i].substring(pos+1);
program = unescape(program.replace(/\+/g, " "));
break;
}
}
parent.map_frame.location.href = program + "?" + query;
}
</script>
</head>
<frameset rows="*,100" frameborder="0" border="0" onLoad="load_map_frame()">
<frame src="blank.html" name="map_frame" marginwidth="5" marginheight="5" scrolling="YES">
<frame src="blank.html" name="query_frame" marginwidth="5" marginheight="5" scrolling="YES">
</frameset>
</html>