sass-site/yard/default/fulldoc/html/frames.erb

27 lines
958 B
Plaintext
Raw Normal View History

2018-03-09 22:28:44 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>"/>
<title><%= options.title %></title>
</head>
<script type="text/javascript" charset="utf-8">
window.onload = function() {
var match = unescape(window.location.hash).match(/^#!(.+)/);
var name = match ? match[1] : '<%= url_for_main %>';
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
document.writeln('<frameset cols="20%,*">' +
'<frame name="list" src="<%= url_for_list('class') %>" />' +
'<frame name="main" src="' + escape(name) + '" />' +
'</frameset>');
}
</script>
<noscript>
<frameset cols="20%,*">
<frame name="list" src="<%= url_for_list('class') %>" />
<frame name="main" src="<%= url_for_main %>" />
</frameset>
</noscript>
</html>