blob: 7746850f3ac297df41285ab4c90fe1277bc72ea7 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
Copyright (c) 2005, 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
IBM Corporation - initial implementation
<xsl:stylesheet version="1.0" xmlns:xsl="" xmlns:fo="">
<xsl:param name="whereAmIText"/>
<xsl:param name="treeSetsText"/>
<xsl:template match="Bookmarks">
<style type="text/css">
body {
background-color: #ffffff;
font-family: arial, helvetica, sans-serif;
font-size: 10pt;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
text-decoration: none;
} {
} {
cursor : hand;
font-size: 8pt;
color: #ffffff;
padding-right: 0.5em;
border-right: 2px solid #ffffff;
} img {
vertical-align: middle;
} {
padding-top: 1px;
padding-bottom: 1px;
}, span.selectedTab {
cursor: pointer;
font-size: 10pt;
line-height: 1.4em;
} {
border-top: 1px solid #666666;
border-right: 1px solid #666666;
border-left: 1px solid #666666;
span.selectedTab {
border-top: 1px solid #a0a0a0;
border-right: 1px solid #a0a0a0;
border-left: 1px solid #a0a0a0;
td.tree {
border-top: 1px solid #999999;
<script type="text/javascript" src="bookmarkviews.js">
function checkKey(e, func) {
if (window.event) {
key = window.event.keyCode;
target = window.event.srcElement;
} else if (e) {
key = e.which;
target =;
if (key==13 || key==32) {
<body marginheight="0" marginwidth="0" onload="init();">
<table cellspacing="1px" cellpadding="0px" border="0" height="100%" width="100%">
<!-- add the tab menus -->
<td class="menu">
<span class="menu" tabindex="1" onclick="whereAmI();" onkeypress="checkKey(event, whereAmI);">
<img alt="" src="images/ni_where.gif"/>
<xsl:value-of select="$whereAmIText"/>
<span class="menu" tabindex="1" onclick="togViews();" onkeypress="checkKey(event, togViews);">
<img alt="" src="images/action_unhide.gif"/>
<xsl:value-of select="$treeSetsText"/>
<!-- load the tabs -->
<td class="tab">
<xsl:for-each select="Bookmark">
<xsl:variable name="pos">
<xsl:value-of select="position()-1"/>
<span class="tab" id="tab{$pos}" tabindex="1" onkeypress="checkKey(event, displayTree);" onclick="displayTree(this);">
<xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
<xsl:attribute name="isDefaultView"><xsl:value-of select="@default"/></xsl:attribute>&#160;<xsl:value-of select="@tabName"/>&#160;</span>
<!-- placeholder for the content tree -->
<tr height="100%">
<td class="tree">
<iframe name="ory_toc" title="" style="visibility:visible" tabindex="1" frameborder="no" width="100%" height="100%" scrolling="auto"/>