genau das document, bei dem unter XAMPP der fehler auftritt:
der eingebettete text klappt nicht auf
sieht man hier mit einem klick. [ ein klick auf die hellgruene zeile oeffnet den eingebetteten text , zweiter klick zum schliessen ]
http://www.treedoc.org
und das ist auch gleichzeitig die beschreibung wie treedoc funzt.
- Code: Select all
// the the javascript stuff
// is for both NS and MSIE javascript, to keep track of scroll locations, but only
// applies if javascript is enabled
if ( !$GLOBALS[ "noJS"]){
echo "<form name=\"scrollForm\" action=\"$mySelf\" method=\"get\">\n";
echo "<input name=\"scrollTarg\" type=\"hidden\" value=\"-1\">\n";
echo "<input name=\"s\" type=\"hidden\" value=\"\">\n";
echo "<input name=\"c\" type=\"hidden\" value=\"\">\n";
echo "<input name=\"noJS\" type=\"hidden\" value=\"\">\n";
// the <noscript> part below gives non-JS users a chance to use the old anchor-based
// almost-scrolling by creating the form variable noJS, which is then passed page-to-page
echo "<NOSCRIPT><font color='red'>\n";
echo "ATTENTION: Your browser seems not to use Javascript...so if the links below don't
work, try clicking this button: \n";
echo " <input type=\"hidden\" name=\"noJS\" value=\"1\">\n";
echo " <input type=\"submit\" value=\"Try w/o Javascript\"><br>\n";
echo " (Unfortunately, you may also miss out on link-highlighting,
the most potent visual trick of TreeDoc. Sorry...I don't understand
why, so I can't fix it.)<br>\n";
echo "</font></NOSCRIPT>\n";
echo " </form>\n";
}
echo "<script language=\"javascript\" >\n";
// scrollTarget is the place to scroll back to (where the page was upon clicking)
echo "var scrollTarget = -1;\n";
This page reminds you how to use the TreeDoc functions. For full explanations, see the folder pages on the grey folder-tabs above; for full examples, look at the TreeDoc documentation page source. To view this page separately, hit the "+" link at the very bottom.
inlink( LINK TEXT/SRC, EXPANDED TEXT/SRC, [optional: pagelink, astext, start=open])
For example,
<? inlink( "my link tab", "Some text which will appear in-place") ?>
<? inlink( "myIcon.gif", "fancyPage.php", "pagelink") ?>
tabRow( LINK_ARRAY, [optional: nobar, narrow, pagelink, astext, start=open])
For example,
$linkArray2 = array( "A real link" => "This one works, right?",
"text w/o link" => "",
"Another real link" => "Yup, this works too." );
tabRow( $linkArray2, "nobar start=open2" ); ?>
headWrapper( TITLE, [optional: META DESCRIPTION], [optional: META KEYWORDS])
For example
headWrapper( "TreeDoc Documenation",
"TreeDoc is a method for making HTML tree-control documents",
"HTML, PHP, tree, HCI, GUI, UI, graphical, interface, hypertext," );
or
headWrapper( "TreeDoc Documenation",
"TreeDoc is a method for making HTML tree-control documents" );
or
headWrapper( "TreeDoc Documenation" );
footWrapper()
For example
footWrapper();
setBG( FONTDEPTH )
For example
setBG( 1 );
will let a page hit directly have the same background color as the same page hit as a top-level inlink (i.e. depth = 1). Use this function before headWrapper().