Index Next Topic Previous Topic
3.3 Additional sitemap customization
After a sitemap has been generated by the sitemap generation wizard, you can edit it
using your favorite HTML editor.
Plain HTML sitemap
Edit the HTML sitemap directory using your HTML editor.
Java applet sitemap
Typically, the only file you need to edit is
the file "sitemap.html" under the saved
sitemap directory.
- The applet is shown in the left Frame
- In this case, the main sitemap file, "sitemap.html" contains two frames. The
HTML file for the left frame is "sitemap_panel.html". That is where the
applet is embedded. The right frame displays the content when a link in the applet is
followed. The initial URL for the right frame can be customized by customizing the "Target frame init url"
property.
- You can edit "sitemap.html" to adjust frame properties and edit
"sitemap_panel.html" to add more contents or graphics.
- In this case, the main sitemap file, "sitemap.html" contains two frames, a
hidden frame ("hiddenframe.html") which spawns a new browser window using
JavaScript and a visible frame which occupies the main browser window. The source for the
new browser window is "sitemap_panel.html". That is where the applet is
embedded. The visible frame in the main browser window displays the content when a link in
the applet is followed. The The initial URL can be customized by customizing the "Target frame init url"
property.
- You can edit "sitemap_panel.html" to add more contents or graphics.
- The following is the sample source for "hiddenframe.html". Change the
height and width parameter to change the size of the spawned new window.
<html>
<head>
<title> Hidden frame </title>
<script language="JavaScript">
<!--
newWindow = window.open("sitemap_panel.html", "MagicMapperControl",
"height=365,width=190")
// -->
</script>
</head>
<body>
</body>
</html>