HTML-Menu-TreeView
view release on metacpan or search on metacpan
examples/Treenavi.pl view on Meta::CPAN
closedir(DIR);
for (@lines) {
print $style eq $1
? qq(<option value="$1" selected="selected">$1</option>)
: qq(<option value="$1">$1</option>)
if /^(\w+)$/;
}
print qq(</select></td><td valign="middle">$zoom</td></tr></table></form><br/>
<div align="center"><a href="http://validator.w3.org/check?uri=referer" target="_parent"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" border="0"/></a><br/><a href="http://jigsaw.w3.org/css...
end_html;
sub openTree {
my @TREEVIEW;
system(
"pod2html --noindex --title=Treeview.pm --infile=lib/HTML/Menu/TreeView.pm --outfile=$htpath/html-menu-treeview.html"
);
use Fcntl qw(:flock);
use Symbol;
examples/html/html-menu-treeview.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML-Menu-TreeView</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:feedback@suse.de" />
</head>
<body style="background-color: white">
<p><a name="__index__"></a></p>
examples/module2treeview.pl view on Meta::CPAN
}
documentRoot($htdocs);
Style($style);
size(48);
sortTree(1);
folderFirst(1);
my $css = css();
my $tree = Tree(\@modules);
open OUT, ">$outpath/index.html" or warn "$!";
print OUT qq(<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Perldoc Navigation</title>
<meta name="description" content="module2treeview"/>
<meta name="author" content="Dirk Lindner"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="robots" content="index"/>
<meta name="revisit-after" content="30 days"/>
<link href="$pre/style/$style/48/html-menu-treeview/$style.css" rel="stylesheet" type="text/css"/>
<script language="JavaScript1.5" type="text/javascript" src="$pre/style/treeview.js"></script>
examples/module2treeview.pl view on Meta::CPAN
}
documentRoot($htdocs);
Style($style);
size($size);
my $nsrc = "$outpath/$ddir/$module" . 'navi.html';
my $nnsrc = "$ddir/$module" . 'navi.html';
open OUT, ">$nsrc" or warn "$!";
prefix($pre) if defined $pre;
my $tree = Tree(\@t);
print OUT qq(<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>$module2html</title>
<meta name="description" content="$module2html"/>
<meta name="author" content="Dirk Lindner"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="robots" content="index"/>
<meta name="revisit-after" content="30 days"/>
<link href="$pre/style/$style/$size/html-menu-treeview/$style.css" rel="stylesheet" type="text/css"/>
<script language="JavaScript1.5" type="text/javascript" src="$pre/style/treeview.js"></script>
( run in 1.655 second using v1.01-cache-2.11-cpan-49f99fa48dc )